isa: fix `ps_mr` having `frA` as argument
This commit is contained in:
parent
3c0656ee3c
commit
d1c809b3f6
|
@ -2075,7 +2075,6 @@ impl Ins {
|
||||||
],
|
],
|
||||||
Opcode::PsMr => vec![
|
Opcode::PsMr => vec![
|
||||||
Field::frD(FPR(((self.code >> 21u8) & 0x1f) as _)),
|
Field::frD(FPR(((self.code >> 21u8) & 0x1f) as _)),
|
||||||
Field::frA(FPR(((self.code >> 16u8) & 0x1f) as _)),
|
|
||||||
Field::frB(FPR(((self.code >> 11u8) & 0x1f) as _)),
|
Field::frB(FPR(((self.code >> 11u8) & 0x1f) as _)),
|
||||||
],
|
],
|
||||||
Opcode::PsMsub => vec![
|
Opcode::PsMsub => vec![
|
||||||
|
|
|
@ -709,6 +709,11 @@ fn test_ins_ps_merge11() {
|
||||||
assert_asm!(0x10AA14E0, "ps_merge11 f5, f10, f2");
|
assert_asm!(0x10AA14E0, "ps_merge11 f5, f10, f2");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_ins_ps_mr() {
|
||||||
|
assert_asm!(0x10200090, "ps_mr f1, f0");
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_ins_ps_msub() {
|
fn test_ins_ps_msub() {
|
||||||
assert_asm!(0x10A53778, "ps_msub f5, f5, f29, f6");
|
assert_asm!(0x10A53778, "ps_msub f5, f5, f29, f6");
|
||||||
|
|
Loading…
Reference in New Issue