logoalt Hacker News

_0ffhyesterday at 5:22 PM2 repliesview on HN

>absolute distain for flag registers

It's worst aspect maybe.


Replies

wk_endyesterday at 6:52 PM

The RISC-V specs insist that this is important for simplifying high performance designs, because a flag register is a single piece of shared state that instructions are constantly (and often inadvertently!) touching. This necessarily introduces hazards and serialization.

I don’t know enough about high performance microarchitecture design to evaluate that argument confidently, but it seems to make sense to me.

show 2 replies