Fix DForm_4: format is `op r, r, i'
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 10 Aug 2004 18:07:55 +0000 (18:07 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 10 Aug 2004 18:07:55 +0000 (18:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15613 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCInstrFormats.td

index 7e54786f8c89a8ba55c2b147414d1e1bea8763ae..84d54960f3e6790e0fb2772af31f999f0443fb0b 100644 (file)
@@ -139,7 +139,6 @@ class DForm_2<string name, bits<6> opcode, bit ppc64, bit vmx>
 class DForm_2_r0<string name, bits<6> opcode, bit ppc64, bit vmx> 
   : DForm_base<name, opcode, ppc64, vmx> {
   let Arg1Type = Gpr0.Value;
-  let B = 0;
 }
 
 // Currently we make the use/def reg distinction in ISel, not tablegen
@@ -147,7 +146,9 @@ class DForm_3<string name, bits<6> opcode, bit ppc64, bit vmx>
   : DForm_1<name, opcode, ppc64, vmx>;
 
 class DForm_4<string name, bits<6> opcode, bit ppc64, bit vmx> 
-  : DForm_1<name, opcode, ppc64, vmx>;
+  : DForm_base<name, opcode, ppc64, vmx> {
+  let Arg2Type = Zimm16.Value;
+}
 
 class DForm_4_zero<string name, bits<6> opcode, bit ppc64, bit vmx> 
   : DForm_1<name, opcode, ppc64, vmx> {