diff options
author | Matt Johnston <matt@ucc.asn.au> | 2011-11-30 23:15:21 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2011-11-30 23:15:21 +0800 |
commit | 3b80abd0e340015394d2d8ed63aa68e45b98ce09 (patch) | |
tree | 8b74a11307b35d1663294811ff20e734c24a3c57 | |
parent | fa4450bee6fd8e613aa7cfc62214f4373205d422 (diff) | |
download | dropbear-tfm.tar.gz |
- Fix constraints so we don't get warned about uninitialiseddropbear-tfm
variable (it isn't used as input by the asm)
-rw-r--r-- | tomsfastmath/src/sqr/fp_sqr_comba.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tomsfastmath/src/sqr/fp_sqr_comba.c b/tomsfastmath/src/sqr/fp_sqr_comba.c index 0c79f62..b4dc2fb 100644 --- a/tomsfastmath/src/sqr/fp_sqr_comba.c +++ b/tomsfastmath/src/sqr/fp_sqr_comba.c @@ -135,12 +135,12 @@ asm( \ #define SQRADDSC(i, j) \ asm( \ - "movq %6,%%rax \n\t" \ - "mulq %7 \n\t" \ + "movq %3,%%rax \n\t" \ + "mulq %4 \n\t" \ "movq %%rax,%0 \n\t" \ "movq %%rdx,%1 \n\t" \ "xorq %2,%2 \n\t" \ - :"=r"(sc0), "=r"(sc1), "=r"(sc2): "0"(sc0), "1"(sc1), "2"(sc2), "g"(i), "g"(j) :"%rax","%rdx","%cc"); + :"=r"(sc0), "=r"(sc1), "=r"(sc2): "g"(i), "g"(j) :"%rax","%rdx","%cc"); #define SQRADDAC(i, j) \ asm( \ |