aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sha_x86/asm_macr.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-08-13 09:11:07 +0000
committerlloyd <[email protected]>2006-08-13 09:11:07 +0000
commit0fe6a3c9b5729d64a08a5aba85d5256f43d5f7f1 (patch)
tree57428ae9107167547e2fba94998e80245b6bc658 /modules/sha_x86/asm_macr.h
parent31daef3b6e6f77f7773518791d91203f980b7c30 (diff)
Reverse the order of arguments to AND() and OR()
Diffstat (limited to 'modules/sha_x86/asm_macr.h')
-rw-r--r--modules/sha_x86/asm_macr.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/sha_x86/asm_macr.h b/modules/sha_x86/asm_macr.h
index f72f61119..02967c4e0 100644
--- a/modules/sha_x86/asm_macr.h
+++ b/modules/sha_x86/asm_macr.h
@@ -50,9 +50,8 @@ func_name:
#define ADD2_IMM(TO, FROM, NUM) leal NUM(FROM), TO
#define XOR(TO, FROM) xorl FROM, TO
-
-#define AND(FROM, TO) andl FROM, TO
-#define OR(FROM, TO) orl FROM, TO
+#define AND(TO, FROM) andl FROM, TO
+#define OR(TO, FROM) orl FROM, TO
#define ZEROIZE(REG) XOR(REG, REG)
#define ROTL_IMM(REG, NUM) roll IMM(NUM), REG