[Bug target/67351] Missed optimisation on 64-bit field compared to 32-bit

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 25 16:37:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67351

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Allan Jensen from comment #0)

> Gcc will expand and detect field setting on 32-bit integers, but for some
> reason miss the opportunity on 64-bit.

The immediates for 64bit logic insns are limited to sign-extended 32bit values,
so this probably limits combine to combine several insns into one.


More information about the Gcc-bugs mailing list