On 9/2/21 2:40 PM, Song Gao wrote:
This patch implement fixed point extra instruction translation.
This includes:
- CRC[C].W.{B/H/W/D}.W
- SYSCALL
- BREAK
- ASRT{LE/GT}.D
- RDTIME{L/H}.W, RDTIME.D
- CPUCFG
Signed-off-by: Song Gao<gaos...@loongson.cn>
Signed-off-by: XiaoJuan Yang<yangxiaoj...@loongson.cn>
---
target/loongarch/helper.h | 4 ++
target/loongarch/insn_trans/trans_extra.c | 88 +++++++++++++++++++++++++++++++
target/loongarch/insns.decode | 25 +++++++++
target/loongarch/op_helper.c | 26 +++++++++
target/loongarch/translate.c | 1 +
5 files changed, 144 insertions(+)
create mode 100644 target/loongarch/insn_trans/trans_extra.c
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~