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

Owen Anderson resistor at mac.com
Fri Aug 12 12:41:29 PDT 2011


Author: resistor
Date: Fri Aug 12 14:41:29 2011
New Revision: 137494

URL: http://llvm.org/viewvc/llvm-project?rev=137494&view=rev
Log:
Specify fixed bit in the LDRBT encoding, which allows us to distinguish it from certain USAT16 encodings.

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=137494&r1=137493&r2=137494&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Fri Aug 12 14:41:29 2011
@@ -2164,7 +2164,9 @@
   let Inst{23} = offset{12};
   let Inst{21} = 1; // overwrite
   let Inst{19-16} = addr;
-  let Inst{11-0} = offset{11-0};
+  let Inst{11-5} = offset{11-5};
+  let Inst{4} = 0;
+  let Inst{3-0} = offset{3-0};
   let DecoderMethod = "DecodeAddrMode2IdxInstruction";
 }
 





More information about the llvm-commits mailing list