Commit 6b98c8f4 by Jim Wilson

Modify all uses of __attribute__ mode to use new syntax.

From-SVN: r6956
parent eea77e5f
...@@ -48,28 +48,28 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -48,28 +48,28 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
because the sizes for those types can be configured to be anything. because the sizes for those types can be configured to be anything.
Instead we use the following special type names. */ Instead we use the following special type names. */
typedef unsigned int UQItype __attribute__ ((mode (QI))); typedef unsigned int UQItype __attribute__ ((mode ("QI")));
typedef int SItype __attribute__ ((mode (SI))); typedef int SItype __attribute__ ((mode ("SI")));
typedef unsigned int USItype __attribute__ ((mode (SI))); typedef unsigned int USItype __attribute__ ((mode ("SI")));
typedef int DItype __attribute__ ((mode (DI))); typedef int DItype __attribute__ ((mode ("DI")));
typedef unsigned int UDItype __attribute__ ((mode (DI))); typedef unsigned int UDItype __attribute__ ((mode ("DI")));
typedef float SFtype __attribute__ ((mode (SF))); typedef float SFtype __attribute__ ((mode ("SF")));
typedef float DFtype __attribute__ ((mode (DF))); typedef float DFtype __attribute__ ((mode ("DF")));
#if LONG_DOUBLE_TYPE_SIZE == 96 #if LONG_DOUBLE_TYPE_SIZE == 96
typedef float XFtype __attribute__ ((mode (XF))); typedef float XFtype __attribute__ ((mode ("XF")));
#endif #endif
#if LONG_DOUBLE_TYPE_SIZE == 128 #if LONG_DOUBLE_TYPE_SIZE == 128
typedef float TFtype __attribute__ ((mode (TF))); typedef float TFtype __attribute__ ((mode ("TF")));
#endif #endif
#if BITS_PER_WORD==16 #if BITS_PER_WORD==16
typedef int word_type __attribute__ ((mode (HI))); typedef int word_type __attribute__ ((mode ("HI")));
#endif #endif
#if BITS_PER_WORD==32 #if BITS_PER_WORD==32
typedef int word_type __attribute__ ((mode (SI))); typedef int word_type __attribute__ ((mode ("SI")));
#endif #endif
#if BITS_PER_WORD==64 #if BITS_PER_WORD==64
typedef int word_type __attribute__ ((mode (DI))); typedef int word_type __attribute__ ((mode ("DI")));
#endif #endif
/* Make sure that we don't accidentally use any normal C language built-in /* Make sure that we don't accidentally use any normal C language built-in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment