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

I thought that Intel added the ‘pause’ instruction to make busy spinning more power friendly


x86 has always had PAUSE, what they did is they made the PAUSE way longer in Skylake-X which threw everyone off guard. But yeah, x86 ISA extensions cover this ground very well. Atom, the low-power server line, introduced UMWAIT and TPAUSE that enable cores to briefly enter a power-saving active state while waiting for something to happen. These instructions later came to mainstream Core and Xeon CPUs because Intel made those frankenchips with Atoms and Cores together.


It had REP NOP which is the same opcode as PAUSE, but on CPUs that supported it PAUSE does less work for the same effect. At least that's my understanding of it.




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

Search: