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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [991129-1.c] - Rev 691

Compare with Previous | Blame | View Log

/* Test against a problem in push_reload.  */
 
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-O2" } */
 
unsigned long foo (unsigned long long x, unsigned long y)
{
    unsigned long a;
 
    x += y;
 
    asm ("" : "=a" (a) : "A" (x), "rm" (y));
 
    return a;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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