From 13b112dcb8f67778c6a140cb5ce8f1ab21aa6fb9 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 8 Nov 2022 15:59:12 -0600 Subject: Improve ALU performance --- rtl/core/decode/isa.sv | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rtl/core/decode/isa.sv') diff --git a/rtl/core/decode/isa.sv b/rtl/core/decode/isa.sv index 4bd2dea..3e3a6d1 100644 --- a/rtl/core/decode/isa.sv +++ b/rtl/core/decode/isa.sv @@ -21,6 +21,12 @@ `define COND_AL 4'b1110 `define COND_UD 4'b1111 // Indefnido antes de ARMv5 +// Necesario para evitar caminos combinacionales largos en ALU +`define FIELD_ALUOP_SUB_SBC [2] +`define FIELD_ALUOP_RSB_RSC [2] +`define FIELD_ALUOP_ADD_CMN [1] +`define FIELD_ALUOP_ADD_NOTCMN_ADC [0] + // Segundo operando de varios grupos de instrucciones `define FIELD_SND_ROR8 [11:8] -- cgit v1.2.3