From: jose.marchesi@oracle.com (Jose E. Marchesi)
To: gcc-patches@gcc.gnu.org
Subject: [OBVIOUS][SPARC] Fix a couple of insn alternatives missing a type attribute
Date: Thu, 01 Jun 2017 08:50:00 -0000 [thread overview]
Message-ID: <87poeodrc4.fsf@oracle.com> (raw)
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")])
reply other threads:[~2017-06-01 8:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87poeodrc4.fsf@oracle.com \
--to=jose.marchesi@oracle.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).