summaryrefslogtreecommitdiff
path: root/networking/tls_pstm_mul_comba.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-15 17:13:08 +0200
committerDenys Vlasenko2017-08-04 02:18:00 +0200
commit0a53eadea528673a813c5f9312b1f53130429f7c (patch)
tree73a5c51dfc36006f56c16282a29e0d062d89e9d0 /networking/tls_pstm_mul_comba.c
parent25f07f589844063307f488b2d07d27e3681285a5 (diff)
downloadbusybox-0a53eadea528673a813c5f9312b1f53130429f7c.zip
busybox-0a53eadea528673a813c5f9312b1f53130429f7c.tar.gz
tls: fix pstm asm constraint problem
function old new delta pstm_sqr_comba 551 475 -76 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tls_pstm_mul_comba.c')
-rw-r--r--networking/tls_pstm_mul_comba.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/tls_pstm_mul_comba.c b/networking/tls_pstm_mul_comba.c
index 47cbb96..845ab95 100644
--- a/networking/tls_pstm_mul_comba.c
+++ b/networking/tls_pstm_mul_comba.c
@@ -85,7 +85,8 @@ asm( \
"addl %%eax,%0 \n\t" \
"adcl %%edx,%1 \n\t" \
"adcl $0,%2 \n\t" \
- :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "m"(i), "m"(j) :"%eax","%edx","%cc");
+ :"=rm"(c0), "=rm"(c1), "=rm"(c2): "0"(c0), "1"(c1), "2"(c2), "m"(i), "m"(j) :"%eax","%edx","%cc");
+ //bbox: ^^^ replaced "=r" with "=rm": %ebx is not available on shared build
/******************************************************************************/
#elif defined(PSTM_X86_64)