diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-11-08 15:59:12 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-11-08 15:59:12 -0600 |
| commit | 13b112dcb8f67778c6a140cb5ce8f1ab21aa6fb9 (patch) | |
| tree | 1c33528b0559a7b51f67a3c0df92202713e1a53b /rtl/core/decode/isa.sv | |
| parent | f6929f9a4703e3eee9d7bd9752de055729cdd498 (diff) | |
Improve ALU performance
Diffstat (limited to 'rtl/core/decode/isa.sv')
| -rw-r--r-- | rtl/core/decode/isa.sv | 6 |
1 files changed, 6 insertions, 0 deletions
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] |
