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 | 5b6c931e1f6b03d6aa1ce9c610d5abd65d0a8b31 (patch) | |
tree | bbe307c37cdb082814e157b3a43b897e8b714f11 | |
parent | afe2a9fe7745d85c3522299723946d9a72b90f63 (diff) | |
download | bcm5719-llvm-5b6c931e1f6b03d6aa1ce9c610d5abd65d0a8b31.tar.gz bcm5719-llvm-5b6c931e1f6b03d6aa1ce9c610d5abd65d0a8b31.zip |
Addr1 instructions opcodes are encoded in bits 21-24; encode S bit.
llvm-svn: 55590
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrFormats.td | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrFormats.td b/llvm/lib/Target/ARM/ARMInstrFormats.td index a7c994f2a3f..ec600b4c2c1 100644 --- a/llvm/lib/Target/ARM/ARMInstrFormats.td +++ b/llvm/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> |