From 1ad7b946c13493a19fcebb0d1d1e1c4397f476e8 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 23 Oct 2022 23:16:36 -0600 Subject: Enforce UND exceptions when SBZ is not followed in data-processing instructions --- rtl/core/decode/isa.sv | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtl/core/decode/isa.sv b/rtl/core/decode/isa.sv index baaf371..98d338e 100644 --- a/rtl/core/decode/isa.sv +++ b/rtl/core/decode/isa.sv @@ -66,7 +66,9 @@ `define INSN_BIC 28'b00_?_1110_?_????_????_???????????? `define INSN_MVN 28'b00_?_1111_?_0000_????_???????????? -`define GROUP_ALU 28'b00_?_????_?_????_????_???????????? +`define GROUP_ALU \ + `INSN_AND, `INSN_EOR, `INSN_SUB, `INSN_RSB, `INSN_ADD, `INSN_ADC, `INSN_SBC, `INSN_RSC, \ + `INSN_TST, `INSN_TEQ, `INSN_CMP, `INSN_CMN, `INSN_ORR, `INSN_MOV, `INSN_BIC, `INSN_MVN `define FIELD_DATA_IMM [25] `define FIELD_DATA_OPCODE [24:21] -- cgit v1.2.3