aboutsummaryrefslogtreecommitdiff
path: root/networking/tls_pstm_sqr_comba.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tls_pstm_sqr_comba.c')
-rw-r--r--networking/tls_pstm_sqr_comba.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/tls_pstm_sqr_comba.c b/networking/tls_pstm_sqr_comba.c
index 36cb9ea97..4fcfcf91a 100644
--- a/networking/tls_pstm_sqr_comba.c
+++ b/networking/tls_pstm_sqr_comba.c
@@ -78,7 +78,8 @@ asm( \
78 "addl %%eax,%0 \n\t" \ 78 "addl %%eax,%0 \n\t" \
79 "adcl %%edx,%1 \n\t" \ 79 "adcl %%edx,%1 \n\t" \
80 "adcl $0,%2 \n\t" \ 80 "adcl $0,%2 \n\t" \
81 :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "m"(i) :"%eax","%edx","%cc"); 81 :"=rm"(c0), "=rm"(c1), "=rm"(c2): "0"(c0), "1"(c1), "2"(c2), "m"(i) :"%eax","%edx","%cc");
82 //bbox: ^^^ replaced "=r" with "=rm": %ebx is not available on shared build
82 83
83#define SQRADD2(i, j) \ 84#define SQRADD2(i, j) \
84asm( \ 85asm( \
@@ -90,7 +91,8 @@ asm( \
90 "addl %%eax,%0 \n\t" \ 91 "addl %%eax,%0 \n\t" \
91 "adcl %%edx,%1 \n\t" \ 92 "adcl %%edx,%1 \n\t" \
92 "adcl $0,%2 \n\t" \ 93 "adcl $0,%2 \n\t" \
93 :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "m"(i), "m"(j) :"%eax","%edx","%cc"); 94 :"=rm"(c0), "=rm"(c1), "=rm"(c2): "0"(c0), "1"(c1), "2"(c2), "m"(i), "m"(j) :"%eax","%edx","%cc");
95 //bbox: ^^^ replaced "=r" with "=rm": %ebx is not available on shared build
94 96
95#define SQRADDSC(i, j) \ 97#define SQRADDSC(i, j) \
96asm( \ 98asm( \