diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2015-06-03 20:34:00 +0200 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2015-06-11 15:02:25 +0200 |
commit | 956cc51e928165346a2ed9ca1025ebea90a3b7f5 (patch) | |
tree | 7da2787598d207ecd8b59e3de3fd0e2f0a1707aa | |
parent | 928824b77594b3cd4e6f2057cf07f91348915503 (diff) |
2015-06-03 Christophe Lyon <christophe.lyon@linaro.org>
gcc/
Backport from trunk r222234.
2015-04-20 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/aarch64.c (aarch64_simd_emit_pair_result_insn): Delete.
* config/aarch64/aarch64-protos.h (aarch64_simd_emit_pair_result_insn):
Delete.
Change-Id: Ic4a6a3ba79e19c0adccc96da58052471d6a3c30b
-rw-r--r-- | gcc/config/aarch64/aarch64-protos.h | 6 | ||||
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 18 |
2 files changed, 0 insertions, 24 deletions
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 cba3c1a4d42..0c63af04049 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) |