On Thu, 2020-10-22 at 17:21 +1030, Alan Modra wrote:
> gcc.target/powerpc/vsx_mask-count-runnable.c and others
> Assembler messages:
> Error: unrecognized opcode: `vcntmb<VSX_MM_SUFFIX>'
> 
> I'm applying this one as obvious.  Ref
> https://gcc.gnu.org/pipermail/gcc-patches/2020-July/549757.html 
> 
>       * config/rs6000/vsx.md (vec_cntmb_<mode>, vec_extract_<mode>),
>       (vec_expand_<mode>): Replace <VSX_MM_SUFFIX> with <wd>.
> 
> diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md
> index c023bc0baaa..d96269367bf 100644
> --- a/gcc/config/rs6000/vsx.md
> +++ b/gcc/config/rs6000/vsx.md
> @@ -6035,7 +6035,7 @@
>                      (match_operand:QI 2 "const_0_to_1_operand" "n")]
>          UNSPEC_VCNTMB))]
>    "TARGET_POWER10"
> -  "vcntmb<VSX_MM_SUFFIX> %0,%1,%2"
> +  "vcntmb<wd> %0,%1,%2"
>    [(set_attr "type" "vecsimple")])
>  
>  (define_insn "vec_extract_<mode>"
> @@ -6043,7 +6043,7 @@
>       (unspec:SI [(match_operand:VSX_MM 1 "altivec_register_operand"
> "v")]
>       UNSPEC_VEXTRACT))]
>    "TARGET_POWER10"
> -  "vextract<VSX_MM_SUFFIX>m %0,%1"
> +  "vextract<wd>m %0,%1"
>    [(set_attr "type" "vecsimple")])
>  
>  (define_insn "vec_expand_<mode>"
> @@ -6051,5 +6051,5 @@
>          (unspec:VSX_MM [(match_operand:VSX_MM 1
> "vsx_register_operand" "v")]
>          UNSPEC_VEXPAND))]
>    "TARGET_POWER10"
> -  "vexpand<VSX_MM_SUFFIX>m %0,%1"
> +  "vexpand<wd>m %0,%1"
>    [(set_attr "type" "vecsimple")])
> 

Alan:

OK, looks like VSX_MM_SUFFIX doesn't exist anymore.  Don't know what
happed to it.  Thanks.

                Carl 

Reply via email to