target/loongarch: Add fixed point shift instruction translation
commit63cfcd47d70de7b3133da894edd06d5bf0a5ad93
authorSong Gao <gaosong@loongson.cn>
Mon, 6 Jun 2022 12:42:55 +0000 (6 20:42 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 6 Jun 2022 18:09:03 +0000 (6 18:09 +0000)
treef239608ba08f1d18b76c5e55de635d2d2cb3e0ef
parent143d6785ef725aff6d09bc112c21119c32d9d0ae
target/loongarch: Add fixed point shift instruction translation

This includes:
- SLL.W, SRL.W, SRA.W, ROTR.W
- SLLI.W, SRLI.W, SRAI.W, ROTRI.W
- SLL.D, SRL.D, SRA.D, ROTR.D
- SLLI.D, SRLI.D, SRAI.D, ROTRI.D

Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-6-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/loongarch/insn_trans/trans_shift.c.inc [new file with mode: 0644]
target/loongarch/insns.decode
target/loongarch/translate.c