On 5/25/23 05:00, Song Gao wrote:
The vinsgr2vr/vpickve2gr instructions need use get_src/get_dst to get gpr registers value, not cpu_gpr[]. The $zero register does not have cpu_gpr[0] allocated.Resolves:https://gitlab.com/qemu-project/qemu/-/issues/1662 Signed-off-by: Song Gao<[email protected]> --- target/loongarch/insn_trans/trans_lsx.c.inc | 39 ++++++++++++++------- 1 file changed, 26 insertions(+), 13 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
