From b3ca3caaf36efa3eaea0cce909f75e12b0fb6a1d Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 17 Oct 2024 14:14:51 +0200 Subject: [PATCH] x86emul/test: drop Xeon Phi S/G prefetch special case Another leftover from the dropping of Xeon Phi support. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- tools/tests/x86_emulator/evex-disp8.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)