Hacker News new | past | comments | ask | show | jobs | submit login

> CPUs get microcode updates all the time, too.

To fix bugs, sure. They don't generally get updates that contain new optimizations that radically break existing machine code, justifying this by saying that the existing code violated some spec.




>To fix bugs, sure.

Maybe your program worked due to the bug they fixed.


Extremely unlikely. CPU bugs generally halt the CPU or fail to write the result or something like that. The Pentium FDIV bug where it would give a plausible but wrong result was a once in a lifetime thing.


Spectre and Meltdown exploits stopped working, too. Some of them on some CPUs, anyway.


Sure. But those were obviously exploits from the start. You wouldn't write code like that accidentally.


Do a web search for rdrand and systemd.


> Do a web search for rdrand and systemd.

RDRAND always returning all-FF is exactly the kind of thing that's an obvious bug, not a plausible-but-wrong result.


The other guy said "Maybe your program worked due to the bug they fixed.". The RDRAND fix achieved exactly that.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: