mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git] / gcc / testsuite / gcc.dg / simd-3.c
blob790b1e51e6ea6f57eb51fc8805139419caf88bf2
1 /* { dg-do compile } */
2 /* { dg-options "-maltivec" { target { powerpc*-*-* && powerpc_altivec_ok } } } */
4 __attribute__ ((vector_size (2))) signed char v1, v2, v3;
5 void
6 one (void)
8 v1 = v2 + v3;
11 __attribute__ ((vector_size (8))) signed char v4, v5, v6;
12 void
13 two (void)
15 v4 = v5 + v6;