summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2009-12-14 21:01:46 +0000
committerJohnny Chen <johnny.chen@apple.com>2009-12-14 21:01:46 +0000
commitacba3b0ae2a7e41d4a268a4c674ee8f17708723f (patch)
tree16c459c9df30344946aebd84902b49182ea77914
parent488173573698697f312a208c77f2188294d6e3f7 (diff)
downloadbcm5719-llvm-acba3b0ae2a7e41d4a268a4c674ee8f17708723f.tar.gz
bcm5719-llvm-acba3b0ae2a7e41d4a268a4c674ee8f17708723f.zip
Fixed encoding bits typo of ldrexd/strexd.
llvm-svn: 91327
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td
index 8f947febb61..363ff7a9516 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.td
+++ b/llvm/lib/Target/ARM/ARMInstrInfo.td
@@ -1709,7 +1709,7 @@ def LDREXH : AIldrex<0b11, (outs GPR:$dest), (ins GPR:$ptr), NoItinerary,
def LDREX : AIldrex<0b00, (outs GPR:$dest), (ins GPR:$ptr), NoItinerary,
"ldrex", "\t$dest, [$ptr]",
[]>;
-def LDREXD : AIldrex<0b00, (outs GPR:$dest, GPR:$dest2), (ins GPR:$ptr),
+def LDREXD : AIldrex<0b01, (outs GPR:$dest, GPR:$dest2), (ins GPR:$ptr),
NoItinerary,
"ldrexd", "\t$dest, $dest2, [$ptr]",
[]>;
@@ -1728,7 +1728,7 @@ def STREX : AIstrex<0b00, (outs GPR:$success), (ins GPR:$src, GPR:$ptr),
NoItinerary,
"strex", "\t$success, $src, [$ptr]",
[]>;
-def STREXD : AIstrex<0b00, (outs GPR:$success),
+def STREXD : AIstrex<0b01, (outs GPR:$success),
(ins GPR:$src, GPR:$src2, GPR:$ptr),
NoItinerary,
"strexd", "\t$success, $src, $src2, [$ptr]",
OpenPOWER on IntegriCloud