* [committed] amdgcn: fix mode in vec_series
@ 2020-02-21 11:57 Andrew Stubbs
0 siblings, 0 replies; only message in thread
From: Andrew Stubbs @ 2020-02-21 11:57 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 221 bytes --]
This patch fixes any obvious typo in the definition of vec_seriesv64di.
It's never worked, so the fact it's taken this long for me to notice
shows how little the middle-end takes advantage of this pattern. :-(
Andrew
[-- Attachment #2: 200220-fix-vec_series.patch --]
[-- Type: text/x-patch, Size: 671 bytes --]
amdgcn: fix mode in vec_series
2020-02-20 Andrew Stubbs <ams@codesourcery.com>
gcc/
* config/gcn/gcn-valu.md (vec_seriesv64di): Use gen_vec_duplicatev64di.
diff --git a/gcc/config/gcn/gcn-valu.md b/gcc/config/gcn/gcn-valu.md
index ecdd60b8190..edac362fd46 100644
--- a/gcc/config/gcn/gcn-valu.md
+++ b/gcc/config/gcn/gcn-valu.md
@@ -3156,7 +3156,7 @@
rtx op1vec = gen_reg_rtx (V64DImode);
emit_insn (gen_mulv64di3_zext_dup2 (tmp, v1, operands[2]));
- emit_insn (gen_vec_duplicatev64si (op1vec, operands[1]));
+ emit_insn (gen_vec_duplicatev64di (op1vec, operands[1]));
emit_insn (gen_addv64di3 (operands[0], tmp, op1vec));
DONE;
})
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-21 11:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 11:57 [committed] amdgcn: fix mode in vec_series Andrew Stubbs
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).