frno7 / qemu

QEMU Linux user mode for the R5900 Emotion Engine in the PlayStation 2.
Other
16 stars 2 forks source link

Support R5900 specific multimedia instructions with the n32 ABI #4

Open frno7 opened 5 years ago

frno7 commented 5 years ago

The R5900 has a set of 93 specific 128-bit multimedia instructions (MMIs). It is reasonable to limit the implementation to the R5900 n32 ABI, to begin with. Most of the opcode symbol definitions are already part of QEMU. The opcode functions need to implemented, in addition to widening the general purpose registers (GPRs) to 128 bits.

frno7 commented 5 years ago

The r5900-mmi branch implements the R5900 specific multimedia instructions LQ, SQ, PCPYLD, PCPUD, MFSA, MTSA, MTSAB and MTSAH.