diff --git a/src/decode.h b/src/decode.h index e1a4bc2f..26c9fc58 100644 --- a/src/decode.h +++ b/src/decode.h @@ -177,10 +177,12 @@ enum op_field { _(cadd, 0, 2, 1, ENC(rs1, rs2, rd)) \ _(cswsp, 0, 2, 1, ENC(rs2)) \ /* RV32FC Instruction */ \ + IIF(RV32_HAS(EXT_F))( \ _(cflwsp, 0, 2, 1, ENC(rd)) \ _(cfswsp, 0, 2, 1, ENC(rs2)) \ _(cflw, 0, 2, 1, ENC(rs1, rd)) \ _(cfsw, 0, 2, 1, ENC(rs1, rs2)) \ + ) \ ) /* clang-format on */