Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One clarification:

lock cmpxchg8b combination didn't crash the CPU, but lock followed by invalid encoding of instruction that would do two memory accesses did (canonical case was cmpxchg8b between two registers, which is obvious nonsense). More importantly, cmpxchg8b is essentially useless without lock prefix.



> More importantly, cmpxchg8b is essentially useless without lock prefix.

I haven't looked at this for a while but I'm pretty sure cmpxchg8b nowadays has an implicit lock prefix.




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

Search: