diff options
author | wtc%google.com <devnull@localhost> | 2011-07-20 01:33:55 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2011-07-20 01:33:55 +0000 |
commit | 0d3e773fef9c5efa7867741c7a5a9755884ac2c6 (patch) | |
tree | 72fa0867f3b319cb6de2be512b54b33b588c4cfa /security/nss/lib/freebl | |
parent | 7de33e84cc48bc55fffe4eda19a73fd1414b7d6a (diff) | |
download | nss-hg-0d3e773fef9c5efa7867741c7a5a9755884ac2c6.tar.gz |
Bug 671711: don't prefix "cc" (condition code registers) with %. clang
disallows it; gcc considers it optional. The patch is contributed by
Rafael ?vila de Esp?ndola <respindola@mozilla.com>. r=wtc.
Diffstat (limited to 'security/nss/lib/freebl')
-rw-r--r-- | security/nss/lib/freebl/mpi/mp_comba.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/security/nss/lib/freebl/mpi/mp_comba.c b/security/nss/lib/freebl/mpi/mp_comba.c index af87c6045..f12f454a1 100644 --- a/security/nss/lib/freebl/mpi/mp_comba.c +++ b/security/nss/lib/freebl/mpi/mp_comba.c @@ -49,7 +49,7 @@ __asm__ ( \ "addq %%rax,%0 \n\t" \ "adcq %%rdx,%1 \n\t" \ "adcq $0,%2 \n\t" \ - :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "g"(i), "g"(j) :"%rax","%rdx","%cc"); + :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "g"(i), "g"(j) :"%rax","%rdx","cc"); @@ -76,7 +76,7 @@ __asm__ ( \ "addq %%rax,%0 \n\t" \ "adcq %%rdx,%1 \n\t" \ "adcq $0,%2 \n\t" \ - :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "g"(i) :"%rax","%rdx","%cc"); + :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "g"(i) :"%rax","%rdx","cc"); #define SQRADD2(i, j) \ __asm__ ( \ @@ -88,7 +88,7 @@ __asm__ ( \ "addq %%rax,%0 \n\t" \ "adcq %%rdx,%1 \n\t" \ "adcq $0,%2 \n\t" \ - :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "g"(i), "g"(j) :"%rax","%rdx","%cc"); + :"=r"(c0), "=r"(c1), "=r"(c2): "0"(c0), "1"(c1), "2"(c2), "g"(i), "g"(j) :"%rax","%rdx","cc"); #define SQRADDSC(i, j) \ __asm__ ( \ @@ -97,7 +97,7 @@ __asm__ ( \ "movq %%rax,%0 \n\t" \ "movq %%rdx,%1 \n\t" \ "xorq %2,%2 \n\t" \ - :"=r"(sc0), "=r"(sc1), "=r"(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__ ( \ @@ -106,7 +106,7 @@ __asm__ ( \ "addq %%rax,%0 \n\t" \ "adcq %%rdx,%1 \n\t" \ "adcq $0,%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): "0"(sc0), "1"(sc1), "2"(sc2), "g"(i), "g"(j) :"%rax","%rdx","cc"); #define SQRADDDB \ __asm__ ( \ @@ -116,7 +116,7 @@ __asm__ ( \ "addq %6,%0 \n\t" \ "adcq %7,%1 \n\t" \ "adcq %8,%2 \n\t" \ - :"=&r"(c0), "=&r"(c1), "=&r"(c2) : "0"(c0), "1"(c1), "2"(c2), "r"(sc0), "r"(sc1), "r"(sc2) : "%cc"); + :"=&r"(c0), "=&r"(c1), "=&r"(c2) : "0"(c0), "1"(c1), "2"(c2), "r"(sc0), "r"(sc1), "r"(sc2) : "cc"); |