This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[RS6000] vsx_extract_v4sf
- From: Alan Modra <amodra at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: David Edelsohn <dje dot gcc at gmail dot com>, Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- Date: Mon, 1 Jun 2015 15:57:19 +0930
- Subject: [RS6000] vsx_extract_v4sf
- Authentication-results: sourceware.org; auth=none
Found today when deleting "S" constraint, unused after a local patch.
rs6000/vsx.md:1867: error: undefined machine-specific constraint at this point: "Sa>,<VSa>"
That can't be good says I. An over-enthusiastic search and replace
by the look of it. Bootstrapped and regression tested
powerpc64le-linux. OK for mainline and gcc-5 branch?
* config/rs6000/vsx.md (vsx_extract_v4sf): Revert accidental
2014-08-11 change.
Index: gcc/config/rs6000/vsx.md
===================================================================
--- gcc/config/rs6000/vsx.md (revision 223878)
+++ gcc/config/rs6000/vsx.md (working copy)
@@ -1867,7 +1867,7 @@
(define_insn_and_split "vsx_extract_v4sf"
[(set (match_operand:SF 0 "vsx_register_operand" "=f,f")
(vec_select:SF
- (match_operand:V4SF 1 "vsx_register_operand" "<VSa>,<VSa>")
+ (match_operand:V4SF 1 "vsx_register_operand" "wa,wa")
(parallel [(match_operand:QI 2 "u5bit_cint_operand" "O,i")])))
(clobber (match_scratch:V4SF 3 "=X,0"))]
"VECTOR_UNIT_VSX_P (V4SFmode)"
--
Alan Modra
Australia Development Lab, IBM