[RS6000] VSX_MM_SUFFIX
authorAlan Modra <amodra@gmail.com>
Thu, 22 Oct 2020 00:15:53 +0000 (10:45 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 22 Oct 2020 11:03:09 +0000 (21:33 +1030)
gcc.target/powerpc/vsx_mask-count-runnable.c and others
Assembler messages:
Error: unrecognized opcode: `vcntmb<VSX_MM_SUFFIX>'

* config/rs6000/vsx.md (vec_cntmb_<mode>, vec_extract_<mode>),
(vec_expand_<mode>): Replace <VSX_MM_SUFFIX> with <wd>.

gcc/config/rs6000/vsx.md

index c023bc0baaaec197b91017b5feba37709d81d09f..d96269367bf1f0170b3fcb0b5d43912744e9d7dc 100644 (file)
                     (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>"
        (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>"
         (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")])