# HG changeset patch # User Matt Johnston # Date 1322666121 -28800 # Node ID 939cd3e22c874c292ee691961537b39d15682cf8 # Parent f10335e5e42fad11e068169d63539541a95eb19c - Fix constraints so we don't get warned about uninitialised variable (it isn't used as input by the asm) diff -r f10335e5e42f -r 939cd3e22c87 tomsfastmath/src/sqr/fp_sqr_comba.c --- a/tomsfastmath/src/sqr/fp_sqr_comba.c Wed Nov 30 23:03:47 2011 +0800 +++ b/tomsfastmath/src/sqr/fp_sqr_comba.c Wed Nov 30 23:15:21 2011 +0800 @@ -135,12 +135,12 @@ #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( \