https://sourceware.org/bugzilla/show_bug.cgi?id=27106
Bug ID: 27106
Summary: fistw not supported
Product: binutils
Version: 2.35.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: stsp at users dot sourceforge.net
Target Milestone: ---
#include <stdint.h>
int main()
{
int16_t w;
asm volatile("fist %0\n" : "=m"(w));
return 0;
}
fist.c: Assembler messages:
fist.c:6: Warning: no instruction mnemonic suffix given and no register
operands; using default for `fist'
And if you change to "fistw" then:
fist.c: Assembler messages:
fist.c:6: Error: invalid instruction suffix for `fist'
According to this:
https://www.felixcloutier.com/x86/fist:fistp
the 16bit variant should work.
"fistl" works fine.
--
You are receiving this mail because:
You are on the CC list for the bug.