[Bug target/87236] Using union to reinterpret from integer to floating point goes via memory

2018-09-05 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87236 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/87236] Using union to reinterpret from integer to floating point goes via memory

2018-09-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87236 --- Comment #1 from Andrew Pinski --- IIRC this is due to a tuning for generic and if you do -mcpu=Intel it won't go via memory. Basically on some AMD hw the path via memory is faster than the path between the sse and gprs.