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

This includes:
- EXT.W.{B/H}
- CL{O/Z}.{W/D}, CT{O/Z}.{W/D}
- BYTEPICK.{W/D}
- REVB.{2H/4H/2W/D}
- REVH.{2W/D}
- BITREV.{4B/8B}, BITREV.{W/D}
- BSTRINS.{W/D}, BSTRPICK.{W/D}
- MASKEQZ, MASKNEZ

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-7-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/loongarch/helper.h
target/loongarch/insn_trans/trans_bit.c.inc [new file with mode: 0644]
target/loongarch/insns.decode
target/loongarch/op_helper.c
target/loongarch/translate.c