rs6000: Fix p8_mtvsrd_df's insn type
authorKewen Lin <linkw@linux.ibm.com>
Fri, 20 Nov 2020 04:32:18 +0000 (22:32 -0600)
committerKewen Lin <linkw@linux.ibm.com>
Fri, 20 Nov 2020 06:41:03 +0000 (00:41 -0600)
This patch is to fix insn type of p8_mtvsrd_df from mfvsr to mtvsr,
in order to align with the other places using mtvsrd.

gcc/ChangeLog:

* config/rs6000/rs6000.md (p8_mtvsrd_df): Fix insn type.

gcc/config/rs6000/rs6000.md

index 5e5ad9f7c3d02508bfb6446c1c2338ea2cedd6ca..7de31cab80bfec49926fa62dbb47d746f2ff1931 100644 (file)
                   UNSPEC_P8V_MTVSRD))]
   "TARGET_POWERPC64 && TARGET_DIRECT_MOVE"
   "mtvsrd %x0,%1"
-  [(set_attr "type" "mfvsr")])
+  [(set_attr "type" "mtvsr")])
 
 (define_insn "p8_xxpermdi_<mode>"
   [(set (match_operand:FMOVE128_GPR 0 "register_operand" "=wa")