mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-04 13:18:31 +00:00
The table had the R6 unsigned mul, both muh, and mod/modu, but not the R6 SIGNED low multiply (SPECIAL funct 0x18, sa=2 → 0x98) or the R6 signed/unsigned divide (funct 0x1A, sa=2/3 → 0x9A/0x9B). Add MUL_R6, DIV_R6, DIVU_R6 to the Mnemonic enum + the encoding table (all SPECIAL, RD/RS/RT, mask 0xFC0007FF, MIPS32_R6) and regenerate the tables. Verified against llvm-mc -mcpu=mips32r6 (mul/div/divu $rd,$rs,$rt). All existing mips tests pass (166/39/65/14).