summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
* reimplement ppc asmprinter "toc" handling to use a VariantKindChris Lattner2010-11-142-3/+27
| | | | | | | | on the operand, required for .o file writing and fixing the PowerPC/mult-alt-generic-powerpc64.ll failure with the new instprinter. llvm-svn: 119087
* lower PPC::MFCRpseud when transforming to MC, avoiding callingChris Lattner2010-11-142-2/+18
| | | | | | the aborting printSpecial() method. This gets us to 8 failures. llvm-svn: 119084
* make the stubbed-out printer methods abort instead of Chris Lattner2010-11-142-3/+18
| | | | | | printing nothing. This gets us back up to 24 failures. llvm-svn: 119083
* wire up a few more things, down to 4 test failures, allChris Lattner2010-11-142-19/+39
| | | | | | about handling $stub, lo/hi etc. llvm-svn: 119082
* properly wire up the instprinter to the ppc64 backend, down to 5 failures.Chris Lattner2010-11-141-1/+1
| | | | llvm-svn: 119081
* implement pretty printing support for the various pseudoChris Lattner2010-11-141-0/+45
| | | | | | | ops the asmprinter supported, fixing PowerPC/rlwimi2.ll among others. Down to 20 failures. llvm-svn: 119080
* Wire up symbol hi/lo printing. We don't print hi()/lo(), but this getsChris Lattner2010-11-142-4/+17
| | | | | | us further along. Only 28 failures now. llvm-svn: 119079
* implement basic support for symbol operand lowering,Chris Lattner2010-11-143-3/+63
| | | | | | and printing support for call operands. Down to 77 failures. llvm-svn: 119078
* trim #includes.Chris Lattner2010-11-141-5/+1
| | | | llvm-svn: 119075
* switch PPC to a simplified MCInstLowering model.Chris Lattner2010-11-144-92/+13
| | | | llvm-svn: 119074
* fix PPC.h to not pull in TargetMachine.hChris Lattner2010-11-141-2/+2
| | | | llvm-svn: 119072
* rename LowerToMCInst -> LowerARMMachineInstrToMCInst.Chris Lattner2010-11-143-5/+7
| | | | llvm-svn: 119071
* even more simplifications. ARM MCInstLowering is now justChris Lattner2010-11-144-60/+19
| | | | | | | a single function instead of a class. It doesn't need the complexity that X86 does. llvm-svn: 119070
* more shrinkificationChris Lattner2010-11-142-10/+1
| | | | llvm-svn: 119068
* more simplifications.Chris Lattner2010-11-142-92/+18
| | | | llvm-svn: 119067
* simplify and tidy upChris Lattner2010-11-143-41/+16
| | | | llvm-svn: 119066
* implement basic support for memory operands and crbit operands,Chris Lattner2010-11-142-5/+72
| | | | | | this fixes 3 more ppc tests. llvm-svn: 119065
* implement several trivial operand printers, reducingChris Lattner2010-11-142-6/+56
| | | | | | failures in CodeGen/PowerPC from 120 -> 117 llvm-svn: 119063
* Implement support for printing register and immediate operands,Chris Lattner2010-11-143-6/+46
| | | | | | | | | | | | | | add support for darwin vs aix syntax. We now can print instructions like this: add r3, r3, r4 blr and (in aix mode): add 3, 3, 4 blr llvm-svn: 119062
* stub out PPCMCInstLowering, add a new option that uses it and the newChris Lattner2010-11-144-0/+154
| | | | | | instprinter when -enable-ppc-inst-printer is passed to llc. llvm-svn: 119061
* stub out a powerpc MCInstPrinter implementation.Chris Lattner2010-11-147-2/+145
| | | | llvm-svn: 119059
* move all the target's asmprinters into the main target. The piece Chris Lattner2010-11-1440-188/+16
| | | | | | | that should be split out is the InstPrinter (if a target is mc'ized). This change makes all the targets be consistent. llvm-svn: 119056
* move PPCAsmPrinter into the main PPC library, like ARM and X86.Chris Lattner2010-11-145-22/+2
| | | | llvm-svn: 119054
* fix cmakeChris Lattner2010-11-141-1/+0
| | | | llvm-svn: 119053
* remove JIT support from the Alpha backend. The JIT will be moving to MC, Chris Lattner2010-11-148-604/+2
| | | | | | and the Alpha backend isn't MCized yet. Approved by Andrew. llvm-svn: 119051
* random acts of tidiness.Chris Lattner2010-11-141-10/+5
| | | | llvm-svn: 119049
* Second attempt at providing correct encodings for Thumb2 binary operators.Owen Anderson2010-11-141-51/+105
| | | | llvm-svn: 119029
* Recognise 32-bit ror-based bswap implementation used by uclibcPeter Collingbourne2010-11-131-0/+29
| | | | llvm-svn: 119007
* Support ; as asm separatorPeter Collingbourne2010-11-131-1/+1
| | | | llvm-svn: 119006
* Comment out the defms until they're activated.Bill Wendling2010-11-133-3/+7
| | | | llvm-svn: 119000
* Add uses of the *_ldst_multi multiclasses. These aren't used yet.Bill Wendling2010-11-134-0/+48
| | | | llvm-svn: 118999
* Convert the modes to lower case.Bill Wendling2010-11-134-22/+22
| | | | llvm-svn: 118998
* Minor cleanups:Bill Wendling2010-11-132-11/+14
| | | | | | | - Get the opcode once. - Add a ParserMatchClass to reglist. llvm-svn: 118997
* Add *_ldst_mult multiclasses to the ARM back-end. These will be used in theBill Wendling2010-11-135-0/+229
| | | | | | | future to separate out the ia, ib, da, db variants of the load/store multiple instructions. llvm-svn: 118995
* MC: Simplify Mach-O and ELF object writer implementations.Daniel Dunbar2010-11-133-28/+25
| | | | | | - What was I thinking????? llvm-svn: 118992
* Fixed error and re-enabled MBlaze MC disassembler tests.Wesley Peck2010-11-131-0/+3
| | | | llvm-svn: 118987
* Conditional moves are slightly more expensive than moves.Evan Cheng2010-11-136-10/+11
| | | | llvm-svn: 118985
* 1. Adding test cases for MBlaze MC disassembler.Wesley Peck2010-11-133-14/+87
| | | | | | | 2. Fixing several errors in disassembler uncovered by test cases. 3. Fixing invalid encoding of PCMPEQ and PCMPNE uncovered by test cases. llvm-svn: 118969
* Add conditional move of large immediate.Evan Cheng2010-11-134-18/+47
| | | | llvm-svn: 118968
* Swap multiclass operand order for consistency with other patterns.Jim Grosbach2010-11-131-3/+3
| | | | llvm-svn: 118965
* Continue ARM indexed load refactoring. Multiclass for LDR{B} pre/post indexedJim Grosbach2010-11-131-18/+12
| | | | | | instructions. llvm-svn: 118963
* More ARM load/store indexed refactoring. Also fix an incorrect IndexModeJim Grosbach2010-11-132-75/+54
| | | | | | flag for the LDRT/STRT family instructions as a side effect. llvm-svn: 118955
* Revert r118917, which is implicated in the llvm-gcc-i386-linux-selfhost failure.Dan Gohman2010-11-131-5/+5
| | | | llvm-svn: 118954
* Fix an obvious typo which inverted an immediate.Evan Cheng2010-11-131-1/+1
| | | | llvm-svn: 118951
* 1. Adding missing immediate mode asm parser test cases.Wesley Peck2010-11-131-2/+2
| | | | | | 2. Fixing improper immediate mode reverse subtract. llvm-svn: 118948
* Temporarily revert this.Eric Christopher2010-11-121-5/+4
| | | | llvm-svn: 118946
* For pre-v6t2 targets, only select MOVi32imm if the immediate can be handled ↵Evan Cheng2010-11-123-15/+11
| | | | | | with movi + orr. llvm-svn: 118945
* Fixing improperly encoded reverse subtract instructions in MBlaze backend.Wesley Peck2010-11-122-9/+8
| | | | llvm-svn: 118943
* Revert r118939 while I work out why it broke some buildbots.Owen Anderson2010-11-121-65/+52
| | | | llvm-svn: 118942
* 1. Finishing MBlaze MC asm parser test casesWesley Peck2010-11-1211-170/+222
| | | | | | | | | | 2. Parsing .word directive in MBlaze asm parser 3. Fixing hack where memory instructions reversed order of last two parameters 4. Fixing many improperly encoded instructions 5. Support parsing special instructions (MFS,MTS,etc.) 6. Removing unused functions from inst printer llvm-svn: 118941
OpenPOWER on IntegriCloud