[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCInstrFormats.td

Misha Brukman brukman at cs.uiuc.edu
Tue Aug 10 11:08:05 PDT 2004



Changes in directory llvm/lib/Target/PowerPC:

PowerPCInstrFormats.td updated: 1.6 -> 1.7
---
Log message:

Fix DForm_4: format is `op r, r, i'


---
Diffs of the changes:  (+3 -2)

Index: llvm/lib/Target/PowerPC/PowerPCInstrFormats.td
diff -u llvm/lib/Target/PowerPC/PowerPCInstrFormats.td:1.6 llvm/lib/Target/PowerPC/PowerPCInstrFormats.td:1.7
--- llvm/lib/Target/PowerPC/PowerPCInstrFormats.td:1.6	Mon Aug  9 14:13:25 2004
+++ llvm/lib/Target/PowerPC/PowerPCInstrFormats.td	Tue Aug 10 13:07:55 2004
@@ -139,7 +139,6 @@
 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 @@
   : 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> {






More information about the llvm-commits mailing list