Skip to content

Commit

Permalink
Fix compile error when ENABLE_EXT_F=0
Browse files Browse the repository at this point in the history
  • Loading branch information
fourcolor committed Jan 1, 2024
1 parent e2ae98e commit 4d09ab6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/decode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

1 comment on commit 4d09ab6

@jserv
Copy link
Contributor

@jserv jserv commented on 4d09ab6 Jan 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmarks

Benchmark suite Current: 4d09ab6 Previous: e2ae98e Ratio
Dhrystone 1799.1 Average DMIPS over 10 runs 1791 Average DMIPS over 10 runs 1.00
Coremark 1516.001 Average iterations/sec over 10 runs 1514.458 Average iterations/sec over 10 runs 1.00

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.