blob: cdb2b9f005583d0f5496dc55ac128feb10698f1a [file] [log] [blame]
/* APPLE LOCAL file radar 4149154 */
/* { dg-do compile { target powerpc-*-* } } */
/* { dg-options "-O3 -maltivec" } */
/* { dg-final { scan-assembler-not "mfcr" } } */
#include <altivec.h>
int foo(vector float x, vector float y) {
if (vec_all_eq(x,y)) return 3245;
else return 12;
}