ghidra-allegrex icon indicating copy to clipboard operation
ghidra-allegrex copied to clipboard

VFPU instruction vhtfm4.q not implemented

Open kotcrab opened this issue 1 year ago • 1 comments

Not implemented https://pspdev.github.io/vfpu-docs/#vhtfm4.q

Also might need to recheck the whole v(h)tfm family against https://github.com/pspdev/vfpu-docs/tree/master and PPSSPP.

kotcrab avatar Feb 25 '24 17:02 kotcrab

    add3("vhtfm1", prime = 60, vop3 = 1) { variantS(Vd.S, Vs.Matrix1, Vt.S) }
    add3("vtfm2", prime = 60, vop3 = 1) { variantP(Vd.P, Vs.Matrix2, Vt.P) }
    add3("vhtfm2", prime = 60, vop3 = 2) { variantP(Vd.P, Vs.Matrix2, Vt.P) }
    add3("vtfm3", prime = 60, vop3 = 2) { variantT(Vd.T, Vs.Matrix3, Vt.T) }
    add3("vhtfm3", prime = 60, vop3 = 3) { variantT(Vd.T, Vs.Matrix3, Vt.T) }
    add3("vtfm4", prime = 60, vop3 = 3) { variantQ(Vd.Q, Vs.Matrix2, Vt.Q) }

In reality, vhtfm1.s doesn't exist.

Nemoumbra avatar Feb 25 '24 17:02 Nemoumbra