Revert "Fix missing clobbered registers (Issue 124)". This will be the last attempt to get the attribution correct.
This reverts commit 4c1d629284.
pull/136/head
parent
4c1d629284
commit
0f4b86c62a
12
rdrand.cpp
12
rdrand.cpp
|
|
@ -253,11 +253,7 @@ static int GCC_RRA_GenerateBlock(byte *output, size_t size, unsigned int safety)
|
||||||
"setc %1; "
|
"setc %1; "
|
||||||
: "=a" (val), "=qm" (rc)
|
: "=a" (val), "=qm" (rc)
|
||||||
:
|
:
|
||||||
#if CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32
|
: "cc"
|
||||||
: "rax", "cc"
|
|
||||||
#else
|
|
||||||
: "eax", "cc"
|
|
||||||
#endif
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (rc)
|
if (rc)
|
||||||
|
|
@ -438,11 +434,7 @@ static int GCC_RSA_GenerateBlock(byte *output, size_t size, unsigned int safety)
|
||||||
"setc %1; "
|
"setc %1; "
|
||||||
: "=a" (val), "=qm" (rc)
|
: "=a" (val), "=qm" (rc)
|
||||||
:
|
:
|
||||||
#if CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32
|
: "cc"
|
||||||
: "rax", "cc"
|
|
||||||
#else
|
|
||||||
: "eax", "cc"
|
|
||||||
#endif
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (rc)
|
if (rc)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue