[Bug target/82897] Unnecessary zero-extension when loading mask register from memory

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 8 15:02:00 GMT 2017


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

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
Another idea is to add an "nopromote" attribute to builtin decl (in
ix86_Add_new_buitins), detect this attribute in TARGET_PROMOTE_PROTOTYPES and
disable promotion in this case.

If this approach works, we can perhaps selectively add "nopromote" attribute to
masked builtins.


More information about the Gcc-bugs mailing list