From 96e1c37da75d0bd4bb68f26630321fa8157145ee Mon Sep 17 00:00:00 2001 From: "Jose E. Marchesi" Date: Thu, 1 Jun 2017 10:43:22 +0200 Subject: [PATCH] sparc.md (*zero_extendsidi2_insn_sp64): Set insn type for movstouw. gcc/ChangeLog: * config/sparc/sparc.md (*zero_extendsidi2_insn_sp64): Set insn type for movstouw. (*sign_extendsidi2_insn): Likewise for movstosw. From-SVN: r248774 --- gcc/ChangeLog | 6 ++++++ gcc/config/sparc/sparc.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 789095ee844..b145573cd65 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-06-01 Jose E. Marchesi + + * config/sparc/sparc.md (*zero_extendsidi2_insn_sp64): Set insn + type for movstouw. + (*sign_extendsidi2_insn): Likewise for movstosw. + 2017-06-01 Pierre-Marie de Rodat * dwarf2out.c (get_discr_value): Call the get_debug_type hook on diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index 3f970f7c2af..737bdb37543 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -3014,7 +3014,7 @@ srl\t%1, 0, %0 lduw\t%1, %0 movstouw\t%1, %0" - [(set_attr "type" "shift,load,*") + [(set_attr "type" "shift,load,vismv") (set_attr "cpu_feature" "*,*,vis3") (set_attr "v3pipe" "*,*,true")]) @@ -3329,7 +3329,7 @@ sra\t%1, 0, %0 ldsw\t%1, %0 movstosw\t%1, %0" - [(set_attr "type" "shift,sload,*") + [(set_attr "type" "shift,sload,vismv") (set_attr "us3load_type" "*,3cycle,*") (set_attr "cpu_feature" "*,*,vis3") (set_attr "v3pipe" "*,*,true")]) -- 2.30.2