diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-06-13 18:12:53 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2022-06-14 00:15:04 +0100 |
commit | 6012d96379873825ab20d629b828e833023feb9d (patch) | |
tree | 1ad07841b9a5cce56e69bd114c658e5ebdd2d315 /tests/tcg/i386/test-i386.c | |
parent | b2df786170a4954d6346c284b8351ca79265d190 (diff) |
tests/tcg/i386: Use explicit suffix on fist insns
Fixes a number of assembler warnings of the form:
test-i386.c: Assembler messages:
test-i386.c:869: Warning: no instruction mnemonic suffix given
and no register operands; using default for `fist'
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220527171143.168276-1-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220613171258.1905715-3-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/i386/test-i386.c')
-rw-r--r-- | tests/tcg/i386/test-i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/i386/test-i386.c b/tests/tcg/i386/test-i386.c index 18d5609665..ac8d5a3c1f 100644 --- a/tests/tcg/i386/test-i386.c +++ b/tests/tcg/i386/test-i386.c @@ -866,7 +866,7 @@ void test_fcvt(double a) uint16_t val16; val16 = (fpuc & ~0x0c00) | (i << 10); asm volatile ("fldcw %0" : : "m" (val16)); - 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)); |