target/loongarch: Add avail_64 to check la64-only instructions
commitc0c0461e3a06c8e854b8666a2610b1b619d0d1f8
authorSong Gao <gaosong@loongson.cn>
Tue, 22 Aug 2023 07:19:52 +0000 (22 09:19 +0200)
committerSong Gao <gaosong@loongson.cn>
Thu, 24 Aug 2023 03:17:58 +0000 (24 11:17 +0800)
tree8e60fcf2cf8f91d5da4b41a6bba151a7f75cdff3
parentec3a951891b00b2382bca29266c28f7ed021b0e5
target/loongarch: Add avail_64 to check la64-only instructions

The la32 instructions listed in Table 2 at
https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#overview-of-basic-integer-instructions

Co-authored-by: Jiajie Chen <c@jia.je>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20230822032724.1353391-9-gaosong@loongson.cn>
Message-Id: <20230822071959.35620-3-philmd@linaro.org>
target/loongarch/insn_trans/trans_arith.c.inc
target/loongarch/insn_trans/trans_atomic.c.inc
target/loongarch/insn_trans/trans_bit.c.inc
target/loongarch/insn_trans/trans_branch.c.inc
target/loongarch/insn_trans/trans_extra.c.inc
target/loongarch/insn_trans/trans_fmov.c.inc
target/loongarch/insn_trans/trans_memory.c.inc
target/loongarch/insn_trans/trans_shift.c.inc
target/loongarch/translate.c
target/loongarch/translate.h