From 04da9bf9f133a3e5233d10885a38e1d14199549c Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Fri, 10 Dec 2010 20:51:35 +0000 Subject: [PATCH] Tidy up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121522 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMInstrFormats.td | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td index e936dc575b8..a035cca8cac 100644 --- a/lib/Target/ARM/ARMInstrFormats.td +++ b/lib/Target/ARM/ARMInstrFormats.td @@ -1009,25 +1009,22 @@ class T2Iso pattern> : Thumb2I; -class T2Ii8s4 pattern> : Thumb2I { - let Inst{31-27} = 0b11101; - let Inst{26-25} = 0b00; - let Inst{24} = P; - let Inst{23} = ?; // The U bit. - let Inst{22} = 1; - let Inst{21} = W; - let Inst{20} = load; - bits<4> Rt; bits<4> Rt2; bits<13> addr; + let Inst{31-25} = 0b1110100; + let Inst{24} = P; + let Inst{23} = addr{8}; + let Inst{22} = 1; + let Inst{21} = W; + let Inst{20} = isLoad; + let Inst{19-16} = addr{12-9}; let Inst{15-12} = Rt{3-0}; let Inst{11-8} = Rt2{3-0}; - let Inst{19-16} = addr{12-9}; - let Inst{23} = addr{8}; let Inst{7-0} = addr{7-0}; } -- 2.34.1