Hacker News new | ask | show | jobs
by anisppp 2648 days ago
Personally found this article overly dramatic and a bit dumb. All this wall of text just to point out that FMA needs to be emulated... ok.. but it’s a solved problem. This is also not a new problem.. fmaf is defined in C99 standard so There are multiple open source library implementations of FMA using round to odd for years.

You can just read that code and see how it’s done. Despite the ridiculous ending there was no mystery to begin with.

https://www.lri.fr/~melquion/doc/08-tc.pdf

1 comments

That is weird. The paper was published in 2009 by Microsoft Research, and the Xbox One entered development in early 2011 according to Wikipedia (https://en.wikipedia.org/wiki/Xbox_One). So when the author started working on the problem for Microsoft, Microsoft already knew how to solve the problem.
Author here: I don't remember exactly when I did my investigation but I left the Xbox team in early 2009, so it would have been some time before that.

The 2011 date from Wikipedia is for when hardware development began. Investigations into what hardware would be used would obviously predate that so there's no contradiction.

Anyway, I'll have to digest that FMA emulation article and see what sort of performance their algorithm achieves. A branchless and vector-math compatible implementation would be important for performance.

Thank you for response/clarifying the timeline. I didn't realize that development on non-hardware parts of the system would happen so much earlier, but it makes sense that you'd want to know if changing archs made your catalog unplayable!
it's possible he left before that. they were working on xbox 360 bc for a long time.