OSDN Git Service

RISC-V: XTheadMemPair: Remove register restrictions for store-pair
authorChristoph Müllner <christoph.muellner@vrull.eu>
Mon, 20 Feb 2023 09:56:12 +0000 (10:56 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 2 Mar 2023 00:59:50 +0000 (16:59 -0800)
commitb7fa70e2afa6c784f21f749572ce78f6467666fd
tree1249ce7c9ad96c60fe98cb434c0754444e2d2ffe
parentae9c326fb6f9b580b18de9bce1438229bfaa5215
RISC-V: XTheadMemPair: Remove register restrictions for store-pair

The XTheadMemPair does not define any restrictions for store-pair
instructions (th.sdd or th.swd). However, the current code enforces
the restrictions that are required for load-pair instructions.
Let's fix this by removing this code.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Message-ID: <20230220095612.1529031-1-christoph.muellner@vrull.eu>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
target/riscv/insn_trans/trans_xthead.c.inc