summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/alpha/cix-1.c
blob: 53aa6efd8e871b979030896f0f6d869f7b647018 (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 } */
/* { 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; }