public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/56855] New: optab_handler (op=vashr_optab, mode=V4DImode) finds nothing
@ 2013-04-06 10:02 glisse at gcc dot gnu.org
2013-04-07 21:04 ` [Bug target/56855] " glisse at gcc dot gnu.org
2013-04-07 21:18 ` glisse at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: glisse at gcc dot gnu.org @ 2013-04-06 10:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56855
Bug #: 56855
Summary: optab_handler (op=vashr_optab, mode=V4DImode) finds
nothing
Classification: Unclassified
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: glisse@gcc.gnu.org
Target: x86_64-linux-gnu
Hello,
we seem to be missing a vashrv4di3 expander. I noticed it because this code:
typedef long long vec __attribute__((vector_size(32)));
vec f(vec a, vec b){
vec m={1,2,3,4};
return a>>m;
}
is lowered to scalar ops by the tree vector lowering pass even with -mavx2.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/56855] optab_handler (op=vashr_optab, mode=V4DImode) finds nothing
2013-04-06 10:02 [Bug target/56855] New: optab_handler (op=vashr_optab, mode=V4DImode) finds nothing glisse at gcc dot gnu.org
@ 2013-04-07 21:04 ` glisse at gcc dot gnu.org
2013-04-07 21:18 ` glisse at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: glisse at gcc dot gnu.org @ 2013-04-07 21:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56855
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> 2013-04-07 21:03:55 UTC ---
Uh, I seem to have invented an instruction that doesn't exist, sorry...
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/56855] optab_handler (op=vashr_optab, mode=V4DImode) finds nothing
2013-04-06 10:02 [Bug target/56855] New: optab_handler (op=vashr_optab, mode=V4DImode) finds nothing glisse at gcc dot gnu.org
2013-04-07 21:04 ` [Bug target/56855] " glisse at gcc dot gnu.org
@ 2013-04-07 21:18 ` glisse at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: glisse at gcc dot gnu.org @ 2013-04-07 21:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56855
--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> 2013-04-07 21:18:28 UTC ---
There is still something suboptimal in that with -mxop, vashrv2di3 works fine,
but tree-vect-generic lowers vashrv4di3 to scalars instead of v2di. But that
doesn't look like a target issue.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-07 21:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-06 10:02 [Bug target/56855] New: optab_handler (op=vashr_optab, mode=V4DImode) finds nothing glisse at gcc dot gnu.org
2013-04-07 21:04 ` [Bug target/56855] " glisse at gcc dot gnu.org
2013-04-07 21:18 ` glisse at gcc dot gnu.org
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).