diff options
author | jsg <> | 2014-10-28 07:35:59 +0000 |
---|---|---|
committer | jsg <> | 2014-10-28 07:35:59 +0000 |
commit | a0b4b08aa4811ef730e76a9ffc401a5293770f92 (patch) | |
tree | d82fff0ac0ba35d28951ab9d9e5225251c23ecda /src/lib/libcrypto/bn/asm/x86_64-gcc.c | |
parent | 41c028be1988ad160ef2fa6feca4441bb4bca17d (diff) | |
download | openbsd-a0b4b08aa4811ef730e76a9ffc401a5293770f92.tar.gz openbsd-a0b4b08aa4811ef730e76a9ffc401a5293770f92.tar.bz2 openbsd-a0b4b08aa4811ef730e76a9ffc401a5293770f92.zip |
deregister; no binary change
ok jsing@ miod@
Diffstat (limited to 'src/lib/libcrypto/bn/asm/x86_64-gcc.c')
-rw-r--r-- | src/lib/libcrypto/bn/asm/x86_64-gcc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bn/asm/x86_64-gcc.c b/src/lib/libcrypto/bn/asm/x86_64-gcc.c index 5c12063dcf..c9a2b6be73 100644 --- a/src/lib/libcrypto/bn/asm/x86_64-gcc.c +++ b/src/lib/libcrypto/bn/asm/x86_64-gcc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x86_64-gcc.c,v 1.3 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: x86_64-gcc.c,v 1.4 2014/10/28 07:35:58 jsg Exp $ */ |
2 | #include "../bn_lcl.h" | 2 | #include "../bn_lcl.h" |
3 | #if !(defined(__GNUC__) && __GNUC__>=2) | 3 | #if !(defined(__GNUC__) && __GNUC__>=2) |
4 | # include "../bn_asm.c" /* kind of dirty hack for Sun Studio */ | 4 | # include "../bn_asm.c" /* kind of dirty hack for Sun Studio */ |
@@ -68,7 +68,7 @@ | |||
68 | * want to keep the value of zero; | 68 | * want to keep the value of zero; |
69 | */ | 69 | */ |
70 | #define mul_add(r,a,word,carry) do { \ | 70 | #define mul_add(r,a,word,carry) do { \ |
71 | register BN_ULONG high,low; \ | 71 | BN_ULONG high,low; \ |
72 | asm ("mulq %3" \ | 72 | asm ("mulq %3" \ |
73 | : "=a"(low),"=d"(high) \ | 73 | : "=a"(low),"=d"(high) \ |
74 | : "a"(word),"m"(a) \ | 74 | : "a"(word),"m"(a) \ |
@@ -85,7 +85,7 @@ | |||
85 | } while (0) | 85 | } while (0) |
86 | 86 | ||
87 | #define mul(r,a,word,carry) do { \ | 87 | #define mul(r,a,word,carry) do { \ |
88 | register BN_ULONG high,low; \ | 88 | BN_ULONG high,low; \ |
89 | asm ("mulq %3" \ | 89 | asm ("mulq %3" \ |
90 | : "=a"(low),"=d"(high) \ | 90 | : "=a"(low),"=d"(high) \ |
91 | : "a"(word),"g"(a) \ | 91 | : "a"(word),"g"(a) \ |