News for hackers. Stuff that matters.
Re:RISC-V Stumbling Blocks by ncmncm on Thursday January 02, 2020 @08:09AM (#21935040)
These do not seem, to you, complex instructions?

I boggle.

Re:RISC-V Stumbling Blocks by pjc50 on Thursday January 02, 2020 @10:17AM (#21935996)
Pretty much all architectures have those as a natural consequence of the way 2's complement arithmetic works? Even the tiny 6502 spends eight of its 256 opcodes on eight different branch-if-comparison opcodes.
Re:RISC-V Stumbling Blocks by ncmncm on Thursday January 02, 2020 @01:39PM (#21938252)
The RISC-V compare-and-branch instructions are objectively a great deal more complex than the 6502 instructions.
Re:RISC-V Stumbling Blocks by Taniwha on Thursday January 02, 2020 @03:01PM (#21939181)
No, compare and branch is kind of the expected instruction in an architecture that has no condition codes (mips has compare with 0 but essentially the same 6) - compare works well in an out of order pipe

If I was going to change anything I'd add compare eq/ne with an immediate