URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 312 |
Rev 338 |
/* Test that the CIX isa builtins compile. */
|
/* Test that the CIX isa builtins compile. */
|
/* { dg-do link } */
|
/* { dg-do link } */
|
/* { dg-options "-mcpu=ev67" } */
|
/* { dg-options "-mcpu=ev67" } */
|
|
|
void test_CIX (long x)
|
void test_CIX (long x)
|
{
|
{
|
volatile long sink;
|
volatile long sink;
|
|
|
sink = __builtin_alpha_cttz (x);
|
sink = __builtin_alpha_cttz (x);
|
sink = __builtin_alpha_ctlz (x);
|
sink = __builtin_alpha_ctlz (x);
|
sink = __builtin_alpha_ctpop (x);
|
sink = __builtin_alpha_ctpop (x);
|
}
|
}
|
|
|
int main() { return 0; }
|
int main() { return 0; }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.