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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [and-1.c] - Blame information for rev 848

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
/* { dg-final { scan-assembler "and" { target powerpc*-*-* spu-*-* } } } */
4
/* There should be no nand for this testcase (for either PPC or SPU). */
5
/* { dg-final { scan-assembler-not "nand" { target powerpc*-*-* spu-*-* } } } */
6
 
7
int f(int y)
8
{
9
  return y & ~(y & -y);
10
}

powered by: WebSVN 2.1.0

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