public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [OBVIOUS][SPARC] Fix a couple of insn alternatives missing a type attribute
@ 2017-06-01  8:50 Jose E. Marchesi
  0 siblings, 0 replies; only message in thread
From: Jose E. Marchesi @ 2017-06-01  8:50 UTC (permalink / raw)
  To: gcc-patches


Installed the patch below to trunk as obvious.  It fixes a couple of
insn alternatives missing a type attribute in sparc.md.

Salud!

Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog	(revision 248773)
+++ gcc/ChangeLog	(working copy)
@@ -1,3 +1,9 @@
+2017-06-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+	* 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  <derodat@adacore.com>
 
 	* dwarf2out.c (get_discr_value): Call the get_debug_type hook on
Index: gcc/config/sparc/sparc.md
===================================================================
--- gcc/config/sparc/sparc.md	(revision 248773)
+++ gcc/config/sparc/sparc.md	(working copy)
@@ -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")])

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-01  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-01  8:50 [OBVIOUS][SPARC] Fix a couple of insn alternatives missing a type attribute Jose E. Marchesi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).