Discussion:
vex: r3376 - /trunk/priv/guest_amd64_toIR.c
(too old to reply)
s***@valgrind.org
2017-05-18 09:47:51 UTC
Permalink
Raw Message
Author: iraisr
Date: Thu May 18 10:47:51 2017
New Revision: 3376

Log:
Missing VEX commit for Valgrind SVN r16393.
Follow up to VEX r3365 and BZ#360415.


Modified:
trunk/priv/guest_amd64_toIR.c

Modified: trunk/priv/guest_amd64_toIR.c
==============================================================================
--- trunk/priv/guest_amd64_toIR.c (original)
+++ trunk/priv/guest_amd64_toIR.c Thu May 18 10:47:51 2017
@@ -22695,9 +22695,9 @@
case 0xF6: {
/* 66 0F 38 F6 = ADCX r32/64(G), m32/64(E) */
/* F3 0F 38 F6 = ADOX r32/64(G), m32/64(E) */
- /* These were introduced in Broadwell. Gate them on AVX2 so as to at
+ /* These were introduced in Broadwell. Gate them on AVX so as to at
least reject them on earlier guests. Has no host requirements. */
- if (have66noF2noF3(pfx) && (archinfo->hwcaps & VEX_HWCAPS_AMD64_AVX2)) {
+ if (have66noF2noF3(pfx) && (archinfo->hwcaps & VEX_HWCAPS_AMD64_AVX)) {
if (sz == 2) {
sz = 4; /* 66 prefix but operand size is 4/8 */
}
@@ -22705,7 +22705,7 @@
sz, delta, "adcx" );
return delta;
}
- if (haveF3no66noF2(pfx) && (archinfo->hwcaps & VEX_HWCAPS_AMD64_AVX2)) {
+ if (haveF3no66noF2(pfx) && (archinfo->hwcaps & VEX_HWCAPS_AMD64_AVX)) {
delta = dis_op2_E_G ( vbi, pfx, Iop_Add8, WithFlagOverX, True,
sz, delta, "adox" );
return delta;

Loading...