[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 Bug 55177 depends on bug 103228, which changed state. Bug 103228 Summary: [9/10/11/12 Regression] missed optimization with |^ at the gimple level https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103228 What|Removed

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #24 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:32221357007666124409ec3ee0d3a1cf263ebc9e commit r12-5358-g32221357007666124409ec3ee0d3a1cf263ebc9e Author: Andrew Pinski Date:

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2021-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2021-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #22 from Andrew Pinski --- (In reply to Andrew Pinski from comment #20) > So the original testcase shows there are missing other bitop related > optimizations on the tree level and conversions. > I have two patches which fix the

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2021-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 Bug 55177 depends on bug 60669, which changed state. Bug 60669 Summary: VRP misses asserts for some already defined statements https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60669 What|Removed |Added

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2020-02-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #21 from Andrew Pinski --- (In reply to Andrew Pinski from comment #20) > diff --git a/gcc/match.pd b/gcc/match.pd I ran into a testcase regression with my new correct version. See PR 60669 for that case.

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2020-02-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #20 from Andrew Pinski --- So the original testcase shows there are missing other bitop related optimizations on the tree level and conversions. I have two patches which fix the original issue. The first patch also fixes: unsigned

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2016-11-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 Andrew Pinski changed: What|Removed |Added Keywords||TREE --- Comment #19 from Andrew Pinski

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2015-01-23 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #15 from David Woodhouse dwmw2 at infradead dot org --- More missed optimistions (gcc version 4.9.2 20141101 (Red Hat 4.9.2-1) (GCC)) I see it using movbe for the pointer_abuse() function, but can't see a simple way to make it use

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2015-01-23 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #16 from Uroš Bizjak ubizjak at gmail dot com --- (In reply to David Woodhouse from comment #15) { return (p-data[0] 24) | (p-data[1] 16) | (p-data[2] 8) | p-data[1]; } p-data[3] ? unsigned add(struct pkt *p) {

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2015-01-23 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #18 from Uroš Bizjak ubizjak at gmail dot com --- (In reply to David Woodhouse from comment #17) unsigned or(struct pkt *p) gcc 5.0 optimizes the above case ... unsigned add(struct pkt *p) ... but not this one. Probably just

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2015-01-23 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #17 from David Woodhouse dwmw2 at infradead dot org --- Er, yes. Sorry, I originally tried it with uint16_t but it wasn't even using movbe for the pointer_abuse() function then, so I made it 32-bit instead. Badly. Come to think of it,

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2014-11-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #14 from Andrew Pinski pinskia at gcc dot gnu.org --- The original testcase in comment #0 is still not optimized at the gimple level due to extra casts. If I use unsigned instead of int, the testcase is optimized at the gimple level.

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2014-04-04 Thread krebbel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 Andreas Krebbel krebbel at gcc dot gnu.org changed: What|Removed |Added CC||krebbel at

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2013-03-08 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|rtl-optimization