pr79544.c: Add test for vec_vsrad and fix up scan string.

* gcc.target/powerpc/pr79544.c: Add test for vec_vsrad and fix up
	scan string.

From-SVN: r245812
This commit is contained in:
Pat Haugen 2017-03-01 18:09:51 +00:00 committed by Pat Haugen
parent 501815065b
commit f5ef6bfc30
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2017-03-01 Pat Haugen <pthaugen@us.ibm.com>
* gcc.target/powerpc/pr79544.c: Add test for vec_vsrad and fix up
scan string.
2017-03-01 Kelvin Nilsen <kelvin@gcc.gnu.org>
PR target/79395

View File

@ -11,5 +11,11 @@ test_sra (vector unsigned long long x, vector unsigned long long y)
return vec_sra (x, y);
}
/* { dg-final { scan-assembler "vsrad" } } */
vector unsigned long long
test_vsrad (vector unsigned long long x, vector unsigned long long y)
{
return vec_vsrad (x, y);
}
/* { dg-final { scan-assembler-times {\mvsrad\M} 2 } } */