From bf31182b916c7f9403ffaff128715329e1287c68 Mon Sep 17 00:00:00 2001 From: Rose Thompson Date: Wed, 2 Oct 2024 15:56:10 -0500 Subject: [PATCH] Moved tests/custom/debug.S to tests/coverage/floatmisc.S --- .../debug/debug.S => coverage/floatmisc.S} | 0 tests/custom/debug/Makefile | 31 ------------------- 2 files changed, 31 deletions(-) rename tests/{custom/debug/debug.S => coverage/floatmisc.S} (100%) delete mode 100644 tests/custom/debug/Makefile diff --git a/tests/custom/debug/debug.S b/tests/coverage/floatmisc.S similarity index 100% rename from tests/custom/debug/debug.S rename to tests/coverage/floatmisc.S diff --git a/tests/custom/debug/Makefile b/tests/custom/debug/Makefile deleted file mode 100644 index 7f3fd926e..000000000 --- a/tests/custom/debug/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 - -TARGET = debug - -$(TARGET).signature.output: $(TARGET).elf.memfile $(TARGET).elf - spike --isa=rv64gc +signature=$(TARGET).signature.output +signature-granularity=4 $(TARGET).elf - riscv_sim_RV64 debug.elf -T debug.sig -# diff --ignore-case $(TARGET).signature.output $(TARGET).reference_output || exit -# echo "Signature matches! Success!" - mkdir -p ../work - cp -f * ../work - -$(TARGET).elf.memfile:$(TARGET).elf $(TARGET).elf.objdump.addr - riscv64-unknown-elf-elf2hex --bit-width 64 --input $< --output $@ - -$(TARGET).elf.objdump.addr: $(TARGET).elf.objdump - extractFunctionRadix.sh $< - -$(TARGET).elf.objdump: $(TARGET).elf - riscv64-unknown-elf-objdump -D $(TARGET).elf > $(TARGET).elf.objdump - -$(TARGET).elf: $(TARGET).S Makefile - riscv64-unknown-elf-gcc -g -o $(TARGET).elf -march=rv64gc -mabi=lp64 -mcmodel=medany \ - -nostartfiles -T$(WALLY)/examples/link/link.ld $(TARGET).S - - -clean: - rm -f $(TARGET).elf $(TARGET).elf.* *.signature.output - - -