* config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.

From-SVN: r35646
This commit is contained in:
Richard Henderson 2000-08-11 15:25:22 -07:00 committed by Richard Henderson
parent 85804ec662
commit dcf6e6746d
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2000-08-11 Richard Henderson <rth@cygnus.com>
* config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
2000-08-11 Mark Elbrecht <snowball3@bigfoot.com>
* gcc.texi (The Configuration File): Document

View File

@ -300,15 +300,12 @@ extern const char *ia64_fixed_range_string;
/* A macro to update MODE and UNSIGNEDP when an object whose type is TYPE and
which has the specified mode and signedness is to be stored in a register.
This macro is only called when TYPE is a scalar type. */
/* ??? Maybe sign-extend 32 bit values like the alpha? Or maybe zero-extend
because we only have zero-extending loads? */
#define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \
do \
{ \
if (GET_MODE_CLASS (MODE) == MODE_INT \
&& GET_MODE_SIZE (MODE) < UNITS_PER_WORD) \
(MODE) = DImode; \
&& GET_MODE_SIZE (MODE) < 4) \
(MODE) = SImode; \
} \
while (0)