Repository navigation
Fix assembly/disassembly for various VFPU opcodes - #22083
Merged
Merged
Conversation
Update armips for VFPU instruction parsing changes (Kingcom/armips#257) - fix transposed matrix register encodings (e.g. `vmidt.p E220` was assembling to `vmidt.p E202`) - fix immediate size for `vwbn.s` (is 8 bits, was limited to 5 bits) - fix `vd` register size for `vsocp.s/p` - fix `vhtfm2.p` and `vhtfm3.t` encoding - add missing instruction `vhtfm4.q` Fix `v(h)tfmX` disassembly (handle irregular vector size encoding) Fix `vsocp.s/p` disassembly (`vd` is double the size of `vs`)
hrydgard
approved these changes
Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update armips for VFPU instruction parsing changes (Kingcom/armips#257)
vmidt.p E220was assembling tovmidt.p E202)vwbn.s(is 8 bits, was limited to 5 bits)vdregister size forvsocp.s/pvhtfm2.pandvhtfm3.tencodingvhtfm4.qFix
v(h)tfmXdisassembly (handle irregular vector size encoding)Fix
vsocp.s/pdisassembly (vdis double the size ofvs)Identified & verified these changes by running the VFPU binaries pspautotests through a websocket API script asserting
assemble(op) == assemble(disassemble(op)).