diff options
author | Denys Vlasenko | 2017-07-15 17:13:08 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-08-04 02:18:00 +0200 |
commit | 0a53eadea528673a813c5f9312b1f53130429f7c (patch) | |
tree | 73a5c51dfc36006f56c16282a29e0d062d89e9d0 /networking/tls_pstm_mul_comba.c | |
parent | 25f07f589844063307f488b2d07d27e3681285a5 (diff) | |
download | busybox-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.c | 3 |
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) |