Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix rdar://8456389 - llvm-mc mismatch with 'as' on 'fstp' | Chris Lattner | 2010-09-22 | 1 | -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 Lattner | 2010-09-22 | 1 | -0/+5 | |
| | | | | llvm-svn: 114526 | |||||
* | fix rdar://8444631 - encoder crash on 'enter' | Chris Lattner | 2010-09-17 | 1 | -0/+12 | |
| | | | | | | What a weird instruction. llvm-svn: 114190 | |||||
* | MC/AsmParser: Add support for 'a + 4@GOTPCREL' and friends, by reconsing the | Daniel Dunbar | 2010-09-17 | 1 | -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' instruction | Chris Lattner | 2010-09-16 | 1 | -0/+10 | |
| | | | | llvm-svn: 114116 | |||||
* | lcall and ljmp always default to lcalll and ljmpl. This finally | Chris Lattner | 2010-09-15 | 1 | -0/+10 | |
| | | | | | | wraps up r8418316 llvm-svn: 113949 | |||||
* | apparently jmpl $1,$2 is an alias for ljmpl, similiarly | Chris Lattner | 2010-09-15 | 2 | -1/+15 | |
| | | | | | | for call. Add this. llvm-svn: 113948 | |||||
* | Disambiguate lcall/ljmp to the 32-bit version. This happens | Chris Lattner | 2010-09-15 | 1 | -0/+6 | |
| | | | | | | even in 64-bit mode apparently. llvm-svn: 113945 | |||||
* | fix the encoding of sldt GR16 to have the 0x66 prefix, and | Chris Lattner | 2010-09-15 | 1 | -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://8418316 | Chris Lattner | 2010-09-15 | 1 | -0/+11 | |
| | | | | llvm-svn: 113937 | |||||
* | fix rdar://8431880 - rcl/rcr with no shift amount not recognized | Chris Lattner | 2010-09-15 | 1 | -0/+11 | |
| | | | | llvm-svn: 113936 | |||||
* | add various broken forms of fnstsw. I didn't add the %rax | Chris Lattner | 2010-09-15 | 1 | -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://8431422 | Chris Lattner | 2010-09-15 | 1 | -0/+14 | |
| | | | | llvm-svn: 113930 | |||||
* | add a bunch of aliases for fp operations with no operand, | Chris Lattner | 2010-09-15 | 1 | -0/+25 | |
| | | | | | | rdar://8431422 llvm-svn: 113929 | |||||
* | add a terrible hack to allow out with dx is parens, a gas bug. | Chris Lattner | 2010-09-14 | 1 | -0/+10 | |
| | | | | | | This fixes PR8114 llvm-svn: 113894 | |||||
* | add a missed cmov alias, part of rdar://8416805 | Chris Lattner | 2010-09-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 113693 | |||||
* | add support for all the setCC aliases. Part of rdar://8416805 | Chris Lattner | 2010-09-11 | 1 | -0/+15 | |
| | | | | llvm-svn: 113692 | |||||
* | add support for pushfd/popfd which are aliases for pushfl/popfl. | Chris Lattner | 2010-09-11 | 1 | -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 Lattner | 2010-09-11 | 1 | -0/+12 | |
| | | | | llvm-svn: 113689 | |||||
* | llvm-mc: Don't crash when using -n and we see a directive before the initial ↵ | Daniel Dunbar | 2010-09-09 | 1 | -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 Dunbar | 2010-09-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 113551 | |||||
* | fix rdar://8407548, I missed the commuted form of xchg/test without a suffix. | Chris Lattner | 2010-09-08 | 1 | -0/+6 | |
| | | | | llvm-svn: 113427 | |||||
* | fix bugs in push/pop segment support, rdar://8407242 | Chris Lattner | 2010-09-08 | 2 | -0/+82 | |
| | | | | llvm-svn: 113422 | |||||
* | add support for the commuted form of the test instruction, rdar://8018260. | Chris Lattner | 2010-09-08 | 1 | -0/+7 | |
| | | | | llvm-svn: 113352 | |||||
* | implement proper support for sysret{,l,q}, rdar://8403907 | Chris Lattner | 2010-09-08 | 2 | -1/+18 | |
| | | | | llvm-svn: 113350 | |||||
* | implement the iret suite of instructions properly, | Chris Lattner | 2010-09-08 | 2 | -0/+27 | |
| | | | | | | fixing rdar://8403974 llvm-svn: 113349 | |||||
* | add support for instruction prefixes on the same line as the instruction, | Chris Lattner | 2010-09-08 | 1 | -0/+12 | |
| | | | | | | implementing rdar://8033482 and PR7254. llvm-svn: 113348 | |||||
* | gas accepts xchg <mem>, <reg> as a synonym for xchg <reg>, <mem>. | Chris Lattner | 2010-09-08 | 1 | -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 Lattner | 2010-09-08 | 2 | -0/+22 | |
| | | | | | | rdar://8061602 llvm-svn: 113343 | |||||
* | add missing cmov aliases, this resolves rdar://8208499 | Chris Lattner | 2010-09-07 | 1 | -0/+7 | |
| | | | | llvm-svn: 113189 | |||||
* | "sldt <mem>" is ambiguous in 64-bit mode, but should | Chris Lattner | 2010-09-06 | 1 | -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 Lattner | 2010-09-06 | 1 | -0/+5 | |
| | | | | llvm-svn: 113184 | |||||
* | fix the operand constraints of the immediate form of in/out, | Chris Lattner | 2010-09-06 | 1 | -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 Kramer | 2010-09-02 | 1 | -0/+13 | |
| | | | | llvm-svn: 112849 | |||||
* | fixme accomplished | Chris Lattner | 2010-08-28 | 1 | -2/+0 | |
| | | | | llvm-svn: 112386 | |||||
* | X86: Fix misencode of RI64mi8. This fixes OpenSSL / x86_64-apple-darwin10 / ↵ | Daniel Dunbar | 2010-08-25 | 1 | -0/+4 | |
| | | | | | | clang -O3. llvm-svn: 112089 | |||||
* | MC/X86: Tweak imul recognition, previous hack only applies for the imul form | Daniel Dunbar | 2010-08-24 | 1 | -0/+3 | |
| | | | | | | taking immediates. llvm-svn: 111950 | |||||
* | MC/X86: Add custom hack for recognizing "imul $12, %eax" and friends. | Daniel Dunbar | 2010-08-24 | 1 | -0/+3 | |
| | | | | llvm-svn: 111947 | |||||
* | MC/AsmParser: Change ParseExpression to use ParseIdentifier(), to support | Daniel Dunbar | 2010-08-24 | 1 | -0/+2 | |
| | | | | | | dollars in identifiers. llvm-svn: 111946 | |||||
* | MC/X86: Warn on scale factors > 1 without index register, instead of erroring, | Daniel Dunbar | 2010-08-24 | 1 | -1/+8 | |
| | | | | | | for 'as' compatibility. llvm-svn: 111945 | |||||
* | MC/Parser: Accept leading dollar signs in identifiers. | Daniel Dunbar | 2010-08-24 | 1 | -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 Lattner | 2010-08-24 | 1 | -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 Lattner | 2010-08-19 | 1 | -0/+5 | |
| | | | | | | call and jumps. llvm-svn: 111496 | |||||
* | MC/X86/AsmParser: Give an explicit error message when we reject an instruction | Daniel Dunbar | 2010-08-12 | 1 | -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 Dunbar | 2010-08-11 | 1 | -0/+8 | |
| | | | | | | mnemonic into a separate operand form. llvm-svn: 110794 | |||||
* | MC/AsmParser: Fix a bug in macro argument parsing, which was dropping | Daniel Dunbar | 2010-08-10 | 1 | -0/+7 | |
| | | | | | | parentheses from argument lists. llvm-svn: 110692 | |||||
* | tests: Mark MC/AsmParser tests as requiring x86 for now -- almost all of them | Daniel Dunbar | 2010-08-05 | 1 | -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 Lopes | 2010-07-24 | 4 | -0/+48 | |
| | | | | llvm-svn: 109295 | |||||
* | Consolidate the ELF section directive tests into a single file as | Matt Fleming | 2010-07-23 | 8 | -42/+23 | |
| | | | | | | suggested by Chris Lattner. llvm-svn: 109290 | |||||
* | Move AVX encoding tests to different files | Bruno Cardoso Lopes | 2010-07-23 | 4 | -6548/+6552 | |
| | | | | llvm-svn: 109269 |