summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MBlaze/MBlazeMCCodeEmitter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor MBlaze target to separate MC routines from Target routines.Evan Cheng2011-07-251-222/+0
| | | | llvm-svn: 135953
* Most MCCodeEmitter's don't meed MCContext.Evan Cheng2011-07-111-2/+1
| | | | llvm-svn: 134922
* - Eliminate MCCodeEmitter's dependency on TargetMachine. It now uses MCInstrInfoEvan Cheng2011-07-111-8/+8
| | | | | | | | | | | | and MCSubtargetInfo. - Added methods to update subtarget features (used when targets automatically detect subtarget features or switch modes). - Teach X86Subtarget to update MCSubtargetInfo features bits since the MCSubtargetInfo layer can be shared with other modules. - These fixes .code 16 / .code 32 support since mode switch is updated in MCSubtargetInfo so MC code emitter can do the right thing. llvm-svn: 134884
* - Rename TargetInstrDesc, TargetOperandInfo to MCInstrDesc and MCOperandInfo andEvan Cheng2011-06-281-1/+1
| | | | | | | | sink them into MC layer. - Added MCInstrInfo, which captures the tablegen generated static data. Chang TargetInstrInfo so it's based off MCInstrInfo. llvm-svn: 134021
* MC: Move target specific fixup info descriptors to TargetAsmBackend instead ofDaniel Dunbar2010-12-161-4/+0
| | | | | | | the MCCodeEmitter, which seems like a better organization. - Also, cleaned up some magic constants while in the area. llvm-svn: 121953
* The ADD and ADDK (and all variants) instructions where flip-flopped in the ↵Wesley Peck2010-12-121-2/+2
| | | | | | MBlaze backend. This bug fix makes 64-bit math work on the MBlaze backend. llvm-svn: 121649
* Define generic 1, 2 and 4 byte pc relative relocations. They are commonRafael Espindola2010-11-281-19/+2
| | | | | | and at least the 4 byte one will be needed to implement the .cfi_* directives. llvm-svn: 120240
* Implement ELF object file writing support for the MBlaze backend. Its not ↵Wesley Peck2010-11-211-51/+42
| | | | | | perfect yet, but it works for many tests. llvm-svn: 119952
* add fields to the .td files unconditionally, simplifying tblgen a bit.Chris Lattner2010-11-151-1/+1
| | | | | | Switch the ARM backend to use 'let' instead of 'set' with this change. llvm-svn: 119120
* Fix tblgen instruction errors exposed by MC asm parser testsWesley Peck2010-11-111-1/+1
| | | | | | | Fix minimum 16-bit signed value error exposed by MC asm parser tests Add initial MC asm parser tests for the MBlaze backend llvm-svn: 118844
* Adding working version of assembly parser for the MBlaze backendWesley Peck2010-11-081-15/+15
| | | | | | Major cleanup of whitespace and formatting issues in MBlaze backend llvm-svn: 118434
* Adding disassembler to the MicroBlaze backend.Wesley Peck2010-10-271-14/+32
| | | | llvm-svn: 117420
* Recommit 116986 with capitalization typo fixed.Wesley Peck2010-10-211-0/+235
| | | | llvm-svn: 116993
* Reverting the commit 116986. It was breaking the build on llvm-x86_64-linux ↵Wesley Peck2010-10-211-235/+0
| | | | | | | | | though it compiles on OS X. I'll ensure that it builds on a linux machine before committing again. llvm-svn: 116991
* Major update of the MicroBlaze backend. The new features are:Wesley Peck2010-10-211-0/+235
1. A delay slot filler that searches for valid instructions to fill the delay slot with. Previously NOPs would always be inserted into delay slots. 2. Support for MC based instruction printer added. 3. Support for MC based machine code generation and ELF file generation. ELF file generation does not yet completely work as much of the ELF support infrastructure is still x86/x86-64 specific. 4. General clean up of the MBlaze backend code. Much of the tablegen code has been cleanup and simplified. Bug Fixes: 1. Removed duplicate periods from subtarget feature descriptions. 2. Many of the instructions had bad machine code information in the tablegen files. Much of this has been fixed. llvm-svn: 116986
OpenPOWER on IntegriCloud