summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/riscv64/riscv64/fpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/riscv64/riscv64/fpu.c b/sys/arch/riscv64/riscv64/fpu.c
index 076caaf126a..2128dc0f71a 100644
--- a/sys/arch/riscv64/riscv64/fpu.c
+++ b/sys/arch/riscv64/riscv64/fpu.c
@@ -55,6 +55,7 @@ int fpu_valid_opcode(uint32_t instr)
case 0x2002: // C.FLDSP
// must verify dest register is float
valid = opcode16 & (1 << 11);
+ break;
case 0xa002: // C.FSDSP
// must verify dest register is float
valid = opcode16 & (1 << 6);