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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [tic6x/] [ffssi.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -march=c64x+" } */
3
/* { dg-final { scan-assembler-not "call" } } */
4
 
5
int foo (int x)
6
{
7
  return __builtin_ffsl (x);
8
}
9
 
10
int bar (int x)
11
{
12
  return __builtin_clzl (x);
13
}
14
 
15
int baz (int x)
16
{
17
  return __builtin_ctzl (x);
18
}

powered by: WebSVN 2.1.0

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