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

Software Interrupt Additional Delay #459

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions scripts/standalone.mk
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,13 @@ RISCV_CFLAGS += -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -mcmodel=$(RISCV_CMOD
RISCV_CXXFLAGS += -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -mcmodel=$(RISCV_CMODEL)
RISCV_ASFLAGS += -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -mcmodel=$(RISCV_CMODEL)
# Prune unused functions and data
ifeq ($(PROGRAM),dhrystone)
RISCV_CFLAGS += -fno-function-sections -fno-data-sections
RISCV_CXXFLAGS += -fno-function-sections -fno-data-sections
else
RISCV_CFLAGS += -ffunction-sections -fdata-sections
RISCV_CXXFLAGS += -ffunction-sections -fdata-sections
endif
# Include the Metal headers
RISCV_CCASFLAGS += -I$(abspath $(BSP_DIR)/install/include/)
RISCV_CFLAGS += -I$(abspath $(BSP_DIR)/install/include/)
Expand Down
2 changes: 1 addition & 1 deletion software/dhrystone
Submodule dhrystone updated 2 files
+1 −1 Makefile
+160 −0 strcmp.S
2 changes: 1 addition & 1 deletion software/software-interrupt
4 changes: 2 additions & 2 deletions wit-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"source": "[email protected]:sifive/esdk-settings-generator.git"
},
{
"commit": "e3e7e91d48ae15f4a8e395cf998b0abbf5b70542",
"commit": "0ddff533cc9052c524990d5ace4560372053314b",
"name": "benchmark-dhrystone",
"source": "[email protected]:sifive/benchmark-dhrystone.git"
},
Expand Down Expand Up @@ -145,7 +145,7 @@
"source": "[email protected]:sifive/example-sifive-welcome.git"
},
{
"commit": "b10a32d2b079e8e454648bd605b49954ed0fd505",
"commit": "b72fda55491be700009954eff9056f8a29a1bbac",
"name": "example-software-interrupt",
"source": "[email protected]:sifive/example-software-interrupt.git"
},
Expand Down