Revert decode change for hopper

Share the same insn as non-hopper TC.
This commit is contained in:
Hansung Kim
2024-10-09 21:53:04 -07:00
parent 7ab14445f0
commit 58c9761829

View File

@@ -542,30 +542,16 @@ module VX_decode #(
endcase endcase
end end
`ifdef EXT_T_ENABLE `ifdef EXT_T_ENABLE
`ifdef EXT_T_HOPPER `INST_EXT4: begin
// TODO ex_type = `EX_TENSOR;
`INST_EXT4: begin op_type = `INST_TENSOR_HMMA;
ex_type = `EX_TENSOR; // tensor core macroop is encoded as r-type
op_type = `INST_TENSOR_HMMA; use_rd = 1;
// tensor core macroop is encoded as r-type `USED_IREG (rd);
use_rd = 1; `USED_IREG (rs1);
`USED_IREG (rd); `USED_IREG (rs2);
`USED_IREG (rs1); `USED_IREG (rs3);
`USED_IREG (rs2); end
`USED_IREG (rs3);
end
`else
`INST_EXT4: begin
ex_type = `EX_TENSOR;
op_type = `INST_TENSOR_HMMA;
// tensor core macroop is encoded as r-type
use_rd = 1;
`USED_IREG (rd);
`USED_IREG (rs1);
`USED_IREG (rs2);
`USED_IREG (rs3);
end
`endif
`endif `endif
default:; default:;
endcase endcase