aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/alpha-cix-1.c
blob: c52befb1be2d6da67cf6c1a91c5c22ec9ff1710d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Test that the CIX isa builtins compile.  */
/* { dg-do link { target alpha*-*-* } } */
/* { dg-options "-mcpu=ev67" } */

void test_CIX (long x)
{
  volatile long sink;

  sink = __builtin_alpha_cttz (x);
  sink = __builtin_alpha_ctlz (x);
  sink = __builtin_alpha_ctpop (x);
}

int main() { return 0; }