From b5a065227bd176b85765461ac2a791fb0cff1c72 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 31 Oct 2022 15:25:38 -0600 Subject: Implement multiplication decode --- rtl/core/decode/isa.sv | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'rtl/core/decode/isa.sv') diff --git a/rtl/core/decode/isa.sv b/rtl/core/decode/isa.sv index 98d338e..3d978a9 100644 --- a/rtl/core/decode/isa.sv +++ b/rtl/core/decode/isa.sv @@ -86,17 +86,16 @@ `define INSN_SMULL 28'b0000110_?_????_????_????_1001_???? `define INSN_SMLAL 28'b0000111_?_????_????_????_1001_???? -// No incluye INSN_MUL por el SBZ del medio -`define GROUP_BIGMUL 28'b0000???_?_????_????_????_1001_???? - -`define FIELD_MUL_LONG [23] -`define FIELD_MUL_SIGNED [22] -`define FIELD_MUL_ACC [21] -`define FIELD_MUL_SET_FLAGS [20] -`define FIELD_MUL_RD [19:16] -`define FIELD_MUL_RN [15:12] -`define FIELD_MUL_RS [11:8] -`define FIELD_MUL_RM [3:0] +`define GROUP_MUL `INSN_MUL, `INSN_MLA, `INSN_UMULL, `INSN_UMLAL, `INSN_SMULL, `INSN_SMLAL + +`define FIELD_MUL_LONG [23] +`define FIELD_MUL_SIGNED [22] +`define FIELD_MUL_ACC [21] +`define FIELD_MUL_S [20] +`define FIELD_MUL_RD [19:16] +`define FIELD_MUL_RN [15:12] +`define FIELD_MUL_RS [11:8] +`define FIELD_MUL_RM [3:0] // Instrucciones de load/store -- cgit v1.2.3