summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/X86/intel-syntax-error.s
Commit message (Collapse)AuthorAgeFilesLines
* [X86][AsmParser] Keep track of whether an explicit scale was specified while ↵Craig Topper2018-06-221-0/+6
| | | | | | | | | | parsing an address in Intel syntax. Use it for improved error checking. This allows us to check these: -16-bit addressing doesn't support scale so we should error if we find one there. -Multiplying ESP/RSP by a scale even if the scale is 1 should be an error because ESP/RSP can't be an index. llvm-svn: 335398
* [X86][AsmParser] Check for invalid 16-bit base register in Intel syntax.Craig Topper2018-06-221-0/+2
| | | | llvm-svn: 335373
* Fix incorrect operand sizes for some MMX instructions: punpcklwd, punpcklbw ↵Andrew V. Tischenko2017-12-291-0/+10
| | | | | | | | and punpckldq. Differential Revision: https://reviews.llvm.org/D41595 llvm-svn: 321549
* [X86AsmParser] Refactoring, (almost) NFC.Coby Tayree2017-08-241-4/+9
| | | | | | | | | | Some refactoring to X86AsmParser, mostly regarding the way rewrites are conducted. Mainly, we try to concentrate all the rewrite effort under one hood, so it'll hopefully be less of a mess and easier to maintain and understand. naturally, some frontend tests were affected: D36794 Differential Revision: https://reviews.llvm.org/D36793 llvm-svn: 311639
* [X86] Don't randomly encode %rip where illegalDouglas Katzman2016-10-051-0/+5
| | | | | | Differential Revision: https://reviews.llvm.org/D25112 llvm-svn: 283326
* [X86] Fix some tests that didn't assert anythingDouglas Katzman2016-10-051-3/+3
| | | | llvm-svn: 283322
* [MC] Fix Intel Operand assembly parsing for .set idsNirav Dave2016-08-021-0/+13
| | | | | | | | | | | | | | | | | Recommitting after fixing overaggressive fastpath return in parsing. Fix intel syntax special case identifier operands that refer to a constant (e.g. .set <ID> n) to be interpreted as immediate not memory in parsing. Associated commit to fix clang test commited shortly. Reviewers: rnk Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D22585 llvm-svn: 277489
* Revert r276895 "[MC][X86] Fix Intel Operand assembly parsing for .set ids"Hans Wennborg2016-08-011-13/+0
| | | | | | This caused PR28805. Adding a regression test. llvm-svn: 277402
* [MC][X86] Fix Intel Operand assembly parsing for .set idsNirav Dave2016-07-271-0/+13
| | | | | | | | | | | | | Fix intel syntax special case identifier operands that refer to a constant (e.g. .set <ID> n) to be interpreted as immediate not memory in parsing. Reviewers: rnk Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D22585 llvm-svn: 276895
* Add missing test for r215031Reid Kleckner2014-08-111-0/+13
llvm-svn: 215374
OpenPOWER on IntegriCloud