mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Add "cc" clobber due to GCC 3.3 compile failure
This commit is contained in:
parent
be85db4de4
commit
8edc5cf2d5
2
cpu.cpp
2
cpu.cpp
@ -336,7 +336,7 @@ void DetectX86Features()
|
||||
(
|
||||
// "xgetbv" : "=a"(a), "=d"(d) : "c"(0) :
|
||||
".byte 0x0f, 0x01, 0xd0" "\n\t"
|
||||
: "=a"(a), "=d"(d) : "c"(0) :
|
||||
: "=a"(a), "=d"(d) : "c"(0) : "cc"
|
||||
);
|
||||
word64 xcr0 = a | static_cast<word64>(d) << 32;
|
||||
g_hasAVX = (xcr0 & YMM_FLAG) == YMM_FLAG;
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
#if (CRYPTOPP_AESNI_AVAILABLE)
|
||||
# include "adv_simd.h"
|
||||
# include <emmintrin.h>
|
||||
# include <tmmintrin.h>
|
||||
# include <wmmintrin.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user