From: Bernd Schmidt Date: Thu, 26 Oct 2000 23:05:17 +0000 (+0000) Subject: ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants into memory. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=036099eb8fa7798adc7e8558e0d570dc26f3eb50;p=gcc.git ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants into memory. * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants into memory. From-SVN: r37075 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4bac913cb00..eb7254354d6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-10-26 Bernd Schmidt + + * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants + into memory. + 2000-10-26 Nathan Sidwell * tree.c (make_node, case 't'): Set alignment to that of diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index 6f13d8cbd57..9fd78f8317b 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -1021,6 +1021,7 @@ enum reg_class #define PREFERRED_RELOAD_CLASS(X, CLASS) \ (CLASS == FR_REGS && GET_CODE (X) == MEM && MEM_VOLATILE_P (X) ? NO_REGS \ + : CLASS == FR_REGS && GET_CODE (X) == CONST_DOUBLE ? NO_REGS \ : GET_RTX_CLASS (GET_CODE (X)) != 'o' && CLASS > GR_AND_FR_REGS ? NO_REGS \ : CLASS)