https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100182
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50649|0 |1
is obsolete| |
--- Comment #21 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 50659
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50659&action=edit
Proposed patch
Here is the complete proposed patch.
We can retain problematic atomic store followed by a DFmode load peepholes as
long as we have a load to the SSE register. Load to the SSE register uses
movlps/movq moves that preserve all bits, so we are sure the store to a memory
location is unchanged from the original.
However, "load to the SSE register" requirement makes the peephole ineffective
for -mfpmath=387, so XFAILs are added to affected testcases.