Searched hist:c2b618a8 (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/target/loongarch/insn_trans/ |
H A D | trans_branch.c.inc | c2b618a8 Tue Jan 17 18:32:38 CST 2023 Richard Henderson <richard.henderson@linaro.org> target/loongarch: Disassemble jirl properly
While jirl shares the same instruction format as bne etc, it is not assembled the same. In particular, rd is printed first not second and the immediate is not pc-relative.
Decode into the arg_rr_i structure, which prints correctly. This changes the "offs" member to "imm", to update translate.
Reviewed-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|
/openbmc/qemu/target/loongarch/ |
H A D | disas.c | c2b618a8 Tue Jan 17 18:32:38 CST 2023 Richard Henderson <richard.henderson@linaro.org> target/loongarch: Disassemble jirl properly
While jirl shares the same instruction format as bne etc, it is not assembled the same. In particular, rd is printed first not second and the immediate is not pc-relative.
Decode into the arg_rr_i structure, which prints correctly. This changes the "offs" member to "imm", to update translate.
Reviewed-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|
H A D | insns.decode | c2b618a8 Tue Jan 17 18:32:38 CST 2023 Richard Henderson <richard.henderson@linaro.org> target/loongarch: Disassemble jirl properly
While jirl shares the same instruction format as bne etc, it is not assembled the same. In particular, rd is printed first not second and the immediate is not pc-relative.
Decode into the arg_rr_i structure, which prints correctly. This changes the "offs" member to "imm", to update translate.
Reviewed-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|