testsuite: update builtins-5-p9-runnable.c for BE
authorJiufu Guo <guojiufu@linux.ibm.com>
Fri, 14 Apr 2023 02:50:28 +0000 (10:50 +0800)
committerJiufu Guo <guojiufu@linux.ibm.com>
Mon, 17 Apr 2023 02:39:26 +0000 (10:39 +0800)
commita1f25e04b8d10bbe5dcaf98bb7e17cdaec9f169d
treed076ebd3755b744b1a6de4e9112b821f58c289ea
parent2e6b57196dd0e1f4b308abb958f5f905f0ba6aba
testsuite: update builtins-5-p9-runnable.c for BE

Hi,

As PR108809 mentioned, vec_xl_len_r and vec_xst_len_r are tested
in gcc.target/powerpc/builtins-5-p9-runnable.c.
The vector operand of these two bifs are different from the view
of v16_int8 between BE and LE, even it is same from the view of
128bits(uint128/V1TI).

The test case gcc.target/powerpc/builtins-5-p9-runnable.c was
written for LE environment, this patch updates it for BE.

Tested on ppc64 BE and LE.
Is this ok for trunk?

BR,
Jeff (Jiufu)

gcc/testsuite/ChangeLog:

PR testsuite/108809
* gcc.target/powerpc/builtins-5-p9-runnable.c: Update for BE.
gcc/testsuite/gcc.target/powerpc/builtins-5-p9-runnable.c