[llvm-commits] [llvm] r91327 - /llvm/trunk/lib/Target/ARM/ARMInstrInfo.td

Johnny Chen johnny.chen at apple.com
Mon Dec 14 13:01:46 PST 2009


Author: johnny
Date: Mon Dec 14 15:01:46 2009
New Revision: 91327

URL: http://llvm.org/viewvc/llvm-project?rev=91327&view=rev
Log:
Fixed encoding bits typo of ldrexd/strexd.

Modified:
    llvm/trunk/lib/Target/ARM/ARMInstrInfo.td

Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrInfo.td?rev=91327&r1=91326&r2=91327&view=diff

==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Mon Dec 14 15:01:46 2009
@@ -1709,7 +1709,7 @@
 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 @@
                     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]",





More information about the llvm-commits mailing list