aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-10-20 00:19:08 +0000
committerJim Grosbach <grosbach@apple.com>2009-10-20 00:19:08 +0000
commit77ef7774b592306694272b141712dec57a94caab (patch)
treed7f042448ff7d6beb3a93906b37544cb82b7441c
parent6ac9153989bc41f2b4f6b20379870e7caf22b86d (diff)
downloadexternal_llvm-77ef7774b592306694272b141712dec57a94caab.zip
external_llvm-77ef7774b592306694272b141712dec57a94caab.tar.gz
external_llvm-77ef7774b592306694272b141712dec57a94caab.tar.bz2
Add missing encoding bits to NLdSt class of instructions.
Patch by Johnny Chen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84570 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMInstrFormats.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td
index 3d19f23..c60d16f 100644
--- a/lib/Target/ARM/ARMInstrFormats.td
+++ b/lib/Target/ARM/ARMInstrFormats.td
@@ -1220,6 +1220,10 @@ class NLdSt<bit op23, bits<2> op21_20, bits<4> op11_8, bits<4> op7_4,
string asm, string cstr, list<dag> pattern>
: NeonI<oops, iops, AddrMode6, IndexModeNone, itin, asm, cstr, pattern> {
let Inst{31-24} = 0b11110100;
+ let Inst{23} = op23;
+ let Inst{21-20} = op21_20;
+ let Inst{11-8} = op11_8;
+ let Inst{7-4} = op7_4;
}
class NDataI<dag oops, dag iops, InstrItinClass itin,