Revert "Fix missing clobbered registers (Issue 124)"
The commit broke compilation on an Athlon x2 used for testing.
This reverts commit b0fb747182.
pull/136/head
parent
b0fb747182
commit
15973a1a01
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