altivec-4.c: New.

2001-12-13  Aldy Hernandez  <aldyh@redhat.com>

	* gcc.dg/altivec-4.c: New.

From-SVN: r47991
This commit is contained in:
Aldy Hernandez 2001-12-14 06:37:02 +00:00 committed by Aldy Hernandez
parent c3f23a53ba
commit c178fe8964
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-12-13 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/altivec-4.c: New.
2001-12-13 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/20011113-1.c: New test.

View File

@ -0,0 +1,10 @@
/* { dg-do compile { target powerpc-*-* } } */
/* { dg-options "-maltivec -O0 -Wall" } */
int __attribute__((mode(V4SI))) x, y;
void
b()
{
__builtin_altivec_vadduwm (x, y);
}