[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 26/43] tests/tcg/arm: fix up test-arm-iwmmxt test
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v2 26/43] tests/tcg/arm: fix up test-arm-iwmmxt test |
Date: |
Thu, 19 Apr 2018 14:58:44 +0100 |
We need to rename the source file to a .S so we can do a single-line
assemble and link invocation. We also specify the additional CFLAGS
for the compile as it's a non-standard ARM binary.
Signed-off-by: Alex Bennée <address@hidden>
---
tests/tcg/arm/Makefile.target | 5 +++++
tests/tcg/arm/{test-arm-iwmmxt.s => test-arm-iwmmxt.S} | 0
2 files changed, 5 insertions(+)
rename tests/tcg/arm/{test-arm-iwmmxt.s => test-arm-iwmmxt.S} (100%)
diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target
index bc6962ecc6..be9d3fb4a1 100644
--- a/tests/tcg/arm/Makefile.target
+++ b/tests/tcg/arm/Makefile.target
@@ -8,6 +8,11 @@ ARM_SRC=$(SRC_PATH)/tests/tcg/arm
# Set search path for all sources
VPATH += $(ARM_SRC)
+TESTS += hello-arm test-arm-iwmmxt
hello-arm: CFLAGS+=-marm -ffreestanding
hello-arm: LDFLAGS+=-nostdlib
+
+test-arm-iwmmxt: CFLAGS+=-marm -march=iwmmxt -mabi=aapcs
+test-arm-iwmmxt: test-arm-iwmmxt.S
+ $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
diff --git a/tests/tcg/arm/test-arm-iwmmxt.s b/tests/tcg/arm/test-arm-iwmmxt.S
similarity index 100%
rename from tests/tcg/arm/test-arm-iwmmxt.s
rename to tests/tcg/arm/test-arm-iwmmxt.S
--
2.17.0
- Re: [Qemu-devel] [PATCH v2 23/43] tests/tcg/i386/test-i386: use modern vector_size attributes, (continued)
- [Qemu-devel] [PATCH v2 30/43] tests/tcg: move MIPS specific tests into subdir, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 28/43] tests/tcg/aarch64: add fcvt test cases for AArch64, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 36/43] Makefile.target: add (clean-)guest-tests targets, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 38/43] osdep: disable glib-compat.h include with QEMU_NO_GLIB, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 12/43] tests/tcg: move architecture independent tests into subdir, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 39/43] softfloat: do not include glib headers, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 26/43] tests/tcg/arm: fix up test-arm-iwmmxt test,
Alex Bennée <=
- [Qemu-devel] [PATCH v2 41/43] tests/tcg/multiarch: add fp-test into multiarch set, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 25/43] tests/tcg: move ARM specific tests into subdir, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 19/43] tests/tcg/i386: fix test-i386, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 32/43] tests/tcg/mips: include common mips hello-mips, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 43/43] tests: fp-test add fcvt support (!INCOMPLETE WIP), Alex Bennée, 2018/04/19