URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 297 |
Rev 384 |
/* The array offset became 0x1ffffffffffffffe via a conversion from
|
/* The array offset became 0x1ffffffffffffffe via a conversion from
|
signed to unsigned HOST_WIDE_INT, causing an ICE compiling for
|
signed to unsigned HOST_WIDE_INT, causing an ICE compiling for
|
Thumb. */
|
Thumb. */
|
|
|
int r (unsigned short *);
|
int r (unsigned short *);
|
void s (unsigned short *, unsigned short *);
|
void s (unsigned short *, unsigned short *);
|
|
|
int
|
int
|
f (int x)
|
f (int x)
|
{
|
{
|
unsigned short a[1], c[1];
|
unsigned short a[1], c[1];
|
|
|
if (r (a))
|
if (r (a))
|
return x;
|
return x;
|
|
|
if (c[-1])
|
if (c[-1])
|
s (a, c);
|
s (a, c);
|
|
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.