[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 13/13] tests/tcg/s390x: Tests for Vector Enhancements Faci

From: Thomas Huth
Subject: Re: [PATCH v6 13/13] tests/tcg/s390x: Tests for Vector Enhancements Facility 2
Date: Mon, 2 May 2022 10:12:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 28/04/2022 11.47, David Hildenbrand wrote:
From: David Miller <dmiller423@gmail.com>

Signed-off-by: David Miller <dmiller423@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
  tests/tcg/s390x/Makefile.target |   8 ++
  tests/tcg/s390x/vx.h            |  19 +++++
  tests/tcg/s390x/vxeh2_vcvt.c    |  88 ++++++++++++++++++++
  tests/tcg/s390x/vxeh2_vlstr.c   | 139 ++++++++++++++++++++++++++++++++
  tests/tcg/s390x/vxeh2_vs.c      |  93 +++++++++++++++++++++
  5 files changed, 347 insertions(+)
  create mode 100644 tests/tcg/s390x/vx.h
  create mode 100644 tests/tcg/s390x/vxeh2_vcvt.c
  create mode 100644 tests/tcg/s390x/vxeh2_vlstr.c
  create mode 100644 tests/tcg/s390x/vxeh2_vs.c

diff --git a/tests/tcg/s390x/Makefile.target b/tests/tcg/s390x/Makefile.target
index f0d474a245..e50d617f21 100644
--- a/tests/tcg/s390x/Makefile.target
+++ b/tests/tcg/s390x/Makefile.target
@@ -17,6 +17,14 @@ TESTS+=trap
+$(VECTOR_TESTS): CFLAGS+=-march=z15 -O2

I'm sorry, but this still fails in the QEMU CI:


s390x-linux-gnu-gcc: error: unrecognized argument in option '-march=z15'

I think we either have to switch to manually encoded instructions again, or add a check to the Makefile and only add the tests if the compiler supports -march=z15 ...? Opinions? Preferences?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]