another had_vex/had_xop fix

This commit is contained in:
Stanislav Shwartsman 2012-05-19 19:46:10 +00:00
parent 59eb1318d5
commit 2644ef5f63

View File

@ -1828,7 +1828,7 @@ fetch_b1:
// VEX
had_vex = 1;
if (sse_prefix | rex_prefix) had_vex = -1;
if (! protected_mode()) had_xop = -1;
if (! protected_mode()) had_vex = -1;
unsigned vex, vex_opcext = 1;
if (remain != 0) {
@ -1885,7 +1885,7 @@ fetch_b1:
// 3 byte XOP prefix
had_xop = 1;
if (sse_prefix | rex_prefix) had_xop = -1;
if (! protected_mode()) had_vex = -1;
if (! protected_mode()) had_xop = -1;
unsigned vex;
if (remain != 0) {