diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-31 19:02:21 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-31 19:02:21 +0000 |
commit | 17222df0ecf8b0fbcf17b050dd18174ca845fbe6 (patch) | |
tree | 7037cb23beed5eca3f02a7f39d3f92e45ca71300 /lib/Target/ARM/ARMInstrInfo.td | |
parent | b7880ac470c8d83580e9327ecb2ce8efc40ca091 (diff) | |
download | external_llvm-17222df0ecf8b0fbcf17b050dd18174ca845fbe6.zip external_llvm-17222df0ecf8b0fbcf17b050dd18174ca845fbe6.tar.gz external_llvm-17222df0ecf8b0fbcf17b050dd18174ca845fbe6.tar.bz2 |
Addr2 word / byte load encodings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.td')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index aa6512f..17bdd23 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -587,13 +587,13 @@ let isBranch = 1, isTerminator = 1 in { // Load let isSimpleLoad = 1 in -def LDR : AI2<0x0, (outs GPR:$dst), (ins addrmode2:$addr), LdFrm, +def LDR : AI2ldw<0x0, (outs GPR:$dst), (ins addrmode2:$addr), LdFrm, "ldr", " $dst, $addr", [(set GPR:$dst, (load addrmode2:$addr))]>; // Special LDR for loads from non-pc-relative constpools. let isSimpleLoad = 1, mayLoad = 1, isReMaterializable = 1 in -def LDRcp : AI2<0x0, (outs GPR:$dst), (ins addrmode2:$addr), LdFrm, +def LDRcp : AI2ldw<0x0, (outs GPR:$dst), (ins addrmode2:$addr), LdFrm, "ldr", " $dst, $addr", []>; // Loads with zero extension @@ -601,7 +601,7 @@ def LDRH : AI3<0xB, (outs GPR:$dst), (ins addrmode3:$addr), LdFrm, "ldr", "h $dst, $addr", [(set GPR:$dst, (zextloadi16 addrmode3:$addr))]>; -def LDRB : AI2<0x1, (outs GPR:$dst), (ins addrmode2:$addr), LdFrm, +def LDRB : AI2ldb<0x1, (outs GPR:$dst), (ins addrmode2:$addr), LdFrm, "ldr", "b $dst, $addr", [(set GPR:$dst, (zextloadi8 addrmode2:$addr))]>; |