From 3b1a075e871d7c14ba9b2983183eb8a4a3916f5e Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 6 Jul 2015 17:07:02 -0700 Subject: Coherence torture test for VM tests VM tests only support one core, so have the other cores hammer on the memory system to attempt to catch simple coherence regressions. --- isa/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'isa/Makefile') diff --git a/isa/Makefile b/isa/Makefile index e4606d5..8f174d1 100644 --- a/isa/Makefile +++ b/isa/Makefile @@ -22,8 +22,9 @@ default: all RISCV_PREFIX=riscv64-unknown-elf- RISCV_GCC = $(RISCV_PREFIX)gcc -RISCV_GCC_OPTS = -static -fpic -fvisibility=hidden -nostdlib -nostartfiles -Wa,-march=RVIMAFDXhwacha -RISCV_OBJDUMP = $(RISCV_PREFIX)objdump --disassemble-all --disassemble-zeroes --section=.text --section=.text.startup --section=.data +ENTROPY = -DENTROPY=$(shell echo $$$$) +RISCV_GCC_OPTS = $(ENTROPY) -static -fpic -fvisibility=hidden -nostdlib -nostartfiles -Wa,-march=RVIMAFDXhwacha +RISCV_OBJDUMP = $(RISCV_PREFIX)objdump --disassemble-all --disassemble-zeroes --section=.text --section=.text.startup --section=.text.init --section=.data RISCV_SIM = spike --extension=hwacha vpath %.S $(isa_src_dir) -- cgit v1.1