mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
A SIB byte with an index of 4 means "no scaled index", even if the scale
value is not 0. In 64-bit mode, if REX.X is used, an index of 4 selects
%r12. This is correctly handled by the computation of the index variable,
which includes the index bits, and also the REX.X prefix:
index = ((code >> 3) & 7) | REX_X(s);
Thanks to Avi Kivity, Jamie Lokier and Malc for the analysis of the
problem and the initial patch.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|
||
|---|---|---|
| .. | ||
| cpu.h | ||
| exec.h | ||
| helper.c | ||
| helper.h | ||
| helper_template.h | ||
| kvm.c | ||
| machine.c | ||
| op_helper.c | ||
| ops_sse.h | ||
| ops_sse_header.h | ||
| svm.h | ||
| TODO | ||
| translate.c | ||