mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 16:56:39 +00:00
Fix the encoding of ORi and other DForm4 instructions. This brings us to
36/42 SingleSource/UnitTests passing! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18199 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
00a8c01999
commit
2f5091ac2a
@ -130,7 +130,15 @@ class DForm_3<bits<6> opcode, bit ppc64, bit vmx, dag OL, string asmstr>
|
||||
: DForm_1<opcode, ppc64, vmx, OL, asmstr>;
|
||||
|
||||
class DForm_4<bits<6> opcode, bit ppc64, bit vmx, dag OL, string asmstr>
|
||||
: DForm_base<opcode, ppc64, vmx, OL, asmstr>;
|
||||
: I<opcode, ppc64, vmx, OL, asmstr> {
|
||||
bits<5> B;
|
||||
bits<5> A;
|
||||
bits<16> C;
|
||||
|
||||
let Inst{6-10} = A;
|
||||
let Inst{11-15} = B;
|
||||
let Inst{16-31} = C;
|
||||
}
|
||||
|
||||
class DForm_4_zero<bits<6> opcode, bit ppc64, bit vmx, dag OL, string asmstr>
|
||||
: DForm_1<opcode, ppc64, vmx, OL, asmstr> {
|
||||
|
Loading…
Reference in New Issue
Block a user