summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/X86/intel-syntax.s
Commit message (Collapse)AuthorAgeFilesLines
...
* [ms-inline asm] Support offsets after segment registersDavid Majnemer2013-08-271-0/+6
| | | | | | | | | | | | | | Summary: MASM let's you do stuff like 'MOV FS:20, EAX' and 'MOV EAX, FS:20' Reviewers: craig.topper, rnk Reviewed By: rnk CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1470 llvm-svn: 189407
* Add test cases for the various instruction alias and Intel syntax fixes that ↵Craig Topper2013-07-261-0/+222
| | | | | | have gone in lately. llvm-svn: 187188
* X86: Make the cmov aliases work with intel syntax too.Benjamin Kramer2013-06-131-0/+29
| | | | llvm-svn: 183907
* [x86AsmParser] It's valid to stop parsing an operand at an immediate.Chad Rosier2013-05-091-0/+2
| | | | | | rdar://13854369 and PR15944 llvm-svn: 181564
* Add test case for PR15779, which has previously been fixed.Chad Rosier2013-04-221-1/+2
| | | | llvm-svn: 180058
* [ms-inline asm] Apply the condition code mnemonic aliases to both the Intel andChad Rosier2013-04-181-0/+30
| | | | | | | AT&T dialect. Test case for r179804 as well. rdar://13674398 and PR13340. llvm-svn: 179813
* [ms-inline asm] Add support for the minus unary operator. Previously, we wereChad Rosier2013-04-171-1/+8
| | | | | | | | | | | unable to handle cases such as __asm mov eax, 8*-8. This patch also attempts to simplify the state machine. Further, the error reporting has been improved. Test cases included, but more will be added to the clang side shortly. rdar://13668445 llvm-svn: 179719
* [ms-inline asm] Add support for numeric displacement expressions in bracketedChad Rosier2013-04-051-1/+38
| | | | | | | | | | | | | | | | | | | | | | 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 llvm-svn: 178881
* [ms-inline asm] Extend support for parsing Intel bracketed memory operands thatChad Rosier2013-01-141-9/+191
| | | | | | | have an arbitrary ordering of the base register, index register and displacement. rdar://12527141 llvm-svn: 172484
* Make x86 asm parser to check for xmm vs ymm for index register in gather ↵Craig Topper2012-07-181-0/+2
| | | | | | instructions. Also fix Intel syntax for gather instructions to use 'DWORD PTR' or 'QWORD PTR' to match gas. llvm-svn: 160420
* Intel Syntax: Parse mem operand with seg reg. QWORD PTR FS:[320]Devang Patel2012-01-271-0/+2
| | | | llvm-svn: 149142
* Intel syntax: Robustify parsing of memory operand's displacement experssion.Devang Patel2012-01-231-2/+4
| | | | llvm-svn: 148737
* Intel syntax: Parse memory operand with empty base reg, e.g. DWORD PTR [4*RDI]Devang Patel2012-01-231-1/+3
| | | | llvm-svn: 148721
* Intel syntax: Parse segment registers.Devang Patel2012-01-231-0/+2
| | | | llvm-svn: 148712
* Intel syntax: Robustify register parsing.Devang Patel2012-01-201-0/+2
| | | | llvm-svn: 148591
* Process instructions after match to select alternative encoding which may be ↵Devang Patel2012-01-181-0/+24
| | | | | | more desirable. llvm-svn: 148431
* Intel syntax: Fix parser match class to check memory operand size.Devang Patel2012-01-171-0/+2
| | | | llvm-svn: 148338
* Intel syntax: Parse "BYTE PTR [RDX + RCX]"Devang Patel2012-01-171-0/+2
| | | | llvm-svn: 148334
* Intel syntax: Do not unncessarily create plus expression for memory operand ↵Devang Patel2012-01-171-0/+2
| | | | | | displacement. llvm-svn: 148321
* Intel syntax: Ignore mnemonic aliases.Devang Patel2012-01-171-0/+8
| | | | llvm-svn: 148316
* Intel syntax: Robustify memory operand parsing.Devang Patel2012-01-171-0/+8
| | | | llvm-svn: 148312
* Add new test.Devang Patel2012-01-131-0/+10
llvm-svn: 148128
OpenPOWER on IntegriCloud