2 ms·
[edit, my reply was to a comment I made up in my head by conflating a bunch of other comments. Going to call it a comment prediction failure and blame my own C
by olliej 7y ago
[edit, my reply was to a comment I made up in my head by conflating a bunch of other comments. Going to call it a comment prediction failure and blame my own CPU ;) ]
Oh, The one I was thinking of may have been FDIV rather than fsqrt. I mean the basic problem was the lookup table for the first NR guess was zero’d in a bunch of places and so the required number of NR iterations was incorrect and so sadness ensued.
But my point was those bugs weren’t due to complexity.
I think things like the f00f bug that was mentioned in another reply better fall into the “complexity is hard” area. The comment I was replying to was that it was complexity driven bugs, and I was trying to say that a number of the bugs we see aren’t in particularly complicated portions of the cpu - seriously the FPU bugs were all in some of the most sane portions of the CPU, vs f00f, spectre, etc which are a somewhat direct result of complex interactions of different parts of the cpu.