//===----------------------------------------------------------------------===//
class Format<bits<5> val> {
- bits<5> Value = val;
+ bits<5> Value = val;
}
def Pseudo: Format<0>;
// 1.7.1 I-Form
class IForm<bits<6> opcode, bit aa, bit lk, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<24> LI;
+ bits<24> LI;
let ArgCount = 1;
let Arg0Type = Imm24.Value;
// 1.7.2 B-Form
class BForm<bits<6> opcode, bit aa, bit lk, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<5> BO;
- field bits<5> BI;
- field bits<14> BD;
+ bits<5> BO;
+ bits<5> BI;
+ bits<14> BD;
let ArgCount = 3;
let Arg0Type = Imm5.Value;
// 1.7.4 D-Form
class DForm_base<bits<6> opcode, bit ppc64, bit vmx, dag OL, string asmstr>
: I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<5> A;
- field bits<5> B;
- field bits<16> C;
+ bits<5> A;
+ bits<5> B;
+ bits<16> C;
let ArgCount = 3;
let Arg0Type = Gpr.Value;
class DForm_2_r0<bits<6> opcode, bit ppc64, bit vmx, dag OL, string asmstr>
: I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<5> A;
- field bits<16> B;
+ bits<5> A;
+ bits<16> B;
let ArgCount = 2;
let Arg0Type = Gpr.Value;
class DForm_5<bits<6> opcode, bit ppc64, bit vmx, dag OL, string asmstr>
: I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<3> BF;
- field bits<1> L;
- field bits<5> RA;
- field bits<16> I;
+ bits<3> BF;
+ bits<1> L;
+ bits<5> RA;
+ bits<16> I;
let ArgCount = 4;
let Arg0Type = Imm3.Value;
// 1.7.5 DS-Form
class DSForm_1<bits<6> opcode, bits<2> xo, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<5> RST;
- field bits<14> DS;
- field bits<5> RA;
+ bits<5> RST;
+ bits<14> DS;
+ bits<5> RA;
let ArgCount = 3;
let Arg0Type = Gpr.Value;
class XForm_base_r3xo<bits<6> opcode, bits<10> xo, bit rc, bit ppc64, bit vmx,
dag OL, string asmstr>
: I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<5> RST;
- field bits<5> A;
- field bits<5> B;
+ bits<5> RST;
+ bits<5> A;
+ bits<5> B;
let ArgCount = 3;
let Arg0Type = Gpr.Value;
class XForm_16<bits<6> opcode, bits<10> xo, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<3> BF;
- field bits<1> L;
- field bits<5> RA;
- field bits<5> RB;
+ bits<3> BF;
+ bits<1> L;
+ bits<5> RA;
+ bits<5> RB;
let ArgCount = 4;
let Arg0Type = Imm3.Value;
class XForm_17<bits<6> opcode, bits<10> xo, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<3> BF;
- field bits<5> FRA;
- field bits<5> FRB;
+ bits<3> BF;
+ bits<5> FRA;
+ bits<5> FRB;
let ArgCount = 3;
let Arg0Type = Imm3.Value;
class XLForm_2<bits<6> opcode, bits<10> xo, bit lk, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<5> BO;
- field bits<5> BI;
- field bits<2> BH;
+ bits<5> BO;
+ bits<5> BI;
+ bits<2> BH;
let ArgCount = 3;
let Arg0Type = Imm5.Value;
// 1.7.8 XFX-Form
class XFXForm_1<bits<6> opcode, bits<10> xo, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<5> ST;
- field bits<10> SPR;
+ bits<5> ST;
+ bits<10> SPR;
let ArgCount = 2;
let Arg0Type = Imm5.Value;
// 1.7.10 XS-Form
class XSForm_1<bits<6> opcode, bits<9> xo, bit rc, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<5> RS;
- field bits<5> A;
- field bits<6> SH;
+ bits<5> RS;
+ bits<5> A;
+ bits<6> SH;
let ArgCount = 3;
let Arg0Type = Gpr.Value;
// 1.7.11 XO-Form
class XOForm_1<bits<6> opcode, bits<9> xo, bit oe, bit rc, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
- field bits<5> RT;
- field bits<5> RA;
- field bits<5> RB;
+ bits<5> RT;
+ bits<5> RA;
+ bits<5> RB;
let ArgCount = 3;
let Arg0Type = Gpr.Value;
class AForm_1<bits<6> opcode, bits<5> xo, bit rc, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
let ArgCount = 4;
- field bits<5> FRT;
- field bits<5> FRA;
- field bits<5> FRB;
- field bits<5> FRC;
+ bits<5> FRT;
+ bits<5> FRA;
+ bits<5> FRB;
+ bits<5> FRC;
let Arg0Type = Fpr.Value;
let Arg1Type = Fpr.Value;
class MForm_1<bits<6> opcode, bit rc, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
let ArgCount = 5;
- field bits<5> RS;
- field bits<5> RA;
- field bits<5> RB;
- field bits<5> MB;
- field bits<5> ME;
+ bits<5> RS;
+ bits<5> RA;
+ bits<5> RB;
+ bits<5> MB;
+ bits<5> ME;
let Arg0Type = Gpr.Value;
let Arg1Type = Gpr.Value;
class MDForm_1<bits<6> opcode, bits<3> xo, bit rc, bit ppc64, bit vmx,
dag OL, string asmstr> : I<opcode, ppc64, vmx, OL, asmstr> {
let ArgCount = 4;
- field bits<5> RS;
- field bits<5> RA;
- field bits<6> SH;
- field bits<6> MBE;
+ bits<5> RS;
+ bits<5> RA;
+ bits<6> SH;
+ bits<6> MBE;
let Arg0Type = Gpr.Value;
let Arg1Type = Gpr.Value;