This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]