isa: remove `RC` modifier from a bunch of instruction

This modifier is not part of those instruction
This commit is contained in:
InusualZ 2022-05-31 19:26:13 -04:00
parent 7167807402
commit 2364d17751
2 changed files with 27 additions and 216 deletions

View File

@ -4532,13 +4532,7 @@ impl Ins {
Opcode::Mcrfs => String::new(), Opcode::Mcrfs => String::new(),
Opcode::Mcrxr => String::new(), Opcode::Mcrxr => String::new(),
Opcode::Mfcr => String::new(), Opcode::Mfcr => String::new(),
Opcode::Mffs => { Opcode::Mffs => String::new(),
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::Mfmsr => String::new(), Opcode::Mfmsr => String::new(),
Opcode::Mfspr => String::new(), Opcode::Mfspr => String::new(),
Opcode::Mfsr => String::new(), Opcode::Mfsr => String::new(),
@ -4591,13 +4585,7 @@ impl Ins {
} }
s s
} }
Opcode::Mulli => { Opcode::Mulli => String::new(),
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::Mullw => { Opcode::Mullw => {
let mut s = String::with_capacity(4); let mut s = String::with_capacity(4);
if self.bit(21usize) { if self.bit(21usize) {
@ -4656,185 +4644,35 @@ impl Ins {
Opcode::PsqStu => String::new(), Opcode::PsqStu => String::new(),
Opcode::PsqStux => String::new(), Opcode::PsqStux => String::new(),
Opcode::PsqStx => String::new(), Opcode::PsqStx => String::new(),
Opcode::PsAbs => { Opcode::PsAbs => String::new(),
let mut s = String::with_capacity(4); Opcode::PsAdd => String::new(),
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsAdd => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsCmpo0 => String::new(), Opcode::PsCmpo0 => String::new(),
Opcode::PsCmpo1 => String::new(), Opcode::PsCmpo1 => String::new(),
Opcode::PsCmpu0 => String::new(), Opcode::PsCmpu0 => String::new(),
Opcode::PsCmpu1 => String::new(), Opcode::PsCmpu1 => String::new(),
Opcode::PsDiv => { Opcode::PsDiv => String::new(),
let mut s = String::with_capacity(4); Opcode::PsMadd => String::new(),
if self.bit(31usize) { Opcode::PsMadds0 => String::new(),
s.push('.'); Opcode::PsMadds1 => String::new(),
} Opcode::PsMerge00 => String::new(),
s Opcode::PsMerge01 => String::new(),
} Opcode::PsMerge10 => String::new(),
Opcode::PsMadd => { Opcode::PsMerge11 => String::new(),
let mut s = String::with_capacity(4); Opcode::PsMr => String::new(),
if self.bit(31usize) { Opcode::PsMsub => String::new(),
s.push('.'); Opcode::PsMul => String::new(),
} Opcode::PsMuls0 => String::new(),
s Opcode::PsMuls1 => String::new(),
} Opcode::PsNabs => String::new(),
Opcode::PsMadds0 => { Opcode::PsNeg => String::new(),
let mut s = String::with_capacity(4); Opcode::PsNmadd => String::new(),
if self.bit(31usize) { Opcode::PsNmsub => String::new(),
s.push('.'); Opcode::PsRes => String::new(),
} Opcode::PsRsqrte => String::new(),
s Opcode::PsSel => String::new(),
} Opcode::PsSub => String::new(),
Opcode::PsMadds1 => { Opcode::PsSum0 => String::new(),
let mut s = String::with_capacity(4); Opcode::PsSum1 => String::new(),
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsMerge00 => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsMerge01 => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsMerge10 => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsMerge11 => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsMr => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsMsub => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsMul => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsMuls0 => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsMuls1 => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsNabs => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsNeg => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsNmadd => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsNmsub => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsRes => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsRsqrte => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsSel => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsSub => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsSum0 => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::PsSum1 => {
let mut s = String::with_capacity(4);
if self.bit(31usize) {
s.push('.');
}
s
}
Opcode::Rfi => String::new(), Opcode::Rfi => String::new(),
Opcode::Rlwimi => { Opcode::Rlwimi => {
let mut s = String::with_capacity(4); let mut s = String::with_capacity(4);

View File

@ -1070,7 +1070,6 @@ opcodes:
desc: Move from FPSCR desc: Move from FPSCR
bitmask: 0xfc1ffffe bitmask: 0xfc1ffffe
pattern: 0xfc00048e pattern: 0xfc00048e
modifiers: [ Rc ]
args: [ frD ] args: [ frD ]
defs: [ frD ] defs: [ frD ]
@ -1199,7 +1198,6 @@ opcodes:
desc: Multiply Low Immediate desc: Multiply Low Immediate
bitmask: 0xfc000000 bitmask: 0xfc000000
pattern: 0x1c000000 pattern: 0x1c000000
modifiers: [ Rc ]
args: [ rD, rA, simm ] args: [ rD, rA, simm ]
defs: [ rD ] defs: [ rD ]
uses: [ rA ] uses: [ rA ]
@ -1340,7 +1338,6 @@ opcodes:
desc: Paired Single Absolute Value desc: Paired Single Absolute Value
bitmask: 0xfc1f07fe bitmask: 0xfc1f07fe
pattern: 0x10000210 pattern: 0x10000210
modifiers: [ Rc ]
args: [ frD, frB ] args: [ frD, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frB ] uses: [ frB ]
@ -1349,7 +1346,6 @@ opcodes:
desc: Paired Single Add desc: Paired Single Add
bitmask: 0xfc0007fe bitmask: 0xfc0007fe
pattern: 0x1000002a pattern: 0x1000002a
modifiers: [ Rc ]
args: [ frD, frA, frB ] args: [ frD, frA, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frB ] uses: [ frA, frB ]
@ -1390,7 +1386,6 @@ opcodes:
desc: Paired Single Divide desc: Paired Single Divide
bitmask: 0xfc0007fe bitmask: 0xfc0007fe
pattern: 0x10000024 pattern: 0x10000024
modifiers: [ Rc ]
args: [ frD, frA, frB ] args: [ frD, frA, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frB ] uses: [ frA, frB ]
@ -1399,7 +1394,6 @@ opcodes:
desc: Paired Single Multiply-Add desc: Paired Single Multiply-Add
bitmask: 0xfc00003e bitmask: 0xfc00003e
pattern: 0x1000003a pattern: 0x1000003a
modifiers: [ Rc ]
args: [ frD, frA, frC, frB ] args: [ frD, frA, frC, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC, frB ] uses: [ frA, frC, frB ]
@ -1408,7 +1402,6 @@ opcodes:
desc: Paired Single Multiply-Add Scalar high desc: Paired Single Multiply-Add Scalar high
bitmask: 0xfc00003e bitmask: 0xfc00003e
pattern: 0x1000001c pattern: 0x1000001c
modifiers: [ Rc ]
args: [ frD, frA, frC, frB ] args: [ frD, frA, frC, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC, frB ] uses: [ frA, frC, frB ]
@ -1417,7 +1410,6 @@ opcodes:
desc: Paired Single Multiply-Add Scalar low desc: Paired Single Multiply-Add Scalar low
bitmask: 0xfc00003e bitmask: 0xfc00003e
pattern: 0x1000001e pattern: 0x1000001e
modifiers: [ Rc ]
args: [ frD, frA, frC, frB ] args: [ frD, frA, frC, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC, frB ] uses: [ frA, frC, frB ]
@ -1426,7 +1418,6 @@ opcodes:
desc: Paired Single MERGE high desc: Paired Single MERGE high
bitmask: 0xfc0007fe bitmask: 0xfc0007fe
pattern: 0x10000420 pattern: 0x10000420
modifiers: [ Rc ]
args: [ frD, frA, frB ] args: [ frD, frA, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frB ] uses: [ frA, frB ]
@ -1435,7 +1426,6 @@ opcodes:
desc: Paired Single MERGE direct desc: Paired Single MERGE direct
bitmask: 0xfc0007fe bitmask: 0xfc0007fe
pattern: 0x10000460 pattern: 0x10000460
modifiers: [ Rc ]
args: [ frD, frA, frB ] args: [ frD, frA, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frB ] uses: [ frA, frB ]
@ -1444,7 +1434,6 @@ opcodes:
desc: Paired Single MERGE swapped desc: Paired Single MERGE swapped
bitmask: 0xfc0007fe bitmask: 0xfc0007fe
pattern: 0x100004a0 pattern: 0x100004a0
modifiers: [ Rc ]
args: [ frD, frA, frB ] args: [ frD, frA, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frB ] uses: [ frA, frB ]
@ -1453,7 +1442,6 @@ opcodes:
desc: Paired Single MERGE low desc: Paired Single MERGE low
bitmask: 0xfc0007fe bitmask: 0xfc0007fe
pattern: 0x100004e0 pattern: 0x100004e0
modifiers: [ Rc ]
args: [ frD, frA, frB ] args: [ frD, frA, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frB ] uses: [ frA, frB ]
@ -1462,7 +1450,6 @@ opcodes:
desc: Paired Single Move Register desc: Paired Single Move Register
bitmask: 0xfc1f07fe bitmask: 0xfc1f07fe
pattern: 0x10000090 pattern: 0x10000090
modifiers: [ Rc ]
args: [ frD, frA, frB ] args: [ frD, frA, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frB ] uses: [ frB ]
@ -1471,7 +1458,6 @@ opcodes:
desc: Paired Single Multiply-Subtract desc: Paired Single Multiply-Subtract
bitmask: 0xfc00003e bitmask: 0xfc00003e
pattern: 0x10000038 pattern: 0x10000038
modifiers: [ Rc ]
args: [ frD, frA, frC, frB ] args: [ frD, frA, frC, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC, frB ] uses: [ frA, frC, frB ]
@ -1480,7 +1466,6 @@ opcodes:
desc: Paired Single Multiply desc: Paired Single Multiply
bitmask: 0xfc00f83e bitmask: 0xfc00f83e
pattern: 0x10000032 pattern: 0x10000032
modifiers: [ Rc ]
args: [ frD, frA, frC ] args: [ frD, frA, frC ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC ] uses: [ frA, frC ]
@ -1489,7 +1474,6 @@ opcodes:
desc: Paired Single Multiply Scalar high desc: Paired Single Multiply Scalar high
bitmask: 0xfc00f83e bitmask: 0xfc00f83e
pattern: 0x10000018 pattern: 0x10000018
modifiers: [ Rc ]
args: [ frD, frA, frC ] args: [ frD, frA, frC ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC ] uses: [ frA, frC ]
@ -1498,7 +1482,6 @@ opcodes:
desc: Paired Single Multiply Scalar low desc: Paired Single Multiply Scalar low
bitmask: 0xfc00f83e bitmask: 0xfc00f83e
pattern: 0x1000001a pattern: 0x1000001a
modifiers: [ Rc ]
args: [ frD, frA, frC ] args: [ frD, frA, frC ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC ] uses: [ frA, frC ]
@ -1507,7 +1490,6 @@ opcodes:
desc: Paired Single Negative Absolute Value desc: Paired Single Negative Absolute Value
bitmask: 0xfc1f07fe bitmask: 0xfc1f07fe
pattern: 0x10000110 pattern: 0x10000110
modifiers: [ Rc ]
args: [ frD, frB ] args: [ frD, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frB ] uses: [ frB ]
@ -1516,7 +1498,6 @@ opcodes:
desc: Paired Single Negate desc: Paired Single Negate
bitmask: 0xfc1f07fe bitmask: 0xfc1f07fe
pattern: 0x10000050 pattern: 0x10000050
modifiers: [ Rc ]
args: [ frD, frB ] args: [ frD, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frB ] uses: [ frB ]
@ -1525,7 +1506,6 @@ opcodes:
desc: Paired Single Negative Multiply-Add desc: Paired Single Negative Multiply-Add
bitmask: 0xfc00003e bitmask: 0xfc00003e
pattern: 0x1000003e pattern: 0x1000003e
modifiers: [ Rc ]
args: [ frD, frA, frC, frB ] args: [ frD, frA, frC, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC, frB ] uses: [ frA, frC, frB ]
@ -1534,7 +1514,6 @@ opcodes:
desc: Paired Single Negative Multiply-Subtract desc: Paired Single Negative Multiply-Subtract
bitmask: 0xfc00003e bitmask: 0xfc00003e
pattern: 0x1000003c pattern: 0x1000003c
modifiers: [ Rc ]
args: [ frD, frA, frC, frB ] args: [ frD, frA, frC, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC, frB ] uses: [ frA, frC, frB ]
@ -1543,7 +1522,6 @@ opcodes:
desc: Paired Single Reciprocal Estimate desc: Paired Single Reciprocal Estimate
bitmask: 0xfc1f07fe bitmask: 0xfc1f07fe
pattern: 0x10000030 pattern: 0x10000030
modifiers: [ Rc ]
args: [ frD, frB ] args: [ frD, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frB ] uses: [ frB ]
@ -1552,7 +1530,6 @@ opcodes:
desc: Paired Single Reciprocal Square Root Estimate desc: Paired Single Reciprocal Square Root Estimate
bitmask: 0xfc1f07fe bitmask: 0xfc1f07fe
pattern: 0x10000034 pattern: 0x10000034
modifiers: [ Rc ]
args: [ frD, frB ] args: [ frD, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frB ] uses: [ frB ]
@ -1561,7 +1538,6 @@ opcodes:
desc: Paired Single Select desc: Paired Single Select
bitmask: 0xfc00003e bitmask: 0xfc00003e
pattern: 0x1000002e pattern: 0x1000002e
modifiers: [ Rc ]
args: [ frD, frA, frC, frB ] args: [ frD, frA, frC, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC, frB ] uses: [ frA, frC, frB ]
@ -1570,7 +1546,6 @@ opcodes:
desc: Paired Single Subtract desc: Paired Single Subtract
bitmask: 0xfc0007fe bitmask: 0xfc0007fe
pattern: 0x10000028 pattern: 0x10000028
modifiers: [ Rc ]
args: [ frD, frA, frB ] args: [ frD, frA, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frB ] uses: [ frA, frB ]
@ -1579,7 +1554,6 @@ opcodes:
desc: Paired Single vector SUM high desc: Paired Single vector SUM high
bitmask: 0xfc00003e bitmask: 0xfc00003e
pattern: 0x10000014 pattern: 0x10000014
modifiers: [ Rc ]
args: [ frD, frA, frC, frB ] args: [ frD, frA, frC, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC, frB ] uses: [ frA, frC, frB ]
@ -1588,7 +1562,6 @@ opcodes:
desc: Paired Single vector SUM low desc: Paired Single vector SUM low
bitmask: 0xfc00003e bitmask: 0xfc00003e
pattern: 0x10000016 pattern: 0x10000016
modifiers: [ Rc ]
args: [ frD, frA, frC, frB ] args: [ frD, frA, frC, frB ]
defs: [ frD ] defs: [ frD ]
uses: [ frA, frC, frB ] uses: [ frA, frC, frB ]