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