summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarti Alonso <[email protected]>2026-03-01 20:54:21 +0000
committerAnup Patel <[email protected]>2026-03-10 10:47:23 +0530
commitb5348006e98077076a0b1a690c3a9f63c7151a4b (patch)
treedfc95256cbf58c842295bd763c1ee726de1d3ad9 /include
parentef1ee40e7d9aeca09a7d9a73a990f279a9ec0a9b (diff)
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: 995f226f3f33 ("lib: Emit lr and sc instructions based on -march flags") Signed-off-by: Marti Alonso <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions