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>