]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv: Add X register names to gpr-nums
authorAndrew Jones <ajones@ventanamicro.com>
Sun, 2 Oct 2022 04:47:58 +0000 (10:17 +0530)
committerAnup Patel <anup@brainfault.org>
Sun, 2 Oct 2022 04:47:58 +0000 (10:17 +0530)
commit7fc4426959e17178654404e6bde4b920b5fee7c7
tree370cbff708935a245567473b2c20770fceca43e0
parentf76349cf41451c5c42a99f18a9163377e4b364ff
riscv: Add X register names to gpr-nums

When encoding instructions it's sometimes necessary to set a
register field to a precise number. This is easiest to do using
the x<num> naming.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/gpr-num.h