logoalt Hacker News

signa11today at 8:07 AM2 repliesview on HN

indeed. riscv for instance. also, afaik, xor’ing is faster. i would assume that someone like mr. raymond would know…


Replies

IshKebabtoday at 8:24 AM

> afaik, xor’ing is faster

Even tiny tiny CPUs can do sub in one cycle, so I doubt that. On super-scalar CPUs xor and sub are normally issued to the same execution units so it wouldn't make a difference there either.

show 1 reply
piftoday at 8:29 AM

Which part of "mathematical operations don’t reset the NaT bit" did you not understand?