From c27310f938d34c8325434ba72d5e1e41afc665d5 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Wed, 21 Jan 2015 11:54:03 +0100 Subject: [PATCH] bn/asm/x86_64-gcc.cL make it indent-friendly. Reviewed-by: Tim Hudson --- crypto/bn/asm/x86_64-gcc.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/crypto/bn/asm/x86_64-gcc.c b/crypto/bn/asm/x86_64-gcc.c index 7f7e5c2f0a..4e3803f5b0 100644 --- a/crypto/bn/asm/x86_64-gcc.c +++ b/crypto/bn/asm/x86_64-gcc.c @@ -69,7 +69,7 @@ * "g"(0) let the compiler to decide where does it * want to keep the value of zero; */ -#define mul_add(r,a,word,carry) do { \ +# define mul_add(r,a,word,carry) do { \ register BN_ULONG high,low; \ asm ("mulq %3" \ : "=a"(low),"=d"(high) \ @@ -86,7 +86,7 @@ carry=high; \ } while (0) -#define mul(r,a,word,carry) do { \ +# define mul(r,a,word,carry) do { \ register BN_ULONG high,low; \ asm ("mulq %3" \ : "=a"(low),"=d"(high) \ @@ -98,8 +98,8 @@ : "cc"); \ (r)=carry, carry=high; \ } while (0) -#undef sqr -#define sqr(r0,r1,a) \ +# undef sqr +# define sqr(r0,r1,a) \ asm ("mulq %2" \ : "=a"(r0),"=d"(r1) \ : "a"(a) \ @@ -282,7 +282,7 @@ BN_ULONG bn_sub_words(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n) */ #if 0 /* original macros are kept for reference purposes */ -#define mul_add_c(a,b,c0,c1,c2) do { \ +# define mul_add_c(a,b,c0,c1,c2) do { \ BN_ULONG ta = (a), tb = (b); \ BN_ULONG lo, hi; \ BN_UMULT_LOHI(lo,hi,ta,tb); \ @@ -290,7 +290,7 @@ BN_ULONG bn_sub_words(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n) c1 += hi; c2 += (c1