summaryrefslogtreecommitdiff
path: root/safer.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-11-13 11:14:03 -0500
committerJeffrey Walton <noloader@gmail.com>2016-11-13 11:14:03 -0500
commit5be05bce076a2e0ef11f80a1d9b493fb8078f8bb (patch)
tree9a9d6f9fb3b981da3c658b2fe18564cef2e9da48 /safer.h
parent61aa62bd8f9ada6bcc3253e9eb49ed31a4a156db (diff)
downloadcryptopp-git-5be05bce076a2e0ef11f80a1d9b493fb8078f8bb.tar.gz
Add CC clobber to cpuid call
This should not be needed, but it does not hurt. According to Ian Lance Taylor (http://gcc.gnu.org/ml/gcc-help/2014-02/msg00023.html), the CC clobber causes GCC to forget its internal representation of flag state. It should not be needed for cpuid. However, Clang has some odd behave in a couple of versions of its compiler when using cpuid. Both JW and UB experienced it on separate occassions.
Diffstat (limited to 'safer.h')
0 files changed, 0 insertions, 0 deletions