https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66822
--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Uroš Bizjak from comment #3) > Please hold a bit with this change, I have a patch that improves generation > of zero_extend substantially. Eh, it won't have such drastic effect on code size, so if size is priority, X86_TUNE_ZERO_EXTEND_WITH_AND should be disabled.