target/loongarch: Add branch instruction translation
commitee86bd58b85ce9afe727b6664ba597acc371bdf2
authorSong Gao <gaosong@loongson.cn>
Mon, 6 Jun 2022 12:43:05 +0000 (6 20:43 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 6 Jun 2022 18:09:03 +0000 (6 18:09 +0000)
treef4d37d0006cf2fee37efb6542a5cf31d793601aa
parente616bdfd0159965bd65f12be83ebf28dc8c44bae
target/loongarch: Add branch instruction translation

This includes:
- BEQ, BNE, BLT[U], BGE[U]
- BEQZ, BNEZ
- B
- BL
- JIRL
- BCEQZ, BCNEZ

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