URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* Spurious uninitialized variable warning, inspired by libgcc2.c. */
|
/* Spurious uninitialized variable warning, inspired by libgcc2.c. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O -Wuninitialized" } */
|
/* { dg-options "-O -Wuninitialized" } */
|
|
|
/* Not all platforms support TImode integers. */
|
/* Not all platforms support TImode integers. */
|
#if defined(__LP64__) && !defined(__hppa__)
|
#if defined(__LP64__) && !defined(__hppa__)
|
typedef int TItype __attribute__ ((mode (TI)));
|
typedef int TItype __attribute__ ((mode (TI)));
|
#else
|
#else
|
typedef long TItype;
|
typedef long TItype;
|
#endif
|
#endif
|
|
|
|
|
TItype
|
TItype
|
__subvdi3 (TItype a, TItype b)
|
__subvdi3 (TItype a, TItype b)
|
{
|
{
|
TItype w;
|
TItype w;
|
|
|
w = a - b;
|
w = a - b;
|
|
|
return w;
|
return w;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.