Re: [PATCH v3 1/1] fix cmpxchg and lock cmpxchg instruction

2022-03-22 Thread Richard Henderson
On 3/22/22 09:23, Wei Li wrote: Give a better code struture to reduce more code duplication according to the discuss in patch v2. This needs to be a consolidated description of the problem fixed, and not reference previous email conversations. Signed-off-by: Wei Li --- target/i386/tcg/tr

[PATCH v3 1/1] fix cmpxchg and lock cmpxchg instruction

2022-03-22 Thread Wei Li
Give a better code struture to reduce more code duplication according to the discuss in patch v2. Signed-off-by: Wei Li --- target/i386/tcg/translate.c | 41 + 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/target/i386/tcg/translate.c b/target