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>
This commit is contained in:
parent
367a55c7d7
commit
79376ecdbd
3 changed files with 7 additions and 6 deletions
|
@ -78,7 +78,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) :"%eax","%edx","%cc");
|
||||
:"=rm"(c0), "=rm"(c1), "=rm"(c2): "0"(c0), "1"(c1), "2"(c2), "m"(i) :"%eax","%edx","%cc");
|
||||
//bbox: ^^^ replaced "=r" with "=rm": %ebx is not available on shared build
|
||||
|
||||
#define SQRADD2(i, j) \
|
||||
asm( \
|
||||
|
@ -90,7 +91,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
|
||||
|
||||
#define SQRADDSC(i, j) \
|
||||
asm( \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue