summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
...
* fix rdar://8456389 - llvm-mc mismatch with 'as' on 'fstp'Chris Lattner2010-09-221-0/+6
| | | | | | | | | -This line, and those below, will be ignored-- M test/MC/AsmParser/X86/x86_instructions.s M lib/Target/X86/AsmParser/X86AsmParser.cpp llvm-svn: 114527
* fix rdar://8456361 - llvm-mc rejects 'rep movsd'Chris Lattner2010-09-221-0/+5
| | | | llvm-svn: 114526
* fix rdar://8444631 - encoder crash on 'enter'Chris Lattner2010-09-171-0/+12
| | | | | | What a weird instruction. llvm-svn: 114190
* MC/AsmParser: Add support for 'a + 4@GOTPCREL' and friends, by reconsing theDaniel Dunbar2010-09-171-0/+14
| | | | | | | | | expression to include the modifier. - Gross, but this a corner case we don't expect to see often in practice, but it is worth accepting. - Also improves diagnostics on invalid modifiers. llvm-svn: 114154
* fix rdar://8438816 - unrecognized 'fildq' instructionChris Lattner2010-09-161-0/+10
| | | | llvm-svn: 114116
* lcall and ljmp always default to lcalll and ljmpl. This finallyChris Lattner2010-09-151-0/+10
| | | | | | wraps up r8418316 llvm-svn: 113949
* apparently jmpl $1,$2 is an alias for ljmpl, similiarlyChris Lattner2010-09-152-1/+15
| | | | | | for call. Add this. llvm-svn: 113948
* Disambiguate lcall/ljmp to the 32-bit version. This happensChris Lattner2010-09-151-0/+6
| | | | | | even in 64-bit mode apparently. llvm-svn: 113945
* fix the encoding of sldt GR16 to have the 0x66 prefix, andChris Lattner2010-09-151-1/+10
| | | | | | | add sldt GR32, which isn't documented in the intel manual but which gas accepts. Part of rdar://8418316 llvm-svn: 113938
* implement aliases for shld/shrd, part of rdar://8418316Chris Lattner2010-09-151-0/+11
| | | | llvm-svn: 113937
* fix rdar://8431880 - rcl/rcr with no shift amount not recognizedChris Lattner2010-09-151-0/+11
| | | | llvm-svn: 113936
* add various broken forms of fnstsw. I didn't add the %raxChris Lattner2010-09-151-1/+9
| | | | | | | version because it adds a prefix and makes even less sense than the other broken forms. This wraps up rdar://8431422 llvm-svn: 113932
* add some aliases for f[u]comi, part of rdar://8431422Chris Lattner2010-09-151-0/+14
| | | | llvm-svn: 113930
* add a bunch of aliases for fp operations with no operand,Chris Lattner2010-09-151-0/+25
| | | | | | rdar://8431422 llvm-svn: 113929
* add a terrible hack to allow out with dx is parens, a gas bug.Chris Lattner2010-09-141-0/+10
| | | | | | This fixes PR8114 llvm-svn: 113894
* add a missed cmov alias, part of rdar://8416805Chris Lattner2010-09-111-0/+4
| | | | llvm-svn: 113693
* add support for all the setCC aliases. Part of rdar://8416805Chris Lattner2010-09-111-0/+15
| | | | llvm-svn: 113692
* add support for pushfd/popfd which are aliases for pushfl/popfl.Chris Lattner2010-09-111-0/+10
| | | | | | This fixes rdar://8408129 - pushfd and popfd get invalid instruction mnemonic errors llvm-svn: 113690
* implement rdar://8407928 - support for in/out with a missing "a" register.Chris Lattner2010-09-111-0/+12
| | | | llvm-svn: 113689
* llvm-mc: Don't crash when using -n and we see a directive before the initial ↵Daniel Dunbar2010-09-091-0/+7
| | | | | | | | section. - This is annoying, because we have to scatter this check everywhere that could emit real data, but I see no better solution. llvm-svn: 113552
* llvm-mc: Make sure we exit != 0 if any errors are encountered.Daniel Dunbar2010-09-091-1/+1
| | | | llvm-svn: 113551
* fix rdar://8407548, I missed the commuted form of xchg/test without a suffix.Chris Lattner2010-09-081-0/+6
| | | | llvm-svn: 113427
* fix bugs in push/pop segment support, rdar://8407242Chris Lattner2010-09-082-0/+82
| | | | llvm-svn: 113422
* add support for the commuted form of the test instruction, rdar://8018260.Chris Lattner2010-09-081-0/+7
| | | | llvm-svn: 113352
* implement proper support for sysret{,l,q}, rdar://8403907Chris Lattner2010-09-082-1/+18
| | | | llvm-svn: 113350
* implement the iret suite of instructions properly,Chris Lattner2010-09-082-0/+27
| | | | | | fixing rdar://8403974 llvm-svn: 113349
* add support for instruction prefixes on the same line as the instruction,Chris Lattner2010-09-081-0/+12
| | | | | | implementing rdar://8033482 and PR7254. llvm-svn: 113348
* gas accepts xchg <mem>, <reg> as a synonym for xchg <reg>, <mem>.Chris Lattner2010-09-081-0/+5
| | | | | | Add this to the mc assembler, fixing PR8061 llvm-svn: 113346
* fix the encoding of the "jump on *cx" family of instructions,Chris Lattner2010-09-082-0/+22
| | | | | | rdar://8061602 llvm-svn: 113343
* add missing cmov aliases, this resolves rdar://8208499Chris Lattner2010-09-071-0/+7
| | | | llvm-svn: 113189
* "sldt <mem>" is ambiguous in 64-bit mode, but shouldChris Lattner2010-09-061-0/+3
| | | | | | | | always be disambiguated as sldtw. sldtw and sldtq with a mem operands have the same effect, but sldtw is more compact. Force it to sldtw, resolving rdar://8017530 llvm-svn: 113186
* fix rdar://8017621 - llvm-mc can't guess encoding for "push $(1000)"Chris Lattner2010-09-061-0/+5
| | | | llvm-svn: 113184
* fix the operand constraints of the immediate form of in/out,Chris Lattner2010-09-061-0/+9
| | | | | | allowing unsigned 8-bit operands. This fixes rdar://8208481 llvm-svn: 113182
* Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky.Benjamin Kramer2010-09-021-0/+13
| | | | llvm-svn: 112849
* fixme accomplishedChris Lattner2010-08-281-2/+0
| | | | llvm-svn: 112386
* X86: Fix misencode of RI64mi8. This fixes OpenSSL / x86_64-apple-darwin10 / ↵Daniel Dunbar2010-08-251-0/+4
| | | | | | clang -O3. llvm-svn: 112089
* MC/X86: Tweak imul recognition, previous hack only applies for the imul formDaniel Dunbar2010-08-241-0/+3
| | | | | | taking immediates. llvm-svn: 111950
* MC/X86: Add custom hack for recognizing "imul $12, %eax" and friends.Daniel Dunbar2010-08-241-0/+3
| | | | llvm-svn: 111947
* MC/AsmParser: Change ParseExpression to use ParseIdentifier(), to supportDaniel Dunbar2010-08-241-0/+2
| | | | | | dollars in identifiers. llvm-svn: 111946
* MC/X86: Warn on scale factors > 1 without index register, instead of erroring,Daniel Dunbar2010-08-241-1/+8
| | | | | | for 'as' compatibility. llvm-svn: 111945
* MC/Parser: Accept leading dollar signs in identifiers.Daniel Dunbar2010-08-241-0/+5
| | | | | | | | - Implemented by manually splicing the tokens. If this turns out to be problematically platform specific, a more elegant solution would be to implement some context dependent lexing support. llvm-svn: 111934
* fix rdar://7997827 - Accept and ignore LL and ULL suffixes on integer literals.Chris Lattner2010-08-241-0/+17
| | | | | | Also fix 0b010 syntax to actually work while we're at it :-) llvm-svn: 111876
* fix PR7465, mishandling of lcall and ljmp: intersegment long Chris Lattner2010-08-191-0/+5
| | | | | | call and jumps. llvm-svn: 111496
* MC/X86/AsmParser: Give an explicit error message when we reject an instructionDaniel Dunbar2010-08-121-0/+5
| | | | | | because it could have an ambiguous suffix. llvm-svn: 110890
* MC/ARM: Add basic support for handling predication by parsing it out of the ↵Daniel Dunbar2010-08-111-0/+8
| | | | | | mnemonic into a separate operand form. llvm-svn: 110794
* MC/AsmParser: Fix a bug in macro argument parsing, which was droppingDaniel Dunbar2010-08-101-0/+7
| | | | | | parentheses from argument lists. llvm-svn: 110692
* tests: Mark MC/AsmParser tests as requiring x86 for now -- almost all of themDaniel Dunbar2010-08-051-2/+3
| | | | | | rely on using a specific x86 triple to test what they want to test. llvm-svn: 110337
* Support x86 "eiz" and "riz" pseudo index registers in the assembler.Bruno Cardoso Lopes2010-07-244-0/+48
| | | | llvm-svn: 109295
* Consolidate the ELF section directive tests into a single file asMatt Fleming2010-07-238-42/+23
| | | | | | suggested by Chris Lattner. llvm-svn: 109290
* Move AVX encoding tests to different filesBruno Cardoso Lopes2010-07-234-6548/+6552
| | | | llvm-svn: 109269
OpenPOWER on IntegriCloud