master
target 20 lines 509 Bytes
Raw
1 # -*- Mode: makefile -*-
2 # RISC-V specific tweaks
3
4 VPATH += $(SRC_PATH)/tests/tcg/riscv64
5 TESTS += test-div
6 TESTS += noexec
7
8 # Disable compressed instructions for test-noc
9 TESTS += test-noc
10 test-noc: LDFLAGS = -nostdlib -static
11 run-test-noc: QEMU_OPTS += -cpu rv64,c=false
12
13 TESTS += test-aes
14 run-test-aes: QEMU_OPTS += -cpu rv64,zk=on
15
16 # Test for fcvtmod
17 TESTS += test-fcvtmod
18 test-fcvtmod: CFLAGS += -march=rv64imafdc
19 test-fcvtmod: LDFLAGS += -static
20 run-test-fcvtmod: QEMU_OPTS += -cpu rv64,d=true,zfa=true