Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Now that VDUPfqf and VDUPfdfare properly pseudos, kill the no-longer-needed | Jim Grosbach | 2010-10-06 | 1 | -10/+2 | |
| | | | | | | "lane" operand modifier. llvm-svn: 115843 | |||||
* | target operand flag values aren't a bitmask | Jim Grosbach | 2010-10-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 115798 | |||||
* | Nuke the rest of the :comment references | Jim Grosbach | 2010-10-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 115373 | |||||
* | Rename the AsmPrinter directory to InstPrinter for those targets that have | Jim Grosbach | 2010-10-01 | 1 | -1/+1 | |
| | | | | | | | been MC-ized for assembly printing. MSP430 is mostly so, but still has the asm printer and lowering code in the printer subdir for the moment. llvm-svn: 115360 | |||||
* | Nuke a few more unused asm strings | Jim Grosbach | 2010-09-30 | 1 | -6/+8 | |
| | | | | llvm-svn: 115193 | |||||
* | 80 column fix | Jim Grosbach | 2010-09-30 | 1 | -1/+3 | |
| | | | | llvm-svn: 115149 | |||||
* | Tiny patch for proof-of-concept cleanup of ARMAsmPrinter::EmitStartOfAsmFile() | Jason W Kim | 2010-09-30 | 1 | -1/+1 | |
| | | | | | | | Small test for sanity check of resulting ARM .s file. Tested against -r115129. llvm-svn: 115133 | |||||
* | Nuke it from orbit. It's the only way to be sure. | Jim Grosbach | 2010-09-30 | 1 | -761/+8 | |
| | | | | | | (Kill the dead non-MC asm printer for the ARM target.) llvm-svn: 115127 | |||||
* | One Printer to rule them all, One Printer to find them, | Jim Grosbach | 2010-09-29 | 1 | -102/+1 | |
| | | | | | | | | | One Printer to lower them all and in the back end bind them. (Remove option to use the old non-MC asm printer.) llvm-svn: 115038 | |||||
* | Factor out dbg_value comment printing and teach MC asm printing to use it. | Jim Grosbach | 2010-09-28 | 1 | -13/+29 | |
| | | | | | | This should make the arm-linux self-host buildbot happy again. llvm-svn: 114964 | |||||
* | Enable the MC-ized ARM asm printer. Passing all local tests, so it's time to | Jim Grosbach | 2010-09-27 | 1 | -0/+67 | |
| | | | | | | | enable it for real. Leaving the CL option in place to it's easy to disable it again if (when) testers find something I've missed. llvm-svn: 114915 | |||||
* | ARM-mode eh.sjlj.longjmp MC lowering | Jim Grosbach | 2010-09-27 | 1 | -0/+54 | |
| | | | | llvm-svn: 114896 | |||||
* | Enable the MC-ized ARM asm printer. Passing all local tests, so it's time to | Jim Grosbach | 2010-09-27 | 1 | -1/+1 | |
| | | | | | | | enable it for real. Leaving the CL option in place to it's easy to disable it again if (when) testers find something I've missed. llvm-svn: 114892 | |||||
* | Add ARM explicit MCInst lowering for the Thumb eh.sjlj.setjmp sequence. | Jim Grosbach | 2010-09-24 | 1 | -0/+95 | |
| | | | | llvm-svn: 114758 | |||||
* | ARM-mode eh.sjlj.setjmp pseudo MC-inst lowering expansion | Jim Grosbach | 2010-09-23 | 1 | -0/+77 | |
| | | | | llvm-svn: 114707 | |||||
* | never mind. I can't read, apparently | Jim Grosbach | 2010-09-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 114689 | |||||
* | Fix opcode value for the 'trap' instruction, keeping the type suffix on the | Jim Grosbach | 2010-09-23 | 1 | -1/+1 | |
| | | | | | | constant. Hopefully the non-Darwin bots will like it... llvm-svn: 114687 | |||||
* | explicit 'unsigned long' on constant value. Hopefully make bots happier. | Jim Grosbach | 2010-09-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 114686 | |||||
* | Unbreak build. Jim, please review. | Benjamin Kramer | 2010-09-23 | 1 | -4/+4 | |
| | | | | llvm-svn: 114684 | |||||
* | Clean up the 'trap' instruction printing a bit. Non-Darwin assemblers don't | Jim Grosbach | 2010-09-23 | 1 | -0/+34 | |
| | | | | | | | | | | | | (yet) recognize the 'trap' mnemonic, so we use .short/.long to emit the opcode directly. On Darwin, however, we do want the mnemonic for more readable assembly code and better disassembly. Adjust the .td file to use the 'trap' mnemonic and handle using the binutils workaround in the assembly printer. Also tweak the formatting of the opcode values to make them consistent between the MC printer and the old printer. llvm-svn: 114679 | |||||
* | add FIXME | Jim Grosbach | 2010-09-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 114578 | |||||
* | Add MC instruction printer support for ARM and Thumb1 jump tables. | Jim Grosbach | 2010-09-22 | 1 | -3/+49 | |
| | | | | llvm-svn: 114555 | |||||
* | Add MC instruction printer support for TB[BH] style thumb2 jump tables. | Jim Grosbach | 2010-09-22 | 1 | -24/+27 | |
| | | | | llvm-svn: 114553 | |||||
* | Clean up comment. | Jim Grosbach | 2010-09-22 | 1 | -4/+4 | |
| | | | | llvm-svn: 114550 | |||||
* | Add start of support for MC instruction printer of ARM jump tables. Filling in | Jim Grosbach | 2010-09-21 | 1 | -0/+72 | |
| | | | | | | the rest of it is next up. llvm-svn: 114500 | |||||
* | Fix errant printing of [v]ldm instructions that aren't a pop | Jim Grosbach | 2010-09-21 | 1 | -32/+24 | |
| | | | | llvm-svn: 114445 | |||||
* | factor out a simple helper function to create a label for PC-relative | Jim Grosbach | 2010-09-18 | 1 | -19/+17 | |
| | | | | | | instructions (PICADD, PICLDR, et.al.) llvm-svn: 114243 | |||||
* | Add MC-inst handling for tPICADD | Jim Grosbach | 2010-09-17 | 1 | -0/+26 | |
| | | | | llvm-svn: 114237 | |||||
* | Teach the (non-MC) instruction printer to use the cannonical names for push/pop, | Jim Grosbach | 2010-09-17 | 1 | -4/+71 | |
| | | | | | | and shift instructions on ARM. Update the tests to match. llvm-svn: 114230 | |||||
* | Hook up verbose asm comment printing for SOImm operands in MC printer | Jim Grosbach | 2010-09-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 114215 | |||||
* | handle the upper16/lower16 target operand flags on symbol references for MC | Jim Grosbach | 2010-09-17 | 1 | -1/+1 | |
| | | | | | | instruction lowering. llvm-svn: 114191 | |||||
* | expand PICLDR MC lowering to handle other PICLDR and PICSTR versions. | Jim Grosbach | 2010-09-17 | 1 | -11/+31 | |
| | | | | llvm-svn: 114183 | |||||
* | MC-ization of the PICLDR pseudo. Next up, adding the other variants | Jim Grosbach | 2010-09-16 | 1 | -0/+29 | |
| | | | | | | (PICLDRB, et. al.) and PICSTR* llvm-svn: 114098 | |||||
* | Remove support for "dregpair" operand modifier, now that it is no longer being | Bob Wilson | 2010-09-16 | 1 | -7/+1 | |
| | | | | | | used for anything. llvm-svn: 114067 | |||||
* | move getRegisterNumbering() to out of ARMBaseRegisterInfo into the helper | Jim Grosbach | 2010-09-15 | 1 | -1/+1 | |
| | | | | | | | | | functions in ARMBaseInfo.h so it can be used in the MC library as well. For anything bigger than this, we may want a means to have a small support library for shared helper functions like this. Cross that bridge when we come to it. llvm-svn: 114016 | |||||
* | Add predicate and 's' bit operands to PICADD instruction lowering. | Jim Grosbach | 2010-09-14 | 1 | -0/+5 | |
| | | | | llvm-svn: 113860 | |||||
* | fix comment typo | Jim Grosbach | 2010-09-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 113856 | |||||
* | Remove trailing whitespace | Jim Grosbach | 2010-09-02 | 1 | -31/+31 | |
| | | | | llvm-svn: 112790 | |||||
* | Change ARM VFP VLDM/VSTM instructions to use addressing mode #4, just like | Bob Wilson | 2010-08-27 | 1 | -10/+0 | |
| | | | | | | | | | | | | | | | | | | | all the other LDM/STM instructions. This fixes asm printer crashes when compiling with -O0. I've changed one of the NEON tests (vst3.ll) to run with -O0 to check this in the future. Prior to this change VLDM/VSTM used addressing mode #5, but not really. The offset field was used to hold a count of the number of registers being loaded or stored, and the AM5 opcode field was expanded to specify the IA or DB mode, instead of the standard ADD/SUB specifier. Much of the backend was not aware of these special cases. The crashes occured when rewriting a frameindex caused the AM5 offset field to be changed so that it did not have a valid submode. I don't know exactly what changed to expose this now. Maybe we've never done much with -O0 and NEON. Regardless, there's no longer any reason to keep a count of the VLDM/VSTM registers, so we can use addressing mode #4 and clean things up in a lot of places. llvm-svn: 112322 | |||||
* | Rename sat_shift operand to shift_imm, in preparation for using it for other | Bob Wilson | 2010-08-16 | 1 | -3/+3 | |
| | | | | | | instructions besides saturate instructions. No functional changes. llvm-svn: 111168 | |||||
* | Cleaned up the for-disassembly-only entries in the arm instruction table so that | Johnny Chen | 2010-08-12 | 1 | -0/+9 | |
| | | | | | | | the memory barrier variants (other than 'SY' full system domain read and write) are treated as one instruction with option operand. llvm-svn: 110951 | |||||
* | Move the ARM SSAT and USAT optional shift amount operand out of the | Bob Wilson | 2010-08-11 | 1 | -2/+23 | |
| | | | | | | instruction opcode. This also fixes part of PR7792. llvm-svn: 110875 | |||||
* | ARM "rrx" shift operands do not have an immediate. PR7790. | Bob Wilson | 2010-08-05 | 1 | -12/+9 | |
| | | | | llvm-svn: 110292 | |||||
* | Implement target specific getDebugValueLocation(). | Devang Patel | 2010-08-04 | 1 | -0/+13 | |
| | | | | llvm-svn: 110267 | |||||
* | Move newlines before inline jumptables from the asm strings in .td files to | Bob Wilson | 2010-07-31 | 1 | -2/+2 | |
| | | | | | | | the jtblock_operand print methods. This avoids extra newlines in the disassembler's output. PR7757. llvm-svn: 109948 | |||||
* | Add the __TEXT,__StaticInit section to the list of sections emitted at the | Bob Wilson | 2010-07-30 | 1 | -0/+6 | |
| | | | | | | | beginning on ARM Darwin assembly files so that it won't be placed after debug sections. Radar 8252813. llvm-svn: 109879 | |||||
* | For ARM/Darwin, add a dwarf entry indicating whether a function is arm or thumb | Jim Grosbach | 2010-07-21 | 1 | -0/+17 | |
| | | | | | | rdar://8202967 llvm-svn: 109057 | |||||
* | sink the arm implementations of ASmPrinter and MCInstLower | Chris Lattner | 2010-07-19 | 1 | -0/+1438 | |
| | | | | | | | | out of the AsmPrinter directory into libarm. Now the ARM InstPrinters depend jsut on the MC stuff, not on vmcore or codegen. llvm-svn: 108783 | |||||
* | Move ARM to pluggable asmprinter | Anton Korobeynikov | 2008-08-17 | 1 | -1030/+0 | |
| | | | | llvm-svn: 54889 | |||||
* | Handle visibility printing with all generality. Remove bunch of duplicate code. | Anton Korobeynikov | 2008-08-08 | 1 | -16/+2 | |
| | | | | llvm-svn: 54540 |