From 69aec5521411df75d60f3e4009c46de2b85da16b Mon Sep 17 00:00:00 2001 From: Alan Lawrence Date: Mon, 20 Apr 2015 13:35:35 +0000 Subject: [PATCH] [Obvious][AArch64] Delete unused aarch64_simd_emit_pair_result_insn. * config/aarch64/aarch64.c (aarch64_simd_emit_pair_result_insn): Delete. * config/aarch64/aarch64-protos.h (aarch64_simd_emit_pair_result_insn): Delete. From-SVN: r222234 --- gcc/ChangeLog | 6 ++++++ gcc/config/aarch64/aarch64-protos.h | 6 ------ gcc/config/aarch64/aarch64.c | 18 ------------------ 3 files changed, 6 insertions(+), 24 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a1776c4eee7..a34e846c14c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-04-20 Alan Lawrence + + * config/aarch64/aarch64.c (aarch64_simd_emit_pair_result_insn): Delete. + * config/aarch64/aarch64-protos.h (aarch64_simd_emit_pair_result_insn): + Delete. + 2015-04-20 Jakub Jelinek PR debug/65807 diff --git a/gcc/config/aarch64/aarch64-protos.h b/gcc/config/aarch64/aarch64-protos.h index 59c5824f894..8676c5c9c85 100644 --- a/gcc/config/aarch64/aarch64-protos.h +++ b/gcc/config/aarch64/aarch64-protos.h @@ -264,12 +264,6 @@ void init_aarch64_simd_builtins (void); void aarch64_simd_emit_reg_reg_move (rtx *, enum machine_mode, unsigned int); -/* Emit code to place a AdvSIMD pair result in memory locations (with equal - registers). */ -void aarch64_simd_emit_pair_result_insn (machine_mode, - rtx (*intfn) (rtx, rtx, rtx), rtx, - rtx); - /* Expand builtins for SIMD intrinsics. */ rtx aarch64_simd_expand_builtin (int, tree, rtx); diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 767b986e907..77a641e34ec 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -8569,24 +8569,6 @@ aarch64_simd_lane_bounds (rtx operand, HOST_WIDE_INT low, HOST_WIDE_INT high, } } -/* Emit code to place a AdvSIMD pair result in memory locations (with equal - registers). */ -void -aarch64_simd_emit_pair_result_insn (machine_mode mode, - rtx (*intfn) (rtx, rtx, rtx), rtx destaddr, - rtx op1) -{ - rtx mem = gen_rtx_MEM (mode, destaddr); - rtx tmp1 = gen_reg_rtx (mode); - rtx tmp2 = gen_reg_rtx (mode); - - emit_insn (intfn (tmp1, op1, tmp2)); - - emit_move_insn (mem, tmp1); - mem = adjust_address (mem, mode, GET_MODE_SIZE (mode)); - emit_move_insn (mem, tmp2); -} - /* Return TRUE if OP is a valid vector addressing mode. */ bool aarch64_simd_mem_operand_p (rtx op) -- 2.30.2