summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-04-23 04:35:55 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-04-23 04:35:55 +0000
commitc3878cd41f1a38bd895e904057a1f8ebd6f529fd (patch)
treedf5cf65e3e7d80c93b034394536139e65c1cee6a /sys
parent6b2232ee973abd9c52f15b14de0d0028c907c500 (diff)
add missing break
ok drahn@
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);