llvm-6502/test/MC/X86
Chad Rosier e112453fc3 [ms-inline asm] Add support for numeric displacement expressions in bracketed
memory operands.

Essentially, this layers an infix calculator on top of the parsing state
machine.  The scale on the index register is still expected to be an immediate

 __asm mov eax, [eax + ebx*4]

and will not work with more complex expressions.  For example,

 __asm mov eax, [eax + ebx*(2*2)]

The plus and minus binary operators assume the numeric value of a register is
zero so as to not change the displacement.  Register operands should never
be an operand for a multiply or divide operation; the scale*indexreg
expression is always replaced with a zero on the operand stack to prevent
such a case.
rdar://13521380


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178881 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-05 16:28:55 +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
2011-09-06-NoNewline.s
address-size.s
fde-reloc.s Move test since it depends on the X86 backend. 2013-03-28 17:01:28 +00:00
gnux32-dwarf-gen.s
intel-syntax-2.s
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 [ms-inline asm] Add support for numeric displacement expressions in bracketed 2013-04-05 16:28:55 +00:00
lit.local.cfg
padlock.s
shuffle-comments.s
x86_64-avx-clmul-encoding.s
x86_64-avx-encoding.s
x86_64-bmi-encoding.s
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
x86_64-xop-encoding.s
x86_directives.s
x86_errors.s
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_operands.s
x86-32-avx.s
x86-32-coverage.s
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
x86-64.s