llvm-6502/test/MC/X86
Chad Rosier ffc49cbea4 [ms-inline asm] Fix a crasher when we fail on a direct match.
The issue was that the MatchingInlineAsm and VariantID args to the
MatchInstructionImpl function weren't being set properly.  Specifically, when
parsing intel syntax, the parser thought it was parsing inline assembly in the
at&t dialect; that will never be the case.  

The crash was caused when the emitter tried to emit the instruction, but the
operands weren't set.  When parsing inline assembly we only set the opcode, not
the operands, which is used to lookup the instruction descriptor.
rdar://13854391 and PR15945

Also, this commit reverts r176036.  Now that we're correctly parsing the intel
syntax the pushad/popad don't match properly.  I've reimplemented that fix using
a MnemonicAlias.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181620 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-10 18:24:17 +00:00
..
AlignedBundling The current X86 NOP padding uses one long NOP followed by the remainder in 2013-03-05 00:02:23 +00:00
3DNow.s Emit an error is asm parser parsed X86_64 only registers, e.g. %rax, %sil. 2011-07-27 23:22:03 +00:00
2011-09-06-NoNewline.s Move test to the X86 directory, note the PR number and only run MC once. 2011-10-31 17:23:09 +00:00
address-size.s Fix generation of the address size override prefix. Add assertions for 2012-03-21 05:48:07 +00:00
fde-reloc.s Move test since it depends on the X86 backend. 2013-03-28 17:01:28 +00:00
gnux32-dwarf-gen.s Now that llvm-dwarfdump supports flags to specify which DWARF section to dump, 2013-01-25 21:44:53 +00:00
intel-syntax-2.s Add newline. 2012-09-10 23:09:27 +00:00
intel-syntax-encoding.s Post process ADC/SBB and use a shorter encoding if they use a sign extended immediate. 2013-03-18 03:34:55 +00:00
intel-syntax-hex.s 'Hexadecimal' has two 'a's and only one 'i'. 2013-02-25 18:11:18 +00:00
intel-syntax.s [x86AsmParser] It's valid to stop parsing an operand at an immediate. 2013-05-09 23:48:53 +00:00
lit.local.cfg Make this Lit config file a bit slimmer 2012-12-13 02:03:46 +00:00
padlock.s
shuffle-comments.s Merge SSE and AVX shuffle instructions in the comment printer. 2013-01-29 07:54:31 +00:00
x86_64-avx-clmul-encoding.s
x86_64-avx-encoding.s Fix suffix handling for parsing and printing of cvtsi2ss, cvtsi2sd, cvtss2si, cvttss2si, cvtsd2si, and cvttsd2si to match gas behavior. 2013-01-06 20:39:29 +00:00
x86_64-bmi-encoding.s Add X86 SARX, SHRX, and SHLX instructions. 2011-10-23 22:18:24 +00:00
x86_64-encoding.s
x86_64-fma3-encoding.s
x86_64-fma4-encoding.s Fix a bug in the calculation of the VEX.B bit for FMA4 rr with the VEX.W bit set. The VEX.B was being calculated from the wrong operand. Fixes at least some portion of PR14185. 2013-03-14 07:40:52 +00:00
x86_64-imm-widths.s
x86_64-rand-encoding.s Add support of RDSEED defined in AVX2 extension 2013-03-28 23:41:26 +00:00
x86_64-rtm-encoding.s x86 -- add the XTEST instruction 2013-03-25 18:59:43 +00:00
x86_64-sse4a.s Add intrinsics, code gen, assembler and disassembler support for the SSE4a extrq and insertq instructions. 2012-05-29 19:05:25 +00:00
x86_64-xop-encoding.s XOP instructions and encoding tests. 2011-12-12 19:37:49 +00:00
x86_directives.s
x86_errors.s [ms-inline asm] Fix a crasher when we fail on a direct match. 2013-05-10 18:24:17 +00:00
x86_long_nop.s Fixes a test by replacing .align by .p2align and setting triples explicitly. 2013-03-05 18:56:14 +00:00
x86_nop.s X86: Depending on the local semantics of .align this test can also emit a nopl instead of nopw. 2012-10-13 17:38:00 +00:00
x86_operands.s
x86-32-avx.s Fix suffix handling for parsing and printing of cvtsi2ss, cvtsi2sd, cvtss2si, cvttss2si, cvtsd2si, and cvttsd2si to match gas behavior. 2013-01-06 20:39:29 +00:00
x86-32-coverage.s Fix suffix handling for parsing and printing of cvtsi2ss, cvtsi2sd, cvtss2si, cvttss2si, cvtsd2si, and cvttsd2si to match gas behavior. 2013-01-06 20:39:29 +00:00
x86-32-fma3.s
x86-32-ms-inline-asm.s [ms-inline asm] Add support of imm displacement before bracketed memory 2013-03-27 21:49:56 +00:00
x86-32.s Add retw and lretw instructions. Also, fix Intel syntax parsing for all 2012-04-11 01:10:53 +00:00
x86-64.s Add CLAC/STAC instruction encoding/decoding support 2013-04-11 04:52:28 +00:00