[Bug target/117926] [14/15 Regression] emits 3dnow (MMX) instruction from autovectorized GIMPLE without emms at -O2 since r14-2786-gade30fad6669e5

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 6 10:16:10 GMT 2024


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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ubizjak at gmail dot com

--- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 59800
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59800&action=edit
Proposed patch

Patch in testing.

Tag generic 3dNOW! V2SF instructions that can interfere with V4SF partial
vector insns with UNSPEC_3DNOW unspec. This way, it is still possible to use
fully functional 3dNOW! intrinsics when TARGET_MMX_WITH_SSE is active.


More information about the Gcc-bugs mailing list