diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-31 18:32:16 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-31 18:32:16 +0000 |
commit | b7880ac470c8d83580e9327ecb2ce8efc40ca091 (patch) | |
tree | 4430fd55be2b08e5cfd07faa76b41a93d238d6a7 | |
parent | 93c53e5583427ee567293a9a21c6c76fccf218ca (diff) |
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
-rw-r--r-- | lib/Target/ARM/ARMInstrFormats.td | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td index a7c994f2a3..ec600b4c2c 100644 --- a/lib/Target/ARM/ARMInstrFormats.td +++ b/lib/Target/ARM/ARMInstrFormats.td @@ -124,15 +124,16 @@ class AI1<bits<4> opcod, dag oops, dag iops, Format f, string opc, string asm, list<dag> pattern> : I<opcod, oops, iops, AddrMode1, Size4Bytes, IndexModeNone, f, opc, asm, "", pattern> { - let Inst{5-6} = 0; - let Inst{7-10} = opcod; + let Inst{21-24} = opcod; + let Inst{26-27} = 0; } class AsI1<bits<4> opcod, dag oops, dag iops, Format f, string opc, string asm, list<dag> pattern> : sI<opcod, oops, iops, AddrMode1, Size4Bytes, IndexModeNone, f, opc, asm, "", pattern> { - 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<bits<4> opcod, dag oops, dag iops, Format f, string opc, string asm, list<dag> pattern> |