seve vex prefix value to the indication of vex prefix used

This commit is contained in:
Stanislav Shwartsman 2013-09-18 18:01:48 +00:00
parent da0e2baf22
commit 8e71a86542
2 changed files with 6 additions and 6 deletions

View File

@ -1368,7 +1368,7 @@ fetch_b1:
#if BX_SUPPORT_AVX
if ((b1 & ~0x1) == 0xc4 && (*iptr & 0xc0) == 0xc0) {
// VEX 0xC4 and VEX 0xC5
had_vex_xop = 1;
had_vex_xop = b1;
if (sse_prefix || ! protected_mode())
goto decode_done;
@ -1414,7 +1414,7 @@ fetch_b1:
}
#if BX_SUPPORT_EVEX
else if (b1 == 0x62 && (*iptr & 0xc0) == 0xc0) {
had_vex_xop = 1;
had_vex_xop = b1;
if (sse_prefix || ! protected_mode())
goto decode_done;
@ -1463,7 +1463,7 @@ fetch_b1:
#endif
else if (b1 == 0x8f && (*iptr & 0xc8) == 0xc8) {
// 3 byte XOP prefix
had_vex_xop = 1;
had_vex_xop = b1;
if (sse_prefix || ! protected_mode())
goto decode_done;

View File

@ -1829,7 +1829,7 @@ fetch_b1:
#if BX_SUPPORT_AVX
if ((b1 & ~0x1) == 0xc4) {
// VEX
had_vex_xop = 1;
had_vex_xop = b1;
if (sse_prefix | rex_prefix)
goto decode_done;
@ -1884,7 +1884,7 @@ fetch_b1:
}
#if BX_SUPPORT_EVEX
else if (b1 == 0x62) {
had_vex_xop = 1;
had_vex_xop = b1;
if (sse_prefix || ! protected_mode())
goto decode_done;
@ -1928,7 +1928,7 @@ fetch_b1:
#endif
else if (b1 == 0x8f && (*iptr & 0x08) == 0x08) {
// 3 byte XOP prefix
had_vex_xop = 1;
had_vex_xop = b1;
if (sse_prefix | rex_prefix)
goto decode_done;