[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstrFormats.td
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 12 15:08:26 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCInstrFormats.td updated: 1.77 -> 1.78
---
Log message:
Fix encoding of rotates, such as rldicl
---
Diffs of the changes: (+3 -3)
PPCInstrFormats.td | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCInstrFormats.td
diff -u llvm/lib/Target/PowerPC/PPCInstrFormats.td:1.77 llvm/lib/Target/PowerPC/PPCInstrFormats.td:1.78
--- llvm/lib/Target/PowerPC/PPCInstrFormats.td:1.77 Tue Jun 27 15:07:26 2006
+++ llvm/lib/Target/PowerPC/PPCInstrFormats.td Wed Jul 12 17:08:13 2006
@@ -619,10 +619,10 @@
let Inst{6-10} = RS;
let Inst{11-15} = RA;
- let Inst{16-20} = SH{1-5};
- let Inst{21-26} = MBE;
+ let Inst{16-20} = { SH{4}, SH{3}, SH{2}, SH{1}, SH{0} };
+ let Inst{21-26} = { MBE{4}, MBE{3}, MBE{2}, MBE{1}, MBE{0}, MBE{5} };
let Inst{27-29} = xo;
- let Inst{30} = SH{0};
+ let Inst{30} = SH{5};
let Inst{31} = RC;
}
More information about the llvm-commits
mailing list