[gamecode] Tweak matrix product instruction names

The name for VMMUL was outright wrong (outer), but both MVMUL and VMMUL
can be mul because of the type and width/columns specifiers. I think
OUTER can too, but I'll leave that for now.
This commit is contained in:
Bill Currie 2024-11-28 21:06:04 +09:00
parent c4f48353b9
commit d418c4b8c4

View file

@ -370,8 +370,8 @@ matmul_formats = {
}
matvec_formats = {
"opcode": "OP_MVMUL_{mat_dim[1][d][dd]}{mat_dim[0][d][dd]}_{mat_type[t]}",
"mnemonic": "mvmul",
"opname": "mvmul",
"mnemonic": "mul",
"opname": "mul",
"widths": "{mat_dim[0][d][dd]}, {mat_dim[1][d][dd]}, {mat_dim[0][d][dd]}",
"columns": "{mat_dim[1][d][dd]}, 1, 1",
"types": "{mat_types[t]}, {mat_types[t]}, {mat_types[t]}",
@ -661,8 +661,8 @@ udivops_formats = {
}
vecmat_formats = {
"opcode": "OP_VMMUL_{mat_dim[1][d][dd]}{mat_dim[0][d][dd]}_{mat_type[t]}",
"mnemonic": "outer",
"opname": "outer",
"mnemonic": "mul",
"opname": "mul",
"widths": "{mat_dim[0][d][dd]}, {mat_dim[1][d][dd]}, 0",
"columns": "1, {mat_dim[1][d][dd]}, 1",
"types": "{mat_types[t]}, {mat_types[t]}, {mat_types[t]}",