- Jul 24, 2009
-
-
Evan Cheng authored
llvm-svn: 77004
-
Evan Cheng authored
llvm-svn: 76986
-
David Goodwin authored
Correctly handle the Thumb-2 imm8 addrmode. Specialize frame index elimination more exactly for Thumb-2 to get better code gen. llvm-svn: 76919
-
Evan Cheng authored
llvm-svn: 76909
-
- Jul 23, 2009
-
-
Evan Cheng authored
Since we have moved unified assembly, switch to ADR instruction instead of a the difficult-to-read .set + add syntax to materialize pc-relative address. Turns out this also fixed a poor code selection on Thumb1. I have no idea why we were using a mov + add to do the same thing as ADR before. llvm-svn: 76889
-
David Goodwin authored
Fix frame index elimination to correctly handle thumb-2 addressing modes that don't allow negative offsets. During frame elimination convert *i12 opcode to a *i8 when necessary due to a negative offset. llvm-svn: 76883
-
Evan Cheng authored
llvm-svn: 76803
-
- Jul 22, 2009
-
-
Evan Cheng authored
llvm-svn: 76729
-
- Jul 21, 2009
-
-
David Goodwin authored
llvm-svn: 76489
-
- Jul 11, 2009
-
-
Evan Cheng authored
Major changes to Thumb (not Thumb2). Many 16-bit instructions either modifies CPSR when they are outside the IT blocks, or they can predicated when in Thumb2. Move the implicit def of CPSR to an optional def which defaults CPSR. This allows the 's' bit to be toggled dynamically. A side-effect of this change is asm printer is now using unified assembly. There are some minor clean ups and fixes as well. llvm-svn: 75359
-
- Jul 10, 2009
-
-
Evan Cheng authored
llvm-svn: 75218
-
Evan Cheng authored
llvm-svn: 75188
-
Evan Cheng authored
Fix ldrd / strd address mode matching code. It allows for +/- 8 bit offset. Also change the printer to make the scale 4 explicit. Note, we are not yet generating these instructions. llvm-svn: 75181
-
- Jul 09, 2009
-
-
Evan Cheng authored
llvm-svn: 75172
-
David Goodwin authored
llvm-svn: 75067
-
- Jul 08, 2009
-
-
Evan Cheng authored
Change how so_imm and t2_so_imm are handled. At instruction selection time, the immediates are no longer encoded in the imm8 + rot format, that are left as it is. The encoding is now done in ams printing and code emission time instead. llvm-svn: 75048
-
David Goodwin authored
llvm-svn: 75036
-
David Goodwin authored
Checkpoint Thumb2 Instr info work. Generalized base code so that it can be shared between ARM and Thumb2. Not yet activated because register information must be generalized first. llvm-svn: 75010
-
- Jul 07, 2009
-
-
Evan Cheng authored
llvm-svn: 74946
-
Evan Cheng authored
llvm-svn: 74895
-
Evan Cheng authored
llvm-svn: 74889
-
Evan Cheng authored
llvm-svn: 74868
-
- Jul 03, 2009
-
-
Evan Cheng authored
llvm-svn: 74755
-
Evan Cheng authored
llvm-svn: 74749
-
Evan Cheng authored
llvm-svn: 74741
-
Evan Cheng authored
llvm-svn: 74740
-
Evan Cheng authored
llvm-svn: 74736
-
- Jul 02, 2009
-
-
Evan Cheng authored
llvm-svn: 74696
-
Evan Cheng authored
Change the meaning of predicate hasThumb2 to mean thumb2 ISA is available, not that it's in thumb mode and thumb2 is available. Added isThumb2 predicate to replace the old predicate. llvm-svn: 74692
-
- Jul 01, 2009
-
-
David Goodwin authored
llvm-svn: 74577
-
David Goodwin authored
llvm-svn: 74566
-
David Goodwin authored
llvm-svn: 74555
-
- Jun 30, 2009
-
-
David Goodwin authored
llvm-svn: 74549
-
David Goodwin authored
llvm-svn: 74543
-
Evan Cheng authored
llvm-svn: 74500
-
David Goodwin authored
llvm-svn: 74468
-
- 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
-
David Goodwin authored
llvm-svn: 74357
-