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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [pr47259_0.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-lto-do link } */
2
/* { dg-skip-if "" { ! { x86_64-*-* } } { "*" } { "" } } */
3
/* { dg-lto-options { { -O2 -flto -w } } } */
4
 
5
register int r asm("esi");
6
 
7
void foo(void)
8
{
9
  if (r)
10
    __asm__("sar\t%0" : "+r" (r));
11
  __asm__("sar\t%0" : "+r" (r));
12
}

powered by: WebSVN 2.1.0

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