From 3576202083fb46fb755ceaefb5efe228afa9e2de Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 6 Nov 2022 19:43:51 -0600 Subject: Implement decode for mrs, msr --- rtl/core/decode/isa.sv | 16 +++++----------- 1 file changed, 5 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 e69d79f..4bd2dea 100644 --- a/rtl/core/decode/isa.sv +++ b/rtl/core/decode/isa.sv @@ -190,17 +190,11 @@ `define GROUP_MSR 28'b0_0_?_1_0_?_1_0_????_1111_0000_0000_???? -`define FIELD_MRS_R [24] -`define FIELD_MRS_RD [15:12] -`define FIELD_MSR_I [25] -`define FIELD_MSR_R [22] -`define FIELD_MSR_F [19] -`define FIELD_MSR_S [18] -`define FIELD_MSR_X [17] -`define FIELD_MSR_C [16] -`define FIELD_MSR_ROTATE [11:8] -`define FIELD_MSR_IMM [7:0] -`define FIELD_MSR_RM [3:0] +`define FIELD_MRS_R [24] +`define FIELD_MRS_RD [15:12] +`define FIELD_MSR_I [25] +`define FIELD_MSR_R [22] +`define FIELD_MSR_MASK [19:16] // System call -- cgit v1.2.3