aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
* Rename temporary symbols if they conflict with artificial symbols createdRafael Espindola2010-12-011-0/+10
| | | | | | | | | by the assembler. This was blocking parsing any large .s produced by clang for example. Fixes PR8596. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120603 91177308-0d34-0410-b5e6-96231b3b80d8
* Parse and remember discriminators in .loc line. I try to output them withRafael Espindola2010-11-131-1/+1
| | | | | | | another patch. This lets us parse a bit more of the gcc 4.5 output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118975 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for .value.Rafael Espindola2010-11-011-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117922 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the .string directive.Rafael Espindola2010-10-281-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117592 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement .equ directive as a synonym to .set.Roman Divacky2010-10-281-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117553 91177308-0d34-0410-b5e6-96231b3b80d8
* MC/AsmParser: Fix relative precedence of {+,-} and comparison ops.Daniel Dunbar2010-10-251-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117299 91177308-0d34-0410-b5e6-96231b3b80d8
* MC/AsmLexer: Fix bug in source location for Slash token.Daniel Dunbar2010-10-251-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117298 91177308-0d34-0410-b5e6-96231b3b80d8
* tweak test.Daniel Dunbar2010-10-251-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117297 91177308-0d34-0410-b5e6-96231b3b80d8
* MC/AsmParser: Rewrite test to actually check some parts of expression parsing,Daniel Dunbar2010-10-251-32/+37
| | | | | | now that we have macros and friends. Uncovered a bug in macro expansion... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117295 91177308-0d34-0410-b5e6-96231b3b80d8
* actually, move the elf tests into the existing elf dir.Chris Lattner2010-10-022-36/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115416 91177308-0d34-0410-b5e6-96231b3b80d8
* consolidate ELF tests into asmparser tests.Chris Lattner2010-10-023-6/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115415 91177308-0d34-0410-b5e6-96231b3b80d8
* move ARM MC tests up one level.Chris Lattner2010-10-023-19/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115414 91177308-0d34-0410-b5e6-96231b3b80d8
* move X86 subdir up a levelChris Lattner2010-10-0114-29242/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115292 91177308-0d34-0410-b5e6-96231b3b80d8
* more cleanups.Chris Lattner2010-09-307-7903/+7897
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115178 91177308-0d34-0410-b5e6-96231b3b80d8
* merge and clean up tests.Chris Lattner2010-09-306-51/+55
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115177 91177308-0d34-0410-b5e6-96231b3b80d8
* merge two tests.Chris Lattner2010-09-302-10074/+10073
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115175 91177308-0d34-0410-b5e6-96231b3b80d8
* rename testChris Lattner2010-09-301-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115174 91177308-0d34-0410-b5e6-96231b3b80d8
* generalize test.Chris Lattner2010-09-301-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115172 91177308-0d34-0410-b5e6-96231b3b80d8
* rename test.Chris Lattner2010-09-301-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115171 91177308-0d34-0410-b5e6-96231b3b80d8
* merge two tests.Chris Lattner2010-09-302-262/+256
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115170 91177308-0d34-0410-b5e6-96231b3b80d8
* preemptively add the rest of the non-n fpstack instructions.Chris Lattner2010-09-301-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115168 91177308-0d34-0410-b5e6-96231b3b80d8
* merge two tests.Chris Lattner2010-09-302-7/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115165 91177308-0d34-0410-b5e6-96231b3b80d8
* fix this to not be completely broken.Chris Lattner2010-09-301-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115164 91177308-0d34-0410-b5e6-96231b3b80d8
* update, unxfail, fix bogus encodings.Chris Lattner2010-09-301-12/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115163 91177308-0d34-0410-b5e6-96231b3b80d8
* update and unxfailChris Lattner2010-09-301-19/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115162 91177308-0d34-0410-b5e6-96231b3b80d8
* unxfail this by fixing syntactic differences.Chris Lattner2010-09-301-6/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115161 91177308-0d34-0410-b5e6-96231b3b80d8
* implement support for finit, PR8258Chris Lattner2010-09-301-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115156 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for fstcw, PR8259Chris Lattner2010-09-301-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115154 91177308-0d34-0410-b5e6-96231b3b80d8
* implement rdar://8491845 - Gas supports commuted forms of non-commutable ↵Chris Lattner2010-09-291-0/+8
| | | | | | instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115061 91177308-0d34-0410-b5e6-96231b3b80d8
* fix rdar://8490728 - llvm-mc rejects gpr64 form of 'movmskpd'Chris Lattner2010-09-291-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115029 91177308-0d34-0410-b5e6-96231b3b80d8
* add assembler support for the cvtsd2sil/cvtsd2siq mnemonics, rdar://8456382Chris Lattner2010-09-291-2/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115027 91177308-0d34-0410-b5e6-96231b3b80d8
* make the x86 mccode emitter emit the 0x67 and 0x66 prefix bytes in the sameChris Lattner2010-09-291-0/+5
| | | | | | | order as cctools for diffability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115022 91177308-0d34-0410-b5e6-96231b3b80d8
* implement support for 32-bit address operands in 64-bit mode, which Chris Lattner2010-09-291-1/+14
| | | | | | | are defined to emit the 0x67 prefix byte. rdar://8482675 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115021 91177308-0d34-0410-b5e6-96231b3b80d8
* add basic avx support to the disassembler, also teach it about ssmem/sdmemChris Lattner2010-09-291-0/+6
| | | | | | | | | | | operands. With this done, we can remove the _Int suffixes from the round instructions without the disassembler blowing up. This allows the assembler to support them, implementing rdar://8456376 - llvm-mc rejects 'roundss' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115019 91177308-0d34-0410-b5e6-96231b3b80d8
* add asmparser support for cvttpd2dq by removing some Int_ prefixes.Chris Lattner2010-09-291-0/+5
| | | | | | | | Clean up cvttps2dq by removing some redundant implementations of the same instruction. rdar://8456382 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115018 91177308-0d34-0410-b5e6-96231b3b80d8
* implement rdar://8456382 - cvtsd2si support, by removing some Int_ prefixes.Chris Lattner2010-09-291-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115017 91177308-0d34-0410-b5e6-96231b3b80d8
* implement rdar://8456378 and PR7557 - support for the fstsw,Chris Lattner2010-09-291-0/+8
| | | | | | | | an instruction that requires a WHOLE NEW wonderful kind of alias. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115015 91177308-0d34-0410-b5e6-96231b3b80d8
* MC/AsmParser: Handle exponents in floating point literals.Daniel Dunbar2010-09-271-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114861 91177308-0d34-0410-b5e6-96231b3b80d8
* yet more aliases.Chris Lattner2010-09-271-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114822 91177308-0d34-0410-b5e6-96231b3b80d8
* add a couple more aliases, rdar://8456378Chris Lattner2010-09-271-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114821 91177308-0d34-0410-b5e6-96231b3b80d8
* fix rdar://8470918 - llvm-mc can't assemble smovlChris Lattner2010-09-271-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114819 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix rdar://8468087 - llvm-mc commutes fmul (and friend) operands.Chris Lattner2010-09-271-0/+16
| | | | | | | | | My previous fix for rdar://8456371 should only apply to fmulp/faddp, not to fmul/fadd. Instruction set orthogonality is overrated or something. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114818 91177308-0d34-0410-b5e6-96231b3b80d8
* implement support for 'clr' alias. This is part of rdar://8416805,Chris Lattner2010-09-271-0/+14
| | | | | | | but balrog was wanting it on irc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114809 91177308-0d34-0410-b5e6-96231b3b80d8
* MC/AsmParser: Handle a missed case of floating literals in the lexer.Daniel Dunbar2010-09-241-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114733 91177308-0d34-0410-b5e6-96231b3b80d8
* MC/AsmParser: Support .single and .double for embedding floating point literals.Daniel Dunbar2010-09-241-0/+12
| | | | | | | - I believe more modern 'gas' supports a more enhanced set of arithmetic on them, but for now the only thing we can do is emit them as data. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114719 91177308-0d34-0410-b5e6-96231b3b80d8
* fix rdar://8456371 - Handle commutable instructions written backward.Chris Lattner2010-09-221-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114536 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an inconsistency in the x86 backend that led it to reject "calll foo" onChris Lattner2010-09-222-4/+6
| | | | | | | | | | | | | x86-32: 32-bit calls were named "call" not "calll". 64-bit calls were correctly named "callq", so this only impacted x86-32. This fixes rdar://8456370 - llvm-mc rejects 'calll' This also exposes that mingw/64 is generating a 32-bit call instead of a 64-bit call, I will file a bugzilla. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114534 91177308-0d34-0410-b5e6-96231b3b80d8
* fix rdar://8456412 - llvm-mc crash in encoder on "mov %rdx, %cr8"Chris Lattner2010-09-221-1/+13
| | | | | | | Teaching the code generator about CR8-15, how to rex them up, etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114533 91177308-0d34-0410-b5e6-96231b3b80d8
* fix rdar://8456417 - llvm-mc can't do basic mathChris Lattner2010-09-221-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114532 91177308-0d34-0410-b5e6-96231b3b80d8
* add the missing aliases for fp stack cmovs, rdar://8456391Chris Lattner2010-09-221-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114531 91177308-0d34-0410-b5e6-96231b3b80d8