]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Clang complains that "fist" is ambiguous (it's right, too); use
authorJulian Seward <jseward@acm.org>
Sat, 4 Aug 2012 23:10:23 +0000 (23:10 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 4 Aug 2012 23:10:23 +0000 (23:10 +0000)
"fists" instead.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12834

memcheck/tests/x86/more_x86_fp.c

index edbc7be4b3c4ff2b546fb4788b2e649623b640e8..e6727037402e078d0c93d6208a854f1616122a8f 100644 (file)
@@ -105,7 +105,7 @@ void test_fcvt(double a)
     for(i=0;i<4;i++) {
       int16_t tmp = (fpuc & ~0x0c00) | (i << 10);
         asm volatile ("fldcw %0" : : "m" (tmp));
-        asm volatile ("fist %0" : "=m" (wa) : "t" (a));
+        asm volatile ("fists %0" : "=m" (wa) : "t" (a));
         asm volatile ("fistl %0" : "=m" (ia) : "t" (a));
         asm volatile ("fistpll %0" : "=m" (lla) : "t" (a) : "st");
         asm volatile ("frndint ; fstl %0" : "=m" (ra) : "t" (a));