ppc: testsuite: vec-mul requires vsx runtime
commitd48aba3c8b61e4a33d0f1fdd126e5cd15dc99a7f
authorAlexandre Oliva <oliva@adacore.com>
Sun, 28 Apr 2024 07:30:19 +0000 (28 04:30 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Sun, 28 Apr 2024 07:30:19 +0000 (28 04:30 -0300)
treef02bb1e6ba7d6a9431d381ffe2d91943b7af5264
parentcc6a439fdab933963b00c488e221ae33d7199aeb
ppc: testsuite: vec-mul requires vsx runtime

vec-mul is an execution test, but it only requires a powerpc_vsx_ok
effective target, which is enough only for compile tests.  In order to
check for runtime and execution environment support, we need to
require vsx_hw.  Make that a condition for execution, but still
perform a compile test if the condition is not satisfied.

for  gcc/testsuite/ChangeLog

* gcc.target/powerpc/vec-mul.c: Run on target vsx_hw, just
compile otherwise.
gcc/testsuite/gcc.target/powerpc/vec-mul.c