summaryrefslogtreecommitdiffstats
path: root/tests/tcg/ppc64le/Makefile.target
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/ppc64le/Makefile.target')
-rw-r--r--tests/tcg/ppc64le/Makefile.target12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/tcg/ppc64le/Makefile.target b/tests/tcg/ppc64le/Makefile.target
new file mode 100644
index 0000000000..1acfcff94a
--- /dev/null
+++ b/tests/tcg/ppc64le/Makefile.target
@@ -0,0 +1,12 @@
+# -*- Mode: makefile -*-
+#
+# ppc64le specific tweaks
+
+VPATH += $(SRC_PATH)/tests/tcg/ppc64le
+
+ifneq ($(DOCKER_IMAGE)$(CROSS_CC_HAS_POWER8_VECTOR),)
+PPC64LE_TESTS=bcdsub
+endif
+bcdsub: CFLAGS += -mpower8-vector
+
+TESTS += $(PPC64LE_TESTS)