|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v3] target/i386: Fix calculation of LOCK NEG eflags |
Date: | Thu, 3 Nov 2022 19:40:15 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 |
On 11/3/22 12:22, Qi Hu wrote:
ping On 2022/10/24 16:41, Qi Hu wrote:In sequence: --- lock negl -0x14(%rbp) pushf pop %rax --- %rax will obtain the wrong value becasue the "lock neg" calculates the wrong eflags. The "s->T0" is updated by the wrong value. You can use this to do some test: --- #include <assert.h>int main()
This is already part of a pull request. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |