diff mbox

[RS6000] vsx_extract_v4sf

Message ID 20150601062718.GT14752@bubble.grove.modra.org
State New
Headers show

Commit Message

Alan Modra June 1, 2015, 6:27 a.m. UTC
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.

Comments

David Edelsohn June 1, 2015, 1:13 p.m. UTC | #1
On Mon, Jun 1, 2015 at 2:27 AM, Alan Modra <amodra@gmail.com> wrote:
> 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.

Okay.

Thanks, David
diff mbox

Patch

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)"