diff options
Diffstat (limited to 'modules/sha_x86/asm_macr.h')
-rw-r--r-- | modules/sha_x86/asm_macr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/sha_x86/asm_macr.h b/modules/sha_x86/asm_macr.h index 92f9973a0..f72f61119 100644 --- a/modules/sha_x86/asm_macr.h +++ b/modules/sha_x86/asm_macr.h @@ -49,7 +49,8 @@ func_name: #define ADD_IMM(TO, NUM) addl IMM(NUM), TO #define ADD2_IMM(TO, FROM, NUM) leal NUM(FROM), TO -#define XOR(FROM, TO) xorl FROM, TO +#define XOR(TO, FROM) xorl FROM, TO + #define AND(FROM, TO) andl FROM, TO #define OR(FROM, TO) orl FROM, TO #define ZEROIZE(REG) XOR(REG, REG) |