[Bug middle-end/82479] missing popcount builtin detection

2019-02-12 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 Steve Ellcey changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug middle-end/82479] missing popcount builtin detection

2018-06-16 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 --- Comment #13 from kugan at gcc dot gnu.org --- Author: kugan Date: Sat Jun 16 21:39:31 2018 New Revision: 261682 URL: https://gcc.gnu.org/viewcvs?rev=261682&root=gcc&view=rev Log: gcc/ChangeLog: 2018-06-16 Kugan Vivekanandarajah P

[Bug middle-end/82479] missing popcount builtin detection

2018-06-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 --- Comment #12 from Andrew Pinski --- Latest patch: https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00358.html

[Bug middle-end/82479] missing popcount builtin detection

2017-10-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 --- Comment #11 from Andrew Pinski --- (In reply to amker from comment #10) > And this should be considered along with PR36041 which is still an open > issue? For most targets, that PR does not make a difference. It is only for targets which do

[Bug middle-end/82479] missing popcount builtin detection

2017-10-12 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 --- Comment #10 from amker at gcc dot gnu.org --- And this should be considered along with PR36041 which is still an open issue? Thanks.

[Bug middle-end/82479] missing popcount builtin detection

2017-10-12 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org --- C

[Bug middle-end/82479] missing popcount builtin detection

2017-10-11 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug middle-end/82479] missing popcount builtin detection

2017-10-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 Richard Biener changed: What|Removed |Added Version|unknown |8.0 --- Comment #7 from Richard Biener

[Bug middle-end/82479] missing popcount builtin detection

2017-10-09 Thread wdijkstr at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 Wilco changed: What|Removed |Added CC||wdijkstr at arm dot com --- Comment #6 from Wilc

[Bug middle-end/82479] missing popcount builtin detection

2017-10-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 --- Comment #5 from Andrew Pinski --- Was added to LLVM back in 2012: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20121119/156272.html Again I don't know how useful it is compared to the compile time that it would take.

[Bug middle-end/82479] missing popcount builtin detection

2017-10-08 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 --- Comment #4 from kugan at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #2) > Confirmed. How useful this optimization is questionable. This code is part of spec2017/deepsjeng. There is some gain if we can. > > Gcc has __builti

[Bug middle-end/82479] missing popcount builtin detection

2017-10-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 --- Comment #3 from Andrew Pinski --- Note __builtin_popcount is correctly done for aarch64 already (I/Naveen added it for GCC 7).

[Bug middle-end/82479] missing popcount builtin detection

2017-10-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/82479] missing popcount builtin detection

2017-10-08 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82479 --- Comment #1 from kugan at gcc dot gnu.org --- gcc trunk generates: PopCount: mov w2, 0 cbz x0, .L1 .p2align 3 .L3: sub x1, x0, #1 add w2, w2, 1 andsx0, x0, x1 bne .