News for hackers. Stuff that matters.
Re:Apple CPU Architecture Through the Ages by Carioca on Monday October 30, 2023 @08:41PM (#38078246)
> such as the (in)famous evaluate polynomial instruction, POLY.

What CPU has this instruction and where can I learn more about it?

Re:Apple CPU Architecture Through the Ages by cmg on Monday October 30, 2023 @09:45PM (#38079055)
Re:Apple CPU Architecture Through the Ages by nxobject on Monday October 30, 2023 @11:06PM (#38079755)
My other favorite instructions on the VAX: the CRC instruction, the CASE dispatch table operations, and, glory of all glories, the _3-parameter_ operand + operand + destination instructions.
Re:Apple CPU Architecture Through the Ages by jakey_bakey on Tuesday October 31, 2023 @03:26AM (#38081275)
Frankly, I tried to go into depth on this because it was really interesting. I am embarrassed to say it was tough to find sources outside Quora and Reddit. It's possible this HackerNews comment parent might become the canonical source :)
Re:Apple CPU Architecture Through the Ages by Carioca on Thursday November 02, 2023 @08:27PM (#38122544)
There are a few answers to my question now, if you're still curious
Re:Apple CPU Architecture Through the Ages by clausecker on Tuesday October 31, 2023 @01:37PM (#38088492)
This one is as infamous as it is useful. Modern CPUs have the same instruction, but without the built-in loop (fused multiply-add).

Likewise, modern CPUs have dedicated CRC instructions, ARM Thumb 2 famously has an instruction for case statements (jump tables, instructions TBB/TBH), and many more.

The VAX was way ahead of its time, but failed to deliver on performance due to not having a pipelined or out-of-order architecture as is industry standard today.