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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target ti_c64xp } */
3
/* { dg-options "-O2" } */
4
/* { dg-final { scan-assembler-not "call" } } */
5
 
6
long long foo (long long x)
7
{
8
  return __builtin_ffsll (x);
9
}
10
 
11
long long bar (long long x)
12
{
13
  return __builtin_clzll (x);
14
}
15
 
16
long long baz (long long x)
17
{
18
  return __builtin_ctzll (x);
19
}

powered by: WebSVN 2.1.0

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