Message ID | 4cf271fd-fb35-1f4f-0d75-64940295b7c8@linux.ibm.com |
---|---|
State | New |
Headers | show |
Series | rs6000: Fix p8_mtvsrd_df's insn type | expand |
On Thu, Nov 19, 2020 at 1:54 AM Kewen.Lin <linkw@linux.ibm.com> wrote: > > Hi, > > The insn type of p8_mtvsrd_df looks missed to be updated > with mtvsr. Here I supposed mtvsrd's all usages should > be with the same insn type. > > This patch is to fix its current insn type mfvsr by mtvsr. > > Is it ok for trunk? > > BR, > Kewen > ----- > gcc/ChangeLog: > > * config/rs6000/rs6000.md (p8_mtvsrd_df): Fix insn type. Good that you noticed it. Okay for trunk. Thanks, David
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 5e5ad9f7c3d..7de31cab80b 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -8761,7 +8761,7 @@ 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")