llvm/test/MC/X86
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
..
3DNow.s Add 3DNowA instructions. 2010-10-03 20:23:13 +00:00
dg.exp
x86_64-avx-clmul-encoding.s
x86_64-avx-encoding.s
x86_64-encoding.s
x86_64-fma3-encoding.s
x86_64-imm-widths.s Replace a gross hack (the MOV64ri_alt instruction) with a slightly less 2010-10-05 21:09:45 +00:00
x86_directives.s
x86_errors.s
x86_operands.s
x86-32-avx.s
x86-32-coverage.s make the asm matcher emitter reject instructions that have comments 2010-11-01 04:44:29 +00:00
x86-32-fma3.s
x86-32.s fix an encoding mismatch where "sal %eax, 1" was not using the short encoding 2010-10-30 18:13:10 +00:00
x86-64.s correct suffix matching to search for s/l/t suffixes on 2010-11-06 18:28:02 +00:00