aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2024-07-15 17:51:40 -0700
committerGitHub <noreply@github.com>2024-07-15 17:51:40 -0700
commit6665a1966d8e366bb26501dbb1fc0c045a3afd87 (patch)
tree4815b38a6ee5be49706b0b9c6a2712e102c0b788
parent479cdca43f85c8ec24deb528132416e7cfc81e6d (diff)
parent46d252be55b4ace60365a9a8a0d899b8a10495f0 (diff)
downloadriscv-opcodes-6665a1966d8e366bb26501dbb1fc0c045a3afd87.zip
riscv-opcodes-6665a1966d8e366bb26501dbb1fc0c045a3afd87.tar.gz
riscv-opcodes-6665a1966d8e366bb26501dbb1fc0c045a3afd87.tar.bz2
Merge pull request #260 from YenHaoChen/pr-mcontrol-action
Fix definition of mcontrol.action
-rw-r--r--encoding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.h b/encoding.h
index 953cf50..63d5901 100644
--- a/encoding.h
+++ b/encoding.h
@@ -111,7 +111,7 @@
#define MCONTROL_SELECT (1<<19)
#define MCONTROL_TIMING (1<<18)
-#define MCONTROL_ACTION (0x3f<<12)
+#define MCONTROL_ACTION (0xf<<12)
#define MCONTROL_CHAIN (1<<11)
#define MCONTROL_MATCH (0xf<<7)
#define MCONTROL_M (1<<6)