This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Why isn't 'w' suffix allowed on FP instructions with 16bit integer operand?
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Fri, 27 Oct 2006 16:06:40 -0700
- Subject: Why isn't 'w' suffix allowed on FP instructions with 16bit integer operand?
See
http://sources.redhat.com/bugzilla/show_bug.cgi?id=3431
[hjl@gnu-13 intel-1]$ cat bar.s
ficomw (%esp)
ficompw (%esp)
fildw (%esp)
fistw (%esp)
fistpw (%esp)
fisttpw (%esp)
[hjl@gnu-13 intel-1]$ gcc -c bar.s
bar.s: Assembler messages:
bar.s:1: Error: suffix or operands invalid for `ficom'
bar.s:2: Error: suffix or operands invalid for `ficomp'
bar.s:3: Error: suffix or operands invalid for `fild'
bar.s:4: Error: suffix or operands invalid for `fist'
bar.s:5: Error: suffix or operands invalid for `fistp'
bar.s:6: Error: suffix or operands invalid for `fisttp'
We allow 's' instead of 'w'. Should we also allow 'w'?
H.J.