mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
tests/tcg/arm: move non-SVE tests out of conditional
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>
This commit is contained in:
parent
1725253647
commit
730be6138e
1 changed files with 4 additions and 6 deletions
|
@ -73,11 +73,6 @@ endif
|
||||||
# System Registers Tests
|
# System Registers Tests
|
||||||
AARCH64_TESTS += sysregs
|
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
|
AARCH64_TESTS += test-aes
|
||||||
test-aes: CFLAGS += -O -march=armv8-a+aes
|
test-aes: CFLAGS += -O -march=armv8-a+aes
|
||||||
test-aes: test-aes-main.c.inc
|
test-aes: test-aes-main.c.inc
|
||||||
|
@ -100,12 +95,15 @@ sha512-vector: sha512.c
|
||||||
TESTS += sha512-vector
|
TESTS += sha512-vector
|
||||||
|
|
||||||
ifneq ($(CROSS_CC_HAS_SVE),)
|
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: CFLAGS=-O3 -march=armv8.1-a+sve
|
||||||
sha512-sve: sha512.c
|
sha512-sve: sha512.c
|
||||||
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS)
|
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS)
|
||||||
|
|
||||||
TESTS += sha512-sve
|
TESTS += sha512-sve
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(HOST_GDB_SUPPORTS_ARCH),y)
|
ifeq ($(HOST_GDB_SUPPORTS_ARCH),y)
|
||||||
GDB_SCRIPT=$(SRC_PATH)/tests/guest-debug/run-test.py
|
GDB_SCRIPT=$(SRC_PATH)/tests/guest-debug/run-test.py
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue