mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-01-19 15:53:27 +00:00
FIX GCC ASM template
is the constant 2. %2 is the second positional argument, which is the XSTORE divisor. We want the later.
This commit is contained in:
parent
61c8b74951
commit
8c47095a57
@ -33,7 +33,7 @@ void PadlockRNG::GenerateBlock(byte *output, size_t size)
|
||||
__asm__ __volatile__
|
||||
(
|
||||
"movl %1, %%edi ;\n"
|
||||
"movl $2, %%edx ;\n"
|
||||
"movl %2, %%edx ;\n"
|
||||
".byte 0x0f, 0xa7, 0xc0 ;\n"
|
||||
"movl %%eax, %0 ;\n"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user