mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 10:14:36 +08:00
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:
parent
c3f23a53ba
commit
c178fe8964
@ -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>
|
2001-12-13 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* gcc.dg/20011113-1.c: New test.
|
* gcc.dg/20011113-1.c: New test.
|
||||||
|
10
gcc/testsuite/gcc.dg/altivec-4.c
Normal file
10
gcc/testsuite/gcc.dg/altivec-4.c
Normal 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);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user