[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/17] tests/tcg/arm: move non-SVE tests out of conditional
From: |
Paolo Bonzini |
Subject: |
[PATCH 07/17] tests/tcg/arm: move non-SVE tests out of conditional |
Date: |
Mon, 16 Oct 2023 08:31:17 +0200 |
test-aes, sha1-vector and sha512-vector need not be conditional on
$(CROSS_CC_HAS_SVE), reorganize the "if"s to move them outside.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
tests/tcg/aarch64/Makefile.target | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/tests/tcg/aarch64/Makefile.target
b/tests/tcg/aarch64/Makefile.target
index 2efacf9a5a3..d01b8ff47c8 100644
--- a/tests/tcg/aarch64/Makefile.target
+++ b/tests/tcg/aarch64/Makefile.target
@@ -73,11 +73,6 @@ endif
# System Registers Tests
AARCH64_TESTS += sysregs
-ifneq ($(CROSS_CC_HAS_SVE),)
-# SVE ioctl test
-AARCH64_TESTS += sve-ioctls
-sve-ioctls: CFLAGS+=-march=armv8.1-a+sve
-
AARCH64_TESTS += test-aes
test-aes: CFLAGS += -O -march=armv8-a+aes
test-aes: test-aes-main.c.inc
@@ -100,12 +95,15 @@ sha512-vector: sha512.c
TESTS += sha512-vector
ifneq ($(CROSS_CC_HAS_SVE),)
+# SVE ioctl test
+AARCH64_TESTS += sve-ioctls
+sve-ioctls: CFLAGS+=-march=armv8.1-a+sve
+
sha512-sve: CFLAGS=-O3 -march=armv8.1-a+sve
sha512-sve: sha512.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS)
TESTS += sha512-sve
-endif
ifeq ($(HOST_GDB_SUPPORTS_ARCH),y)
GDB_SCRIPT=$(SRC_PATH)/tests/guest-debug/run-test.py
--
2.41.0
- [PATCH 03/17] meson, cutils: allow non-relocatable installs, (continued)
- [PATCH 03/17] meson, cutils: allow non-relocatable installs, Paolo Bonzini, 2023/10/16
- [PATCH 01/17] meson: do not build shaders by default, Paolo Bonzini, 2023/10/16
- [PATCH 05/17] hw/xen: cleanup sourcesets, Paolo Bonzini, 2023/10/16
- [PATCH 04/17] configure: clean up handling of CFI option, Paolo Bonzini, 2023/10/16
- [PATCH 08/17] configure, tests/tcg: simplify GDB conditionals, Paolo Bonzini, 2023/10/16
- [PATCH 07/17] tests/tcg/arm: move non-SVE tests out of conditional,
Paolo Bonzini <=
- [PATCH 10/17] configure: clean up PIE option handling, Paolo Bonzini, 2023/10/16
- [PATCH 06/17] hw/remote: move stub vfu_object_set_bus_irq out of stubs/, Paolo Bonzini, 2023/10/16
- [PATCH 09/17] configure: clean up plugin option handling, Paolo Bonzini, 2023/10/16
- [PATCH 11/17] configure: remove some dead cruft, Paolo Bonzini, 2023/10/16
- [PATCH 12/17] configure: move target-specific defaults to an external machine file, Paolo Bonzini, 2023/10/16
- [PATCH 14/17] configure: unify handling of several Debian cross containers, Paolo Bonzini, 2023/10/16
- [PATCH 15/17] configure, meson: use command line options to configure qemu-ga, Paolo Bonzini, 2023/10/16
- [PATCH 16/17] meson-buildoptions: document the data at the top, Paolo Bonzini, 2023/10/16
- [PATCH 17/17] meson: add a note on why we use config_host for program paths, Paolo Bonzini, 2023/10/16