Add hint * too 2nd alternative of the 1st scratch in *vsx_extract_<mode>_store_p9.
authorVladimir N. Makarov <vmakarov@redhat.com>
Mon, 2 Nov 2020 16:03:54 +0000 (11:03 -0500)
committerVladimir N. Makarov <vmakarov@redhat.com>
Mon, 2 Nov 2020 16:12:59 +0000 (11:12 -0500)
gcc/ChangeLog:

* config/rs6000/vsx.md (*vsx_extract_<mode>_store_p9): Add hint *
to 2nd alternative of the 1st scratch.

gcc/config/rs6000/vsx.md

index 67e4f2fd037e7c31362d993e03e625f3706f1dfa..947631d83ee3d3a2c4f63bd8300b81532da05f2b 100644 (file)
        (vec_select:<VS_scalar>
         (match_operand:VSX_EXTRACT_I 1 "gpc_reg_operand" "<VSX_EX>,v")
         (parallel [(match_operand:QI 2 "const_int_operand" "n,n")])))
-   (clobber (match_scratch:<VS_scalar> 3 "=<VSX_EX>,&r"))
+   (clobber (match_scratch:<VS_scalar> 3 "=<VSX_EX>,&*r"))
    (clobber (match_scratch:SI 4 "=X,&r"))]
   "VECTOR_MEM_VSX_P (<MODE>mode) && TARGET_VEXTRACTUB"
   "#"