Files
opensbi/lib/sbi
Marti Alonso b5348006e9 lib: Use proper add opcode on RV32 with Zalrsc
The addw opcode is only defined in RV64, which produces 32-bit results.
On RV32, the default add opcode already produces 32-bit results.

Fixes: 995f226f3f ("lib: Emit lr and sc instructions based on -march flags")
Signed-off-by: Marti Alonso <martialonso11@gmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260301205421.2074835-1-martialonso11@gmail.com
Signed-off-by: Anup Patel <anup@brainfault.org>
2026-03-10 10:47:23 +05:30
..
2024-12-06 09:26:52 +05:30
2020-03-11 15:29:45 +05:30
2026-02-25 18:49:03 +05:30