News for hackers. Stuff that matters.
Re:RISC-V Stumbling Blocks by ncmncm on Friday January 03, 2020 @02:45AM (#21944063)
I wonder why they studiously avoided even ever mentioning IBM Power architecture. It is considerably more open than MIPS or ARM, and quite a lot cleaner than either has become.
Re:RISC-V Stumbling Blocks by CalChris on Friday January 03, 2020 @12:38PM (#21948207)
Well, open-ness wasn't what RISC-V was looking at in ISA models.

Is Power clean? Myself, I've never liked its special purpose Condition, Link and Count registers. I don't see the need for a Branch Processing Unit being an architectural division. The last time I checked, pushing a register value across that boundary was slow. It wasn't handled by a renamer.

Re:RISC-V Stumbling Blocks by ncmncm on Friday January 03, 2020 @01:58PM (#21949091)
Clean-er.

Not suggesting it as a substitute for RV, just wondering why they saw nothing in it to learn from. It's not defunct like PA-RISC, Alpha, and (forgive me) SPARC, and quite some research has gone into it.

Re:RISC-V Stumbling Blocks by CalChris on Friday January 03, 2020 @02:42PM (#21949563)
I have to admit that leaving Power out of the analysis is a bit odd; the Berkeley crew can be rather parochial. I wrote PowerPC assembly back when the Mac used that ISA and liked it. Alpha lives on, to a degree, in the Sunway Chinese supercomputers. Intel should have gone with Alpha rather than Itanium.

https://en.wikipedia.org/wiki/Sunway_(processor)

Is there an architectural feature in Power you think should have been considered by RISC-V for inclusion or omission?

My 2030 prediction is that Intel will have a simpler x86 where they discard a shit ton of legacy.

Re:RISC-V Stumbling Blocks by ncmncm on Saturday January 04, 2020 @10:48AM (#21955483)
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.

Re:RISC-V Stumbling Blocks by CalChris on Sunday January 05, 2020 @11:20AM (#21961936)
That 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.