Re:AVX register corruption from signal delivery
by mrb on Wednesday November 27, 2019 @01:47AM
(#21645819)
Surely you meant x87 FP instructions? The 486 didn't have SSE instructions.
Re:AVX register corruption from signal delivery
by craz8 on Wednesday November 27, 2019 @02:05AM
(#21645902)
Probably not 486 - this was 1999-2000 timeframe, so some sort of Pentium thing.
It was definitely the new instructions though, so whatever Intel chip had the new features had this 1 stepping that had this bug (and it wasn’t the first version of the chip either)
We found a stepping of a 486 chip where this code crashed about 25% of the time
Since it was only that stepping, and we already had a fallback path, we just skipped the optimization for that chip version and didn’t investigate exactly what was broken though
Having a lot of customers with various CPU versions helped to track this down pretty quickly