1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Fix encoding of rotates, such as rldicl

llvm-svn: 29128
This commit is contained in:
Chris Lattner 2006-07-12 22:08:13 +00:00
parent b77e687f6f
commit 726ca018c0

View File

@ -619,10 +619,10 @@ class MDForm_1<bits<6> opcode, bits<3> xo, dag OL, string asmstr,
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;
}