From: Kewen Lin Date: Tue, 21 May 2024 02:01:06 +0000 (-0500) Subject: rs6000: Drop useless vector_{load,store}_ defines X-Git-Tag: basepoints/gcc-16~8848 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6f8b2b63391ff14c2bf6e1b75abd99546dfbfb8;p=thirdparty%2Fgcc.git rs6000: Drop useless vector_{load,store}_ defines When I was working on a patch to get rid of TFmode, I noticed that define_expands vector_load_ and vector_store_ are useless. This patch is to clean up both. gcc/ChangeLog: * config/rs6000/vector.md (define_expand vector_load_): Remove. (vector_store_): Likewise. --- diff --git a/gcc/config/rs6000/vector.md b/gcc/config/rs6000/vector.md index f9796fb3781..59489e06839 100644 --- a/gcc/config/rs6000/vector.md +++ b/gcc/config/rs6000/vector.md @@ -163,20 +163,6 @@ } }) -;; Generic vector floating point load/store instructions. These will match -;; insns defined in vsx.md or altivec.md depending on the switches. -(define_expand "vector_load_" - [(set (match_operand:VEC_M 0 "vfloat_operand") - (match_operand:VEC_M 1 "memory_operand"))] - "VECTOR_MEM_ALTIVEC_OR_VSX_P (mode)" - "") - -(define_expand "vector_store_" - [(set (match_operand:VEC_M 0 "memory_operand") - (match_operand:VEC_M 1 "vfloat_operand"))] - "VECTOR_MEM_ALTIVEC_OR_VSX_P (mode)" - "") - ;; Splits if a GPR register was chosen for the move (define_split [(set (match_operand:VEC_L 0 "nonimmediate_operand")