Skip to content

Commit

Permalink
Update Makefile.riscv64, remove --fast-math from default build options
Browse files Browse the repository at this point in the history
The default flags for various targets should assume compliance with IEEE-754. fast math and co should be opt in only
  • Loading branch information
fleclairTT authored Jan 7, 2025
1 parent 74be676 commit d8a7599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.riscv64
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CCOMMON_OPT += -march=rv64imafdcv0p7_zfh_xtheadc -mabi=lp64d -mtune=c920
FCOMMON_OPT += -march=rv64imafdcv0p7_zfh_xtheadc -mabi=lp64d -mtune=c920 -static
endif
ifeq ($(CORE), x280)
CCOMMON_OPT += -march=rv64imafdcv_zba_zbb_zfh_zvl512b -mabi=lp64d -ffast-math
CCOMMON_OPT += -march=rv64imafdcv_zba_zbb_zfh_zvl512b -mabi=lp64d
FCOMMON_OPT += -march=rv64imafdcv_zba_zbb_zfh -mabi=lp64d -static
endif
ifeq ($(CORE), RISCV64_ZVL256B)
Expand Down

0 comments on commit d8a7599

Please sign in to comment.