diff options
Diffstat (limited to 'modules/mp_amd64')
-rw-r--r-- | modules/mp_amd64/mp_asm.h | 3 | ||||
-rw-r--r-- | modules/mp_amd64/mp_asmi.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/modules/mp_amd64/mp_asm.h b/modules/mp_amd64/mp_asm.h index cd5debfa9..b8f678bbb 100644 --- a/modules/mp_amd64/mp_asm.h +++ b/modules/mp_amd64/mp_asm.h @@ -95,9 +95,6 @@ inline void word3_muladd_2(word* w2, word* w1, word* w0, word x, word y) : "cc"); } -// fixme -#undef ASM - } } diff --git a/modules/mp_amd64/mp_asmi.h b/modules/mp_amd64/mp_asmi.h index daa1243ca..cb606cfe3 100644 --- a/modules/mp_amd64/mp_asmi.h +++ b/modules/mp_amd64/mp_asmi.h @@ -13,7 +13,9 @@ namespace Botan { /************************************************* * Helper Macros for amd64 Assembly * *************************************************/ -#define ASM(x) x "\n\t" +#ifndef ASM + #define ASM(x) x "\n\t" +#endif #define ADDSUB2_OP(OPERATION, INDEX) \ ASM("movq 8*" INDEX "(%[y]), %[carry]") \ |