From b7880ac470c8d83580e9327ecb2ce8efc40ca091 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sun, 31 Aug 2008 18:32:16 +0000 Subject: [PATCH] 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 --- lib/Target/ARM/ARMInstrFormats.td | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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>