powerpc: fix tst-ucontext-ppc64-vscr test for POWER 5/6.
commit56054664ccf837fa325692c0359baa62c64491a1
authorRogerio Alves <rcardoso@linux.ibm.com>
Mon, 14 Jan 2019 13:53:50 +0000 (14 07:53 -0600)
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Tue, 15 Jan 2019 18:26:28 +0000 (15 16:26 -0200)
tree2327c0e5a3ab18941f1dd7ce083775521caca4e2
parent1a153e47fcc9401d8ea424ad86569a57ed0f8c52
powerpc: fix tst-ucontext-ppc64-vscr test for POWER 5/6.

An error "impossible register constraint in 'asm'" was raised on POWER
5 and due to __vector __int128_t being used as operands without passing the
option -msvx to gcc.
This patch replaces "__vector __int128_t" with "__vector unsigned int"
which requires only -maltivec, available since POWER ISA 2.03, and which
is already passed to the compiler.

* sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
(do_test): Changed __vector __int128_t to __vector unsigned int.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
ChangeLog
sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c