URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 318 |
Rev 338 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-require-effective-target ilp32 } */
|
/* { dg-require-effective-target ilp32 } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
|
|
/* Test against a problem with the combiner substituting explicit hard reg
|
/* Test against a problem with the combiner substituting explicit hard reg
|
references when it shouldn't. */
|
references when it shouldn't. */
|
void foo (int, int) __attribute__ ((regparm (3)));
|
void foo (int, int) __attribute__ ((regparm (3)));
|
void __attribute__((regparm(3))) foo (int x, int y)
|
void __attribute__((regparm(3))) foo (int x, int y)
|
{
|
{
|
__asm__ __volatile__("" : : "d" (x), "r" (y));
|
__asm__ __volatile__("" : : "d" (x), "r" (y));
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.