News for hackers. Stuff that matters.
Re:Ubuntu 25.10 Raises RISC-V Profile Requirements by londons_explore on Saturday July 05, 2025 @03:17AM (#44470723)
Why can't these older processors be supported via a software shim for unrecognised instructions?

It is far better for software to run with a couple of percent slowdown on old cpus only than not run at all.

Re:Ubuntu 25.10 Raises RISC-V Profile Requirements by snvzz on Saturday July 05, 2025 @04:43AM (#44471147)
>Why can't these older processors be supported via a software shim for unrecognised instructions?

It can.

It's just this shim is out of scope for Ubuntu.

Refer to opensbi instruction emulation.

>It is far better for software to run with a couple of percent slowdown on old cpus only than not run at all.

With features like vector instructions or pointer masking, we're talking a non-trivial slowdown.

Re:Ubuntu 25.10 Raises RISC-V Profile Requirements by camel-cdr on Saturday July 05, 2025 @05:28AM (#44471356)
> It is far better for software to run with a couple of percent slowdown on old cpus only than not run at all.

The difference on geekbench is 2x and not every benchmark has been optimized for RVV yet: https://browser.geekbench.com/v6/cpu/compare/10681749?baseli... (same hardware, one using the newer geekbench version that can take advantage of RVA22+V)

Re:Ubuntu 25.10 Raises RISC-V Profile Requirements by brucehoult on Sunday July 06, 2025 @10:03PM (#44486046)
Because new instructions such as `c.lb{u}` and `c.sb` and `c.{s,z}ext.{b,h,w}` are going to be thoroughly mixed in all over the place. Probably the (kinda) conditional move `czero.eqz` and `czero.nez` too.