Add missing encoding bits to NLdSt class of instructions.
authorJim Grosbach <grosbach@apple.com>
Tue, 20 Oct 2009 00:19:08 +0000 (00:19 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 20 Oct 2009 00:19:08 +0000 (00:19 +0000)
Patch by Johnny Chen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84570 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrFormats.td

index 3d19f2345d30a7ab700d124246774539959f3922..c60d16f0e21f6cfdeab6dd7e70559ccb0c346c2e 100644 (file)
@@ -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,