llvm-6502/test/MC
Chris Lattner fb7000fcbd correct suffix matching to search for s/l/t suffixes on
floating point stack instructions instead of looking for b/w/l/q.

This fixes issues where we'd accidentally match fistp to fistpl,
when it is in fact an ambiguous instruction.

This changes the behavior of llvm-mc to reject fstp, which was the
correct fix for rdar://8456389:
t.s:1:1: error: ambiguous instructions require an explicit suffix (could be 'fstps', 'fstpl', or 'fstpt')
fstp	(%rax)

it also causes us to correctly reject fistp and fist, which addresses
PR8528:

t.s:2:1: error: ambiguous instructions require an explicit suffix (could be 'fistps', or 'fistpl')
fistp (%rax)
^
t.s:3:1: error: ambiguous instructions require an explicit suffix (could be 'fists', or 'fistl')
fist (%rax)
^

Thanks to Ismail Donmez for tracking down the issue here!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118346 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-06 18:28:02 +00:00
..
ARM Add codegen and encoding support for the immediate form of vbic. 2010-11-05 19:27:46 +00:00
AsmParser Add support for .value. 2010-11-01 15:29:07 +00:00
COFF Unbreak test on non-COFF targets. 2010-10-16 11:27:13 +00:00
Disassembler chase owen. 2010-11-02 23:55:24 +00:00
ELF Add support for expressions in .sleb/.uleb directives. 2010-11-02 17:22:24 +00:00
MachO
X86 correct suffix matching to search for s/l/t suffixes on 2010-11-06 18:28:02 +00:00