OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [alpha/] [cix-1.c] - Rev 841

Go to most recent revision | Compare with Previous | Blame | View Log

/* 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; }
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.