diff options
author | Ziqiao Kong <ziqiaokong@gmail.com> | 2024-02-15 17:50:17 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-02-16 13:56:09 +0100 |
commit | 99d0dcd7f102c07a510200d768cae65e5db25d23 (patch) | |
tree | 139f0acec6be20e604ed12b64a5c3474b7b6cba2 /hw/usb | |
parent | d8c7f1334fa4cb3a99de7cb664095902c5fc6605 (diff) |
target/i386: Generate an illegal opcode exception on cmp instructions with lock prefix
target/i386: As specified by Intel Manual Vol2 3-180, cmp instructions
are not allowed to have lock prefix and a `UD` should be raised. Without
this patch, s1->T0 will be uninitialized and used in the case OP_CMPL.
Signed-off-by: Ziqiao Kong <ziqiaokong@gmail.com>
Message-ID: <20240215095015.570748-2-ziqiaokong@gmail.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/usb')
0 files changed, 0 insertions, 0 deletions