From caf5a420ef7414031368739e16d60f3f418aa6ac Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 3 Jun 2022 15:42:14 -0700 Subject: Remove nonstandard length encoding (#1023) This was an artifact of an old P-extension draft that erroneously allocated a reserved major opcode. The newer draft uses a different opcode, so this hack is no longer needed. --- riscv/decode.h | 1 - 1 file changed, 1 deletion(-) (limited to 'riscv/decode.h') diff --git a/riscv/decode.h b/riscv/decode.h index 9f13a42..6c90e21 100644 --- a/riscv/decode.h +++ b/riscv/decode.h @@ -69,7 +69,6 @@ const int NCSR = 4096; (((x) & 0x03) < 0x03 ? 2 : \ ((x) & 0x1f) < 0x1f ? 4 : \ ((x) & 0x3f) < 0x3f ? 6 : \ - ((x) & 0x7f) == 0x7f ? 4 : \ 8) #define MAX_INSN_LENGTH 8 #define PC_ALIGN 2 -- cgit v1.1