- Sep 15, 2012
-
-
Akira Hatanaka authored
use load/store fragments defined in TargetSelectionDAG.td in place of them. Unaligned loads/stores are either expanded or lowered to target-specific nodes, so instruction selection should see only aligned load/store nodes. No changes in functionality. llvm-svn: 163960
-
Akira Hatanaka authored
Patch by Reed Kotler. llvm-svn: 163956
-
- Sep 14, 2012
-
-
Dmitri Gribenko authored
* wrap code blocks in \code ... \endcode; * refer to parameter names in paragraphs correctly (\arg is not what most people want -- it starts a new paragraph); * use \param instead of \arg to document parameters in order to be consistent with the rest of the codebase. llvm-svn: 163902
-
Akira Hatanaka authored
1. Add MoveR3216 2. Correct spelling for Move32R16 Patch by Reed Kotler. llvm-svn: 163869
-
- Sep 13, 2012
-
-
Akira Hatanaka authored
immediate operands to be copied. Patch by Reed Kotler. llvm-svn: 163811
-
Akira Hatanaka authored
1. Remove RA from list of allocatable registers 2. Enable d,y,r constraint inline assembly instructions Patch by Reed Kotler. llvm-svn: 163753
-
- Sep 12, 2012
-
-
Michael Liao authored
- BlockAddress has no support of BA + offset form and there is no way to propagate that offset into machine operand; - Add BA + offset support and a new interface 'getTargetBlockAddress' to simplify target block address forming; - All targets are modified to use new interface and X86 backend is enhanced to support BA + offset addressing. llvm-svn: 163743
-
Dmitri Gribenko authored
llvm-svn: 163721
-
- Sep 10, 2012
-
-
Dmitri Gribenko authored
llvm-svn: 163547
-
Benjamin Kramer authored
llvm-svn: 163504
-
- Sep 07, 2012
-
-
Benjamin Kramer authored
llvm-svn: 163383
-
Jack Carter authored
The assembler can alias one instruction into another based on the operands. For example the jump instruction "J" takes and immediate operand, but if the operand is a register the assembler will change it into a jump register "JR" instruction. These changes are in the instruction td file. Test cases included Contributer: Vladimir Medic llvm-svn: 163368
-
Jack Carter authored
Actually these are just stubs for parsing the directives. Semantic support will come later. Test cases included Contributer: Vladimir Medic llvm-svn: 163364
-
Jack Carter authored
Test cases included Contributer: Vladimir Medic llvm-svn: 163363
-
David Blaikie authored
llvm-svn: 163359
-
- Sep 06, 2012
-
-
Jack Carter authored
This includes sb,sc,sh,sw,lb,lw,lbu,lh,lhu,ll,lw Test case included Contributer: Vladimir Medic llvm-svn: 163346
-
Jack Carter authored
assembler such as shifts greater than 32. In the case of direct object, the code gen needs to do this lowering since the assembler is not involved. With the advent of the llvm-mc assembler, it also needs to do the same lowering. This patch makes that specific lowering code accessible to both the direct object output and the assembler. This patch does not affect generated output. llvm-svn: 163287
-
Jack Carter authored
Test case included. Contributer: Vladimir Medic llvm-svn: 163277
-
Jack Carter authored
register support. Test case included. Contributer: Vladimir Medic llvm-svn: 163268
-
Roman Divacky authored
llvm-svn: 163258
-
- Sep 05, 2012
-
-
Logan Chien authored
llvm-svn: 163193
-
Chad Rosier authored
llvm-svn: 163187
-
- Sep 03, 2012
-
-
Chad Rosier authored
the NumMCOperands argument to the GetMCInstOperandNum() function that is set to the number of MCOperands this asm operand mapped to. llvm-svn: 163124
-
Chad Rosier authored
llvm-svn: 163123
-
Chad Rosier authored
MCTargetAsmParser class. llvm-svn: 163122
-
- Aug 31, 2012
-
-
Jack Carter authored
on the size of the extraction and its position in the 64 bit word. This patch allows support of the dext transformations with mips64 direct object output. 0 <= msb < 32 0 <= lsb < 32 0 <= pos < 32 1 <= size <= 32 DINS The field is entirely contained in the right-most word of the doubleword 32 <= msb < 64 0 <= lsb < 32 0 <= pos < 32 2 <= size <= 64 DINSM The field straddles the words of the doubleword 32 <= msb < 64 32 <= lsb < 64 32 <= pos < 64 1 <= size <= 32 DINSU The field is entirely contained in the left-most word of the doubleword llvm-svn: 163010
-
- Aug 28, 2012
-
-
Jack Carter authored
on the size of the extraction and its position in the 64 bit word. This patch allows support of the dext transformations with mips64 direct object output. 0 <= msb < 32 0 <= lsb < 32 0 <= pos < 32 1 <= size <= 32 DINS The field is entirely contained in the right-most word of the doubleword 32 <= msb < 64 0 <= lsb < 32 0 <= pos < 32 2 <= size <= 64 DINSM The field straddles the words of the doubleword 32 <= msb < 64 32 <= lsb < 64 32 <= pos < 64 1 <= size <= 32 DINSU The field is entirely contained in the left-most word of the doubleword llvm-svn: 162782
-
Jack Carter authored
transformed to the final instruction variant. An example would be dsrll which is transformed into dsll32 if the shift value is greater than 32. For direct object output we need to do this transformation in the codegen. If the instruction was inside branch delay slot, it was being missed. This patch corrects this oversight. llvm-svn: 162779
-
Akira Hatanaka authored
Fix a couple of bugs in mips' long branch pass. This patch was supposed to be committed along with r162731, so I don't have a new test case. llvm-svn: 162777
-
Akira Hatanaka authored
Instructions emitted to compute branch offsets now use immediate operands instead of symbolic labels. This change was needed because there were problems when R_MIPS_HI16/LO16 relocations were used to make shared objects. llvm-svn: 162731
-
- Aug 25, 2012
-
-
Richard Smith authored
Reviewed offline by chandlerc. llvm-svn: 162623
-
- Aug 24, 2012
-
-
Akira Hatanaka authored
llvm-svn: 162589
-
Akira Hatanaka authored
second operand is MipsISD::GPRel. llvm-svn: 162584
-
Jakob Stoklund Olesen authored
llvm-svn: 162557
-
- Aug 23, 2012
-
-
Craig Topper authored
llvm-svn: 162426
-
Akira Hatanaka authored
the temporary register that was used to load the immediate. Currently, it always returns register $at, but this will change if, in the future, we decide to use another register. No changes in functionality. llvm-svn: 162417
-
Akira Hatanaka authored
Mips16RegisterInfo/MipsSERegisterInfo. No changes in functionality. llvm-svn: 162413
-
- Aug 22, 2012
-
-
Craig Topper authored
Add a getName function to MachineFunction. Use it in places that previously did getFunction()->getName(). Remove includes of Function.h that are no longer needed. llvm-svn: 162347
-
Akira Hatanaka authored
to prevent it from being clobbered. mips uses $gp to access small data section. This bug was originally reported by Carl Norum. llvm-svn: 162340
-
Akira Hatanaka authored
default. Patch by Carl Norum. llvm-svn: 162339
-