forked from Firmware/Firmwares
fixes march definitions for dhrystone and coremark
This commit is contained in:
parent
6ff0161882
commit
51c8a93336
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#File : core_portme.mak
|
#File : core_portme.mak
|
||||||
ISA?=imc
|
ISA?=imc
|
||||||
RISCV_ARCH:=rv32$(ISA)
|
RISCV_ARCH:=rv32$(ISA)_zicsr_zifencei
|
||||||
RISCV_ABI:=ilp32
|
RISCV_ABI:=ilp32
|
||||||
TRIPLET?=riscv64-unknown-elf
|
TRIPLET?=riscv64-unknown-elf
|
||||||
# Flag : OUTFLAG
|
# Flag : OUTFLAG
|
||||||
|
@ -14,9 +14,9 @@ else
|
|||||||
RISCV_ABI:=ilp32
|
RISCV_ABI:=ilp32
|
||||||
endif
|
endif
|
||||||
# '-lgcc -lm' are needed to add softfloat routines
|
# '-lgcc -lm' are needed to add softfloat routines
|
||||||
CFLAGS := -g -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -mcmodel=medlow -O3 -DHZ=32768 -DTIME -DNO_INIT -fno-inline -fno-builtin-printf -fno-common -Wno-implicit \
|
CFLAGS := -g -march=$(RISCV_ARCH)_zicsr_zifencei -mabi=$(RISCV_ABI) -mcmodel=medlow -O3 -DHZ=32768 -DTIME -DNO_INIT -fno-inline -fno-builtin-printf -fno-common -Wno-implicit \
|
||||||
-funroll-loops -fpeel-loops -fgcse-sm -fgcse-las
|
-funroll-loops -fpeel-loops -fgcse-sm -fgcse-las
|
||||||
LDFLAGS := -g -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -mcmodel=medlow -Wl,--wrap=scanf -Wl,--wrap=printf -Wl,--wrap=exit -lgcc -lm
|
LDFLAGS := -g -march=$(RISCV_ARCH)_zicsr_zifencei -mabi=$(RISCV_ABI) -mcmodel=medlow -Wl,--wrap=scanf -Wl,--wrap=printf -Wl,--wrap=exit -lgcc -lm
|
||||||
|
|
||||||
TOOL_DIR=$(dir $(compiler))
|
TOOL_DIR=$(dir $(compiler))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user