diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2017-01-17 00:18:30 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2017-01-17 00:18:30 +0100 |
commit | af995bf0190c406341949d0e6a24636ac906b1b1 (patch) | |
tree | cf861e85d6074edfbff9f1c1cf59682282e566a2 | |
parent | 98e92fb2104bcee038c0de4a116424b093001ae6 (diff) | |
download | gcc-af995bf0190c406341949d0e6a24636ac906b1b1.zip gcc-af995bf0190c406341949d0e6a24636ac906b1b1.tar.gz gcc-af995bf0190c406341949d0e6a24636ac906b1b1.tar.bz2 |
i386.h (LIMIT_RELOAD_CLASS): Remove.
* config/i386/i386.h (LIMIT_RELOAD_CLASS): Remove.
From-SVN: r244508
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 24 |
2 files changed, 4 insertions, 24 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 70f200b..265e3a5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-01-17 Uros Bizjak <ubizjak@gmail.com> + + * config/i386/i386.h (LIMIT_RELOAD_CLASS): Remove. + 2017-01-16 Jakub Jelinek <jakub@redhat.com> PR c/79089 diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index f31f11c..df3a134 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -1559,30 +1559,6 @@ enum reg_class #define INDEX_REG_CLASS INDEX_REGS #define BASE_REG_CLASS GENERAL_REGS -/* Place additional restrictions on the register class to use when it - is necessary to be able to hold a value of mode MODE in a reload - register for which class CLASS would ordinarily be used. - - We avoid classes containing registers from multiple units due to - the limitation in ix86_secondary_memory_needed. We limit these - classes to their "natural mode" single unit register class, depending - on the unit availability. - - Please note that reg_class_subset_p is not commutative, so these - conditions mean "... if (CLASS) includes ALL registers from the - register set." */ - -#define LIMIT_RELOAD_CLASS(MODE, CLASS) \ - (((MODE) == QImode && !TARGET_64BIT \ - && reg_class_subset_p (Q_REGS, (CLASS))) ? Q_REGS \ - : (((MODE) == SImode || (MODE) == DImode) \ - && reg_class_subset_p (GENERAL_REGS, (CLASS))) ? GENERAL_REGS \ - : (SSE_FLOAT_MODE_P (MODE) && TARGET_SSE_MATH \ - && reg_class_subset_p (SSE_REGS, (CLASS))) ? SSE_REGS \ - : (X87_FLOAT_MODE_P (MODE) \ - && reg_class_subset_p (FLOAT_REGS, (CLASS))) ? FLOAT_REGS \ - : (CLASS)) - /* If we are copying between general and FP registers, we need a memory location. The same is true for SSE and MMX registers. */ #define SECONDARY_MEMORY_NEEDED(CLASS1, CLASS2, MODE) \ |