[Bug tree-optimization/55177] missed optimizations with __builtin_bswap
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jan 23 14:00:00 GMT 2015
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)
> {
> return (p->data[0] << 24) + (p->data[1] << 16) + (p->data[2] << 8) +
> p->data[1];
... and here?
More information about the Gcc-bugs
mailing list