diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2016-04-30 05:39:59 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2016-04-30 05:39:59 +0000 |
commit | f1bebab6974932668b19c4ec52cb15b638c163f5 (patch) | |
tree | 89443552d9508dbd545bd6b3461e14453f644bfa /gcc/config/sh/sh.h | |
parent | 85e051a3c45a6a02ecaf52447ad91b174d1bf33b (diff) | |
download | gcc-f1bebab6974932668b19c4ec52cb15b638c163f5.zip gcc-f1bebab6974932668b19c4ec52cb15b638c163f5.tar.gz gcc-f1bebab6974932668b19c4ec52cb15b638c163f5.tar.bz2 |
sh.c (register_sh_passes, [...]): Remove TARGET_SH1 checks.
gcc/
* config/sh/sh.c (register_sh_passes, sh_option_override,
sh_print_operand, prepare_move_operands,
sh_can_follow_jump): Remove TARGET_SH1 checks.
* config/sh/sh.h (TARGET_VARARGS_PRETEND_ARGS, VALID_REGISTER_P,
PROMOTE_MODE): Likewise.
* config/sh/sh.md (adddi3, addsi3, subdi3, subsi3, andsi3,
movdi): Likewise.
From-SVN: r235674
Diffstat (limited to 'gcc/config/sh/sh.h')
-rw-r--r-- | gcc/config/sh/sh.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 9f104f0..31d75e8 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -77,7 +77,7 @@ extern int code_for_indirect_jump_scratch; /* This is not used by the SH2E calling convention */ #define TARGET_VARARGS_PRETEND_ARGS(FUN_DECL) \ - (TARGET_SH1 && ! TARGET_SH2E \ + (! TARGET_SH2E \ && ! (TARGET_HITACHI || sh_attr_renesas_p (FUN_DECL))) #ifndef TARGET_CPU_DEFAULT @@ -636,7 +636,7 @@ extern char sh_additional_register_names[ADDREGNAMES_SIZE] \ || XD_REGISTER_P (REGNO) \ || (REGNO) == AP_REG || (REGNO) == RAP_REG \ || (REGNO) == FRAME_POINTER_REGNUM \ - || (TARGET_SH1 && (SPECIAL_REGISTER_P (REGNO) || (REGNO) == PR_REG)) \ + || ((SPECIAL_REGISTER_P (REGNO) || (REGNO) == PR_REG)) \ || (TARGET_SH2E && (REGNO) == FPUL_REG)) /* The mode that should be generally used to store a register by @@ -1879,8 +1879,7 @@ extern int current_function_interrupt; #define PROMOTE_MODE(MODE, UNSIGNEDP, TYPE) \ if (GET_MODE_CLASS (MODE) == MODE_INT \ && GET_MODE_SIZE (MODE) < 4/* ! UNITS_PER_WORD */)\ - (UNSIGNEDP) = ((MODE) == SImode ? 0 : (UNSIGNEDP)), \ - (MODE) = (TARGET_SH1 ? SImode : DImode); + (UNSIGNEDP) = ((MODE) == SImode ? 0 : (UNSIGNEDP)), (MODE) = SImode; #define MAX_FIXED_MODE_SIZE (64) |