[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] x86emul/test: correct VRNDSCALES{S,D} entries in predicates test


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 3 Mar 2022 17:48:56 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jNG5t9DemTxExj0TLsZDFiC67KQQMJUNArdRlPUwPcY=; b=f2vqq9QL1Gw7fLwvYpC8DUkXjYdVfYAk/HBiZdlaPj69cojM8FNgFoRZjJB9TaQrw/wbNTRMUIhCdQovVn1HHhhiQPLtXfewYfAhTUKyQlNtC5oxeMMvFry4nMhds8M5ZsvkNlXeG49T12AA0rf8rHRhcE30YTCV7lz1zDgxeXG0ySJY145/b504WAP8MuvQjKq79Es1Pvx3U6wXxs3XqIpBpBpjFc03Tadz+5Fnjdfna+5qxU8ZzYvs0MKAIhIX06duiDSjzBLapUR3MwrD/MOr8ZCF7EQXE794cpN7r1pN7MZC7bZnPNl9T+hcLBZ5X6DDP8B0B7UVKpvYzfIUuQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HgQUW62nH+04KTFVEwDzjvTwvaHwVcLH2dFzv0GOxGsFGhFu5j8MzgUzsdYwMlC8Uutha6NmS41w9T984kD2r94bqL5bkSbWcsz6LsL1GHLHT6ZhpvEzqqPKfBQKxR4ALPq+F0MdstZUdgyjcqLS0JdbQmTn1PHnz/da+HeegVfy2JafFNKS4KV5UQftVKd25MIvQHHxvuF1oMxYwgzjNaiNeRyjofKBOnvV8SgYJht79T3oj+PZF48eq/9zNtfoA73amfjI68TmedACuDBYM+Qf+Rxb47Ei0KJfwkNjxPsPPZsW7b7nozWGgZgHPko+eM2eN2guYWryV+8eiJnjXA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 03 Mar 2022 16:49:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

While benign (because only the decoder is exercised here, whereas a
wrong EVEX.W would cause an exception only during actual emulation),
let's still have correct information in the table entries.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/tools/tests/x86_emulator/predicates.c
+++ b/tools/tests/x86_emulator/predicates.c
@@ -1974,8 +1974,8 @@ static const struct evex {
     { { 0x05 }, 3, T, R, pfx_66, W1, Ln }, /* vpermilpd */
     { { 0x08 }, 3, T, R, pfx_66, W0, Ln }, /* vrndscaleps */
     { { 0x09 }, 3, T, R, pfx_66, W1, Ln }, /* vrndscalepd */
-    { { 0x0a }, 3, T, R, pfx_66, WIG, LIG }, /* vrndscaless */
-    { { 0x0b }, 3, T, R, pfx_66, WIG, LIG }, /* vrndscalesd */
+    { { 0x0a }, 3, T, R, pfx_66, W0, LIG }, /* vrndscaless */
+    { { 0x0b }, 3, T, R, pfx_66, W1, LIG }, /* vrndscalesd */
     { { 0x0f }, 3, T, R, pfx_66, WIG, Ln }, /* vpalignr */
     { { 0x14 }, 3, T, W, pfx_66, WIG, L0 }, /* vpextrb */
     { { 0x15 }, 3, T, W, pfx_66, WIG, L0 }, /* vpextrw */




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.