News for hackers. Stuff that matters.
Re:RISC-V: The New Architecture on the Block by zozbot234 on Thursday September 30, 2021 @01:25AM (#28703470)
> Setting a 0 or 1 in SLT was another design error. People designing GPUs demonstrate that they know the better design sets a 0 or ~0 (all ones).

Going from 0/1 to 0/~0 (or conversely) just takes a NEG instruction. All in all, it's a trivial difference. And it's hard to say what's more convenient in actual code.

Re:RISC-V: The New Architecture on the Block by ncmncm on Thursday September 30, 2021 @04:41PM (#28711062)
"Just takes" is another way to say "takes". And, when all your instructions are at least 4 bytes, that takes another 4 bytes.