Hacker News new | ask | show | jobs
by pclmulqdq 54 days ago
Nobody's code will be compiled to use x87 any more.
1 comments

There is plenty of demand for so called "secure code", where such coder arrogance will not be tolerated. Trust me on that, I know it.
What is "coder arrogance"? The expectation that the 20-year-old API (SSE) will be used over the deprecated 40-year-old API that is currently losing compiler (and silicon) support? Can you point to a running x86 machine today that does not have SSE?

It is also faster and more precise to use double-double for math over x87 extended precision. There is literally no reason to compile an x87 instruction today aside from a programmer not knowing better.

modern compilers do just have options to disable using x87 registers entirely.