Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Add -fno-code-hoisting to reduce register pressure for coremark. #523

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/standalone.mk
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ RISCV_XCFLAGS += -O2 -fno-common -funroll-loops -finline-functions -falign-funct
else
RISCV_XCFLAGS += -O2 -fno-common -funroll-loops -finline-functions -falign-functions=16 -falign-jumps=4 -falign-loops=4 -finline-limit=1000 -fno-if-conversion2 -fselective-scheduling -fno-tree-dominator-opts
endif # RISCV_XLEN==32
RISCV_XCFLAGS += -fno-code-hoisting
endif # RISCV_SERIES==sifive-7-series|sifive-8-series
RISCV_XCFLAGS += -DITERATIONS=$(TARGET_CORE_ITERS)
ifeq ($(GCC_VER_GTE10),1)
Expand Down