- Jun 30, 2009
-
-
Evan Cheng authored
llvm-svn: 74500
-
- Jun 29, 2009
-
-
David Goodwin authored
Rename ARMcmpNZ to ARMcmpZ and use it to represent comparisons that set only the Z flag (i.e. eq and ne). Make ARMcmpZ commutative. llvm-svn: 74423
-
Evan Cheng authored
After much back and forth, I decided to deviate from ARM design and split LDR into 4 instructions (r + imm12, r + imm8, r + r << imm12, constantpool). The advantage of this is 1) it follows the latest ARM technical manual, and 2) makes it easier to reduce the width of the instruction later. The down side is this creates more inconsistency between the two sub-targets. We should split ARM LDR instruction in a similar fashion later. I've added a README entry for this. llvm-svn: 74420
-
- Jun 27, 2009
-
-
Evan Cheng authored
llvm-svn: 74368
-
- Jun 26, 2009
-
-
Evan Cheng authored
llvm-svn: 74236
-
David Goodwin authored
llvm-svn: 74219
-
- Jun 25, 2009
-
-
David Goodwin authored
llvm-svn: 74185
-
Evan Cheng authored
llvm-svn: 74152
-
Evan Cheng authored
llvm-svn: 74141
-
- Jun 23, 2009
-
-
Evan Cheng authored
Add IsThumb1Only to most 16-bit thumb instructions since we want to isel 32-bit instructions when they are available. llvm-svn: 73985
-
Bob Wilson authored
another change that makes the types ambiguous (at least as far as tablegen is concerned). llvm-svn: 73909
-
- Jun 19, 2009
-
-
Eli Friedman authored
while experimenting. I'm reasonably sure this is correct, but please tell me if these instructions have some strange property which makes this change unsafe. llvm-svn: 73746
-
- Jun 12, 2009
-
-
Evan Cheng authored
llvm-svn: 73252
-
- May 13, 2009
-
-
Jim Grosbach authored
llvm-svn: 71602
-
- Apr 07, 2009
-
-
rdar://problem/6584986Jim Grosbach authored
When compiling in Thumb mode, only the low (R0-R7) registers are available for most instructions. Breaking the low registers into a new register class handles this. Uses of R12, SP, etc, are handled explicitly where needed with copies inserted to move results into low registers where the rest of the code generator can deal with them. llvm-svn: 68545
-
- Mar 28, 2009
-
-
Jim Grosbach authored
llvm-svn: 67874
-
- Dec 03, 2008
-
-
Dan Gohman authored
llvm-svn: 60487
-
- Sep 12, 2008
-
-
Dan Gohman authored
with ConstantInt. This led to fixing a bug in TargetLowering.cpp using getValue instead of getAPIntValue. llvm-svn: 56159
-
- Aug 29, 2008
-
-
Evan Cheng authored
llvm-svn: 55528
-
- Jan 17, 2008
-
-
Chris Lattner authored
1. Legalize now always promotes truncstore of i1 to i8. 2. Remove patterns and gunk related to truncstore i1 from targets. 3. Rename the StoreXAction stuff to TruncStoreAction in TLI. 4. Make the TLI TruncStoreAction table a 2d table to handle from/to conversions. 5. Mark a wide variety of invalid truncstores as such in various targets, e.g. X86 currently doesn't support truncstore of any of its integer types. 6. Add legalize support for truncstores with invalid value input types. 7. Add a dag combine transform to turn store(truncate) into truncstore when safe. The later allows us to compile CodeGen/X86/storetrunc-fp.ll to: _foo: fldt 20(%esp) fldt 4(%esp) faddp %st(1) movl 36(%esp), %eax fstps (%eax) ret instead of: _foo: subl $4, %esp fldt 24(%esp) fldt 8(%esp) faddp %st(1) fstps (%esp) movl 40(%esp), %eax movss (%esp), %xmm0 movss %xmm0, (%eax) addl $4, %esp ret llvm-svn: 46140
-
- Jan 10, 2008
-
-
Chris Lattner authored
llvm-svn: 45821
-
- Jan 08, 2008
-
-
Evan Cheng authored
llvm-svn: 45727
-
- Jan 07, 2008
-
-
Chris Lattner authored
llvm-svn: 45667
-
- Jan 06, 2008
-
-
Chris Lattner authored
llvm-svn: 45656
-
Chris Lattner authored
llvm-svn: 45653
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- Nov 13, 2007
-
-
Bill Wendling authored
adjustment fields, and an optional flag. If there is a "dynamic_stackalloc" in the code, make sure that it's bracketed by CALLSEQ_START and CALLSEQ_END. If not, then there is the potential for the stack to be changed while the stack's being used by another instruction (like a call). This can only result in tears... llvm-svn: 44037
-
- Sep 11, 2007
-
-
Evan Cheng authored
llvm-svn: 41863
-
- Aug 07, 2007
-
-
Evan Cheng authored
llvm-svn: 40887
-
- Jul 21, 2007
-
-
Evan Cheng authored
llvm-svn: 40132
-
- Jul 19, 2007
-
-
Evan Cheng authored
InOperandList. This gives one piece of important information: # of results produced by an instruction. An example of the change: def ADD32rr : I<0x01, MRMDestReg, (ops GR32:$dst, GR32:$src1, GR32:$src2), "add{l} {$src2, $dst|$dst, $src2}", [(set GR32:$dst, (add GR32:$src1, GR32:$src2))]>; => def ADD32rr : I<0x01, MRMDestReg, (outs GR32:$dst), (ins GR32:$src1, GR32:$src2), "add{l} {$src2, $dst|$dst, $src2}", [(set GR32:$dst, (add GR32:$src1, GR32:$src2))]>; llvm-svn: 40033
-
- Jul 10, 2007
-
-
Evan Cheng authored
llvm-svn: 38501
-
- Jul 07, 2007
-
-
Evan Cheng authored
llvm-svn: 37965
-
- Jul 05, 2007
-
-
Evan Cheng authored
Each ARM use predicate operand is now made up of two components. The new component is the CPSR register. llvm-svn: 37895
-
- Jun 26, 2007
-
-
Dan Gohman authored
instruction flag, and use the flag along with a virtual member function hook for targets to override if there are instructions that are only trivially rematerializable with specific operands (i.e. constant pool loads). llvm-svn: 37728
-
- Jun 19, 2007
-
-
Dan Gohman authored
with a general target hook to identify rematerializable instructions. Some instructions are only rematerializable with specific operands, such as loads from constant pools, while others are always rematerializable. This hook allows both to be identified as being rematerializable with the same mechanism. llvm-svn: 37644
-
Evan Cheng authored
llvm-svn: 37643
-
- Jun 08, 2007
-
-
Evan Cheng authored
llvm-svn: 37516
-
- Jun 06, 2007
-
-
Evan Cheng authored
llvm-svn: 37468
-
- May 16, 2007
-
-
Evan Cheng authored
llvm-svn: 37125
-