From: Evan Cheng Date: Sun, 31 Aug 2008 18:32:16 +0000 (+0000) Subject: Addr1 instructions opcodes are encoded in bits 21-24; encode S bit. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b7880ac470c8d83580e9327ecb2ce8efc40ca091;p=oota-llvm.git Addr1 instructions opcodes are encoded in bits 21-24; encode S bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55590 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td index a7c994f2a3f..ec600b4c2c1 100644 --- a/lib/Target/ARM/ARMInstrFormats.td +++ b/lib/Target/ARM/ARMInstrFormats.td @@ -124,15 +124,16 @@ class AI1 opcod, dag oops, dag iops, Format f, string opc, string asm, list pattern> : I { - let Inst{5-6} = 0; - let Inst{7-10} = opcod; + let Inst{21-24} = opcod; + let Inst{26-27} = 0; } class AsI1 opcod, dag oops, dag iops, Format f, string opc, string asm, list pattern> : sI { - let Inst{5-6} = 0; - let Inst{7-10} = opcod; + let Inst{20} = 1; + let Inst{21-24} = opcod; + let Inst{26-27} = 0; } class AI2 opcod, dag oops, dag iops, Format f, string opc, string asm, list pattern>