From 197d1c095d988f7ae69a166ca63e96b816c9893f Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Thu, 19 Jan 2017 16:59:43 +0000 Subject: [PATCH] [AArch64] Purge leftover occurrences of aarch64_nopcrelative_literal_loads * config/aarch64/aarch64-protos.h (aarch64_nopcrelative_literal_loads): Delete. * config/aarch64/aarch64.md (aarch64_reload_movcp): Delete reference to aarch64_nopcrelative_literal_loads. (aarch64_reload_movcp): Likewise. From-SVN: r244643 --- gcc/ChangeLog | 9 +++++++++ gcc/config/aarch64/aarch64-protos.h | 1 - gcc/config/aarch64/aarch64.md | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e53f9e1a670..7438335c82c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2016-01-19 Kyrylo Tkachov + + * config/aarch64/aarch64-protos.h (aarch64_nopcrelative_literal_loads): + Delete. + * config/aarch64/aarch64.md + (aarch64_reload_movcp): Delete reference to + aarch64_nopcrelative_literal_loads. + (aarch64_reload_movcp): Likewise. + 2017-01-19 Chenghua Xu * config/mips/mips.h (ISA_HAS_FUSED_MADD4): Enable for diff --git a/gcc/config/aarch64/aarch64-protos.h b/gcc/config/aarch64/aarch64-protos.h index 602f54f934a..8c4380b5953 100644 --- a/gcc/config/aarch64/aarch64-protos.h +++ b/gcc/config/aarch64/aarch64-protos.h @@ -453,7 +453,6 @@ int aarch64_ccmp_mode_to_code (enum machine_mode mode); bool extract_base_offset_in_addr (rtx mem, rtx *base, rtx *offset); bool aarch64_operands_ok_for_ldpstp (rtx *, bool, enum machine_mode); bool aarch64_operands_adjust_ok_for_ldpstp (rtx *, bool, enum machine_mode); -extern bool aarch64_nopcrelative_literal_loads; extern void aarch64_asm_output_pool_epilogue (FILE *, const char *, tree, HOST_WIDE_INT); diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index b3be106ac6f..a3be2b999c8 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -5006,7 +5006,7 @@ [(set (match_operand:GPF_TF 0 "register_operand" "=w") (mem:GPF_TF (match_operand 1 "aarch64_constant_pool_symref" "S"))) (clobber (match_operand:P 2 "register_operand" "=&r"))] - "TARGET_FLOAT && aarch64_nopcrelative_literal_loads" + "TARGET_FLOAT" { aarch64_expand_mov_immediate (operands[2], XEXP (operands[1], 0)); emit_move_insn (operands[0], gen_rtx_MEM (mode, operands[2])); @@ -5019,7 +5019,7 @@ [(set (match_operand:VALL 0 "register_operand" "=w") (mem:VALL (match_operand 1 "aarch64_constant_pool_symref" "S"))) (clobber (match_operand:P 2 "register_operand" "=&r"))] - "TARGET_FLOAT && aarch64_nopcrelative_literal_loads" + "TARGET_FLOAT" { aarch64_expand_mov_immediate (operands[2], XEXP (operands[1], 0)); emit_move_insn (operands[0], gen_rtx_MEM (mode, operands[2])); -- 2.30.2