[PATCH] target/loongarch: fix alignment error in tci.

2024-11-18 Thread guoguangyao
Add alignment and check for fpr in CPUArchState, fix alignment error in tcg interpreter when executing LASX. Signed-off-by: guoguangyao --- target/loongarch/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h index

[PATCH] target/i386: Eip error in x86_64-softmmu

2024-01-14 Thread guoguangyao
When closing PCREL, qemu-system-x86_64 run into error. Eip modification here leads to the result. Using s->pc in func gen_update_eip_next() solves the problem. Fixes: b5e0d5d22fbf("target/i386: Fix 32-bit wrapping of pc/eip computation") Signed-off-by: guoguangyao modif

[PATCH] Signed-off-by: guoguangyao

2023-12-21 Thread guoguangyao
target/i386: Eip error in x86_64-softmmu When closing PCREL, qemu-system-x86_64 run into error. Eip modification here leads to the result. Fixes: b5e0d5d22fbf("target/i386: Fix 32-bit wrapping of pc/eip computation") Changes to be committed: modified: target/i386/tcg/translate.c ---