Commit a983358b by Carl Love Committed by Carl Love

builtins-7-p9-runnable.c: Change first argument to vui_arg.

gcc/testsuite/ChangeLog:

2018-06-06  Carl Love  <cel@us.ibm.com>
	* gcc.target/powerpc/builtins-7-p9-runnable.c: Change first
	argument to vui_arg.

From-SVN: r261249
parent 9658d116
......@@ -4,6 +4,10 @@
* gfortran.dg/realloc_on_assign_30.f90: New test.
2018-06-06 Carl Love <cel@us.ibm.com>
* gcc.target/powerpc/builtins-7-p9-runnable.c: Change first
argument to vui_arg.
2018-06-06 Carl Love <cel@us.ibm.com>
* gcc.target/powerpc/builtins-3.c: Move tests requiring -mvsx
to builtins-4.c.
......
......@@ -82,6 +82,7 @@ vext (vector unsigned char *vc)
int main()
{
vector signed int vsi_arg;
vector unsigned int vui_arg;
vector unsigned char vec_uc_arg, vec_uc_result, vec_uc_expected;
vector unsigned long long vec_ull_result, vec_ull_expected;
unsigned long long ull_result, ull_expected;
......@@ -113,10 +114,12 @@ int main()
/* insert into char 4 location */
vec_uc_expected = (vector unsigned char){1, 2, 3, 4,
0xC, 0, 0, 0,
2, 0, 0, 0,
9, 10, 11, 12,
13, 14, 15, 16};
vec_uc_result = vec_insert4b (vsi_arg, vec_uc_arg, 4);
vui_arg = (vector unsigned int){0x4, 0x3, 0x2, 0x1};
vec_uc_result = vec_insert4b (vui_arg, vec_uc_arg, 4);
if (result_wrong_uc(vec_uc_expected, vec_uc_result))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment