3 ms·
Don't know it well enough to suggest any. That is what inclusion in the survey would have been useful for. It is conventional to complain about condition codes
by ncmncm 7y ago
Don't know it well enough to suggest any. That is what inclusion in the survey would have been useful for.
It is conventional to complain about condition codes, but I don't see what would be debilitating about just appending a set of condition codes to each register, so that renaming a register carries them along. Going from storing 64 bits to 70 bits each would't break the bank.
- CalChris 7y agoThat is a really good idea. Sadly, RISC-V is an ultra ultra conservative design bereft, nay avoiding anything resembling an idea. I believe that an element of your idea is done in modern x86 microarchitectures. I was having an argument on LLVMdev about a peephole optimization and partial register update stalls. Eventually one of the Intel compiler people popped in on the thread and settled the argument, saying: Regarding the partial EFLAGS write, modern OOO processors independently rename the carry flag, et al, so this is no longer a problem.