diff options
author | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-11 16:27:50 +0000 |
---|---|---|
committer | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-11 16:27:50 +0000 |
commit | d498e0905b9a0ef99cd67f9a497fd8138c0ccf40 (patch) | |
tree | 05d395dd9828d35edba4650c4c7d94b42e820848 /gcc/config/sh/sh.h | |
parent | 855d5778ddda392f0a74ca08e7c2deadb8ab1f3b (diff) | |
download | gcc-d498e0905b9a0ef99cd67f9a497fd8138c0ccf40.tar.gz |
* config/sh/sh.h: Remove old secondary reload code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186328 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/sh.h')
-rw-r--r-- | gcc/config/sh/sh.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 1ee0d017a98..4bffbc76d8e 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -1216,80 +1216,6 @@ extern enum reg_class regno_reg_class[FIRST_PSEUDO_REGISTER]; #define ZERO_EXTRACT_ANDMASK(EXTRACT_SZ_RTX, EXTRACT_POS_RTX)\ (((1 << INTVAL (EXTRACT_SZ_RTX)) - 1) << INTVAL (EXTRACT_POS_RTX)) -#if 0 -#define SECONDARY_INOUT_RELOAD_CLASS(CLASS,MODE,X,ELSE) \ - ((((REGCLASS_HAS_FP_REG (CLASS) \ - && (REG_P (X) \ - && (GENERAL_OR_AP_REGISTER_P (REGNO (X)) \ - || (FP_REGISTER_P (REGNO (X)) && (MODE) == SImode \ - && TARGET_FMOVD)))) \ - || (REGCLASS_HAS_GENERAL_REG (CLASS) \ - && REG_P (X) \ - && FP_REGISTER_P (REGNO (X)))) \ - && ! TARGET_SHMEDIA \ - && ((MODE) == SFmode || (MODE) == SImode)) \ - ? FPUL_REGS \ - : (((CLASS) == FPUL_REGS \ - || (REGCLASS_HAS_FP_REG (CLASS) \ - && ! TARGET_SHMEDIA && MODE == SImode)) \ - && (MEM_P (X) \ - || (REG_P (X) \ - && (REGNO (X) >= FIRST_PSEUDO_REGISTER \ - || REGNO (X) == T_REG \ - || system_reg_operand (X, VOIDmode))))) \ - ? GENERAL_REGS \ - : (((CLASS) == TARGET_REGS \ - || (TARGET_SHMEDIA && (CLASS) == SIBCALL_REGS)) \ - && !satisfies_constraint_Csy (X) \ - && (!REG_P (X) || ! GENERAL_REGISTER_P (REGNO (X)))) \ - ? GENERAL_REGS \ - : (((CLASS) == MAC_REGS || (CLASS) == PR_REGS) \ - && REG_P (X) && ! GENERAL_REGISTER_P (REGNO (X)) \ - && (CLASS) != REGNO_REG_CLASS (REGNO (X))) \ - ? GENERAL_REGS \ - : ((CLASS) != GENERAL_REGS && REG_P (X) \ - && TARGET_REGISTER_P (REGNO (X))) \ - ? GENERAL_REGS : (ELSE)) - -#define SECONDARY_OUTPUT_RELOAD_CLASS(CLASS,MODE,X) \ - SECONDARY_INOUT_RELOAD_CLASS(CLASS,MODE,X,NO_REGS) - -#define SECONDARY_INPUT_RELOAD_CLASS(CLASS,MODE,X) \ - ((REGCLASS_HAS_FP_REG (CLASS) \ - && ! TARGET_SHMEDIA \ - && immediate_operand ((X), (MODE)) \ - && ! ((fp_zero_operand (X) || fp_one_operand (X)) \ - && (MODE) == SFmode && fldi_ok ())) \ - ? R0_REGS \ - : ((CLASS) == FPUL_REGS \ - && ((REG_P (X) \ - && (REGNO (X) == MACL_REG || REGNO (X) == MACH_REG \ - || REGNO (X) == T_REG)) \ - || GET_CODE (X) == PLUS)) \ - ? GENERAL_REGS \ - : (CLASS) == FPUL_REGS && immediate_operand ((X), (MODE)) \ - ? (satisfies_constraint_I08 (X) \ - ? GENERAL_REGS \ - : R0_REGS) \ - : ((CLASS) == FPSCR_REGS \ - && ((REG_P (X) && REGNO (X) >= FIRST_PSEUDO_REGISTER) \ - || (MEM_P (X) && GET_CODE (XEXP ((X), 0)) == PLUS))) \ - ? GENERAL_REGS \ - : (REGCLASS_HAS_FP_REG (CLASS) \ - && TARGET_SHMEDIA \ - && immediate_operand ((X), (MODE)) \ - && (X) != CONST0_RTX (GET_MODE (X)) \ - && GET_MODE (X) != V4SFmode) \ - ? GENERAL_REGS \ - : (((MODE) == QImode || (MODE) == HImode) \ - && TARGET_SHMEDIA && inqhi_operand ((X), (MODE))) \ - ? GENERAL_REGS \ - : (TARGET_SHMEDIA && (CLASS) == GENERAL_REGS \ - && (GET_CODE (X) == LABEL_REF || PIC_ADDR_P (X))) \ - ? TARGET_REGS \ - : SECONDARY_INOUT_RELOAD_CLASS((CLASS),(MODE),(X), NO_REGS)) -#endif - /* Return the maximum number of consecutive registers needed to represent mode MODE in a register of class CLASS. |