From ab2f2e19111bfdd013697fdfd0cded5ab291a7a1 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 28 Feb 2020 13:28:45 -0500 Subject: [PATCH] Fix target/93937 2020-02-28 Michael Meissner PR target/93937 * config/rs6000/vsx.md (vsx_extract__mode_var): Delete, the insn will never work. --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/vsx.md | 22 ---------------------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c2692a935c..7d95db8623f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2020-02-28 Michael Meissner + + PR target/93937 + * config/rs6000/vsx.md (vsx_extract__mode_var): + Delete insn. + 2020-02-28 Martin Liska PR other/93965 diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md index b5d80f677dc..1fcc1b03096 100644 --- a/gcc/config/rs6000/vsx.md +++ b/gcc/config/rs6000/vsx.md @@ -3749,28 +3749,6 @@ } [(set_attr "type" "load")]) -(define_insn_and_split "*vsx_extract__mode_var" - [(set (match_operand: 0 "gpc_reg_operand" "=r,r,r") - (zero_extend: - (unspec: - [(match_operand:VSX_EXTRACT_I 1 "input_operand" "v,v,Q") - (match_operand:DI 2 "gpc_reg_operand" "r,r,r")] - UNSPEC_VSX_EXTRACT))) - (clobber (match_scratch:DI 3 "=r,r,&b")) - (clobber (match_scratch:V2DI 4 "=X,&v,X"))] - "VECTOR_MEM_VSX_P (mode) && TARGET_DIRECT_MOVE_64BIT" - "#" - "&& reload_completed" - [(const_int 0)] -{ - machine_mode smode = mode; - rs6000_split_vec_extract_var (gen_rtx_REG (smode, REGNO (operands[0])), - operands[1], operands[2], - operands[3], operands[4]); - DONE; -} - [(set_attr "isa" "p9v,*,*")]) - ;; VSX_EXTRACT optimizations ;; Optimize double d = (double) vec_extract (vi, ) ;; Get the element into the top position and use XVCVSWDP/XVCVUWDP -- 2.30.2