[Bug target/86866] MMX intrinsics / x87 registers aliasing

2018-08-06 Thread konovalov.alv at ya dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86866 Aleksey Konovalov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/86866] MMX intrinsics / x87 registers aliasing

2018-08-06 Thread konovalov.alv at ya dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86866 --- Comment #2 from Aleksey Konovalov --- (In reply to Andrew Pinski from comment #1) > I think you forgot to the flush as required. The mmx programming model > requires the user to do it. You are right. Calling _m_empty() solves problem Thank

[Bug c/86866] New: MMX intrinsics / x87 registers aliasing

2018-08-06 Thread konovalov.alv at ya dot ru
Assignee: unassigned at gcc dot gnu.org Reporter: konovalov.alv at ya dot ru Target Milestone: --- Each 64-bit MMX register corresponds to the mantissa part of an 80-bit x87 register. But the GCC considers the MMX and X87 registers independent. For example: #include #include int