1 /* Test for the __builtin_altivec_vsumsws_be() builtin.
2 It produces just the instruction vsumsws in LE and BE modes. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_altivec_ok } */
6 /* { dg-options "-maltivec -O2" } */
11 test_vec_sums (vector
signed int vsi2
, vector
signed int vsi3
)
13 return __builtin_altivec_vsumsws_be (vsi2
, vsi3
);
16 /* { dg-final { scan-assembler-times "vsumsws" 1 } } */