Re: Re: [PATCH] target/i386: fix memory opsize for Mov to/from Seg

2024-06-03 Thread 李欣宇
any errors. Thank you! Xinyu Li > -Original Messages- > From: "Paolo Bonzini" > Sent Time: 2024-06-03 15:34:47 (Monday) > To: lixinyu...@ict.ac.cn, qemu-devel@nongnu.org > Cc: richard.hender...@linaro.org, edua...@habkost.net, "Xinyu Li" >

Re: [PATCH] target/i386: fix memory opsize for Mov to/from Seg

2024-06-03 Thread Paolo Bonzini
On 6/2/24 12:05, lixinyu...@ict.ac.cn wrote: From: Xinyu Li This commit fixes an issue with MOV instructions (0x8C and 0x8E) involving segment registers by explicitly setting the memory operand size to 16 bits. It introduces a new flag X86_SPECIAL_MovSeg to handle this specification correctly.

[PATCH] target/i386: fix memory opsize for Mov to/from Seg

2024-06-02 Thread lixinyu20s
From: Xinyu Li This commit fixes an issue with MOV instructions (0x8C and 0x8E) involving segment registers by explicitly setting the memory operand size to 16 bits. It introduces a new flag X86_SPECIAL_MovSeg to handle this specification correctly. Signed-off-by: Xinyu Li --- target/i386/tcg/