diff --git a/tools/tests/x86_emulator/evex-disp8.c b/tools/tests/x86_emulator/evex-disp8.c index 0e9351fcfdd9..efb6c7063732 100644 --- a/tools/tests/x86_emulator/evex-disp8.c +++ b/tools/tests/x86_emulator/evex-disp8.c @@ -911,10 +911,8 @@ static void test_one(const struct test *test, enum vl vl, n = test->scale == SC_vl ? vsz : esz; if ( !sg ) n += vsz; - else if ( !strstr(test->mnemonic, "pf") ) - n += esz; else - ++n; + n += esz; for ( ; i < n; ++i ) if ( accessed[i] != (sg ? (vsz / esz) >> (test->opc & 1 & !evex.w)