[llvm-commits] [llvm] r122076 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Jim Grosbach
grosbach at apple.com
Fri Dec 17 10:42:56 PST 2010
Author: grosbach
Date: Fri Dec 17 12:42:56 2010
New Revision: 122076
URL: http://llvm.org/viewvc/llvm-project?rev=122076&view=rev
Log:
Add bits 31-28 to the Thumb2 encoding of TBB/TBH.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td?rev=122076&r1=122075&r2=122076&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Fri Dec 17 12:42:56 2010
@@ -3003,7 +3003,7 @@
"tbb", "\t[$Rn, $Rm]", []> {
bits<4> Rn;
bits<4> Rm;
- let Inst{27-20} = 0b10001101;
+ let Inst{31-20} = 0b111010001101;
let Inst{19-16} = Rn;
let Inst{15-5} = 0b11110000000;
let Inst{4} = 0; // B form
@@ -3014,7 +3014,7 @@
"tbh", "\t[$Rn, $Rm, lsl #1]", []> {
bits<4> Rn;
bits<4> Rm;
- let Inst{27-20} = 0b10001101;
+ let Inst{31-20} = 0b111010001101;
let Inst{19-16} = Rn;
let Inst{15-5} = 0b11110000000;
let Inst{4} = 1; // H form
More information about the llvm-commits
mailing list