Add volatile qualifications to two blocks of inline asm to stop GCC from
authorAdam Langley <agl@chromium.org>
Mon, 3 Jun 2013 19:45:11 +0000 (15:45 -0400)
committerBen Laurie <ben@links.org>
Tue, 4 Jun 2013 17:46:25 +0000 (18:46 +0100)
commit7753a3a68431aa81b82beea4c3f5374b41454679
tree667db0b495304e6e4040bd816afd81612228150a
parent5dcd2deb3e8349f5f35628b2fcc6b815644e0791
Add volatile qualifications to two blocks of inline asm to stop GCC from
eliminating them as dead code.

Both volatile and "memory" are used because of some concern that the compiler
may still cache values across the asm block without it, and because this was
such a painful debugging session that I wanted to ensure that it's never
repeated.
crypto/bn/asm/x86_64-gcc.c