https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93165
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93165
--- Comment #7 from ncm at cantrip dot org ---
(In reply to Richard Biener from comment #6)
> (In reply to Andrew Pinski from comment #4)
> > (In reply to Alexander Monakov from comment #3)
> > > So perhaps an unpopular opinion, but I'd say a
> >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93165
--- Comment #6 from Richard Biener ---
(In reply to Andrew Pinski from comment #4)
> (In reply to Alexander Monakov from comment #3)
> > So perhaps an unpopular opinion, but I'd say a
> > __builtin_branchless_select(c, a, b) (guaranteed to live t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93165
--- Comment #5 from ncm at cantrip dot org ---
(In reply to Alexander Monakov from comment #3)
> The compiler has no way of knowing ahead of time that you will be evaluating
> the result on random data; for mostly-sorted arrays branching is arguab
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93165
--- Comment #4 from Andrew Pinski ---
(In reply to Alexander Monakov from comment #3)
> So perhaps an unpopular opinion, but I'd say a
> __builtin_branchless_select(c, a, b) (guaranteed to live throughout
> optimization pipeline as a non-branchy
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93165
Alexander Monakov changed:
What|Removed |Added
CC||amonakov at gcc dot gnu.org
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93165
--- Comment #2 from ncm at cantrip dot org ---
Created attachment 47593
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47593&action=edit
a makefile
This duplicates code found on the linked archive.
E.g.:
make all
make CC=g++-9 INDEXED
mak
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93165
--- Comment #1 from ncm at cantrip dot org ---
Created attachment 47592
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47592&action=edit
code demonstrating the failure