summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vmx/zero-1.c
blob: 637351cc5d4d6d5501aab1b3f25bb1f6a7f277c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "harness.h"

static vector unsigned int funny()
{
  vector unsigned int a;
  return vec_andc(vec_add(a,a),vec_add(a,a));
}

static void test()
{
  static vector unsigned int zero;
  check(vec_all_eq(funny(), zero), "funny");
}