]> sourceware.org Git - valgrind.git/commit
s390x regtest: Adjust vec2_float for Clang
authorAndreas Arnez <arnez@linux.ibm.com>
Fri, 29 Sep 2023 14:11:31 +0000 (16:11 +0200)
committerAndreas Arnez <arnez@linux.ibm.com>
Fri, 29 Sep 2023 14:11:31 +0000 (16:11 +0200)
commit7c837ff8930704cb0f4b0b12dd6342c0b43c5ff3
treef037e24ab536bfd535cf0e75b8a3c250d1af3654
parent70932c0363bd0f71e5d48c945f012cc2e9f82bc6
s390x regtest: Adjust vec2_float for Clang

The vec2_float test case doesn't compile with Clang, due to two issues:

* Clang doesn't correctly support `long double' vectors, as documented in
  this GitHub issue: https://github.com/llvm/llvm-project/issues/61291

* llvm-as behaves differently from gas for the reserved field in the
  `.insn vrr' directive.  Instead of inserting the given data from the
  first operand, it initializes the reserved field with zeros.

Circumvent these issues.
none/tests/s390x/vec2_float.c
This page took 0.032162 seconds and 5 git commands to generate.