Message ID | 832ca068-5316-b4eb-60ee-aeff009ef1cc@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xenproject.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B4C3EC433EF for <xen-devel@archiver.kernel.org>; Thu, 3 Mar 2022 16:49:15 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.283569.482635 (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1nPodU-00045q-NP; Thu, 03 Mar 2022 16:49:04 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 283569.482635; Thu, 03 Mar 2022 16:49:04 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1nPodU-00045j-KQ; Thu, 03 Mar 2022 16:49:04 +0000 Received: by outflank-mailman (input) for mailman id 283569; Thu, 03 Mar 2022 16:49:03 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <SRS0=NyQH=TO=suse.com=jbeulich@srs-se1.protection.inumbo.net>) id 1nPodT-00045S-8F for xen-devel@lists.xenproject.org; Thu, 03 Mar 2022 16:49:03 +0000 Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [194.104.111.102]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id d44059bb-9b11-11ec-8eba-a37418f5ba1a; Thu, 03 Mar 2022 17:49:02 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05lp2113.outbound.protection.outlook.com [104.47.18.113]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-22-LvB8DWDyNe6zW4TV46aA6A-1; Thu, 03 Mar 2022 17:49:00 +0100 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) by AS8PR04MB7525.eurprd04.prod.outlook.com (2603:10a6:20b:29b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Thu, 3 Mar 2022 16:48:59 +0000 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::d479:b728:345c:bd65]) by VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::d479:b728:345c:bd65%6]) with mapi id 15.20.5038.014; Thu, 3 Mar 2022 16:48:59 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion <xen-devel.lists.xenproject.org> List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xenproject.org> List-Help: <mailto:xen-devel-request@lists.xenproject.org?subject=help> List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=subscribe> Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" <xen-devel-bounces@lists.xenproject.org> X-Inumbo-ID: d44059bb-9b11-11ec-8eba-a37418f5ba1a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1646326141; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jNG5t9DemTxExj0TLsZDFiC67KQQMJUNArdRlPUwPcY=; b=R4RtZPl6OHyWe6z9d9bWOtZ6l81Eo+8mJoQ/6A15Pg5h8Pufr9djWI88UC/8Jgui/jvBkA NtLz3qCcfp66tmfKgsdsQi/Pm5CklZcHt7nyunBq93QM3/En04szTYUF4qnYrhBDsGrCdB GdrBhvIAv1sZzzD+YYpXdS16i4QOHzc= X-MC-Unique: LvB8DWDyNe6zW4TV46aA6A-1 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== 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-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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: <832ca068-5316-b4eb-60ee-aeff009ef1cc@suse.com> Date: Thu, 3 Mar 2022 17:48:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-US To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org> Cc: Andrew Cooper <andrew.cooper3@citrix.com>, Wei Liu <wl@xen.org>, =?utf-8?q?Roger_Pau_Monn=C3=A9?= <roger.pau@citrix.com> From: Jan Beulich <jbeulich@suse.com> Subject: [PATCH] x86emul/test: correct VRNDSCALES{S,D} entries in predicates test Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AS9PR05CA0012.eurprd05.prod.outlook.com (2603:10a6:20b:488::30) To VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b07b117f-16c8-47d2-e817-08d9fd35b6bf X-MS-TrafficTypeDiagnostic: AS8PR04MB7525:EE_ X-Microsoft-Antispam-PRVS: <AS8PR04MB7525AA82F1C00B93F45D764BB3049@AS8PR04MB7525.eurprd04.prod.outlook.com> X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: piSh/FudPirWGT3VEXbf6zBupJhuJYRGRoaqiK+4/v85DGBqeue/kdqJeXMHkWBYcLKKtolspjXJ5ffrGjROm/0N1r+0yNGjnS00S64TIBt5WpqQLfu4g6457sxveYwJdc/2PR3jmOSA+DWLXnyPXaYRU52kemfKNJ3mJ4DzWkwNE6ibbbb17FRB2bxSu9G87jX3kiWDcfjrgieE5J3dCd6WGBUQQlygoqiP6iCoAGoQ2cDqs67aE3Uufm76AXr2JOwfeMosQEsrh8oftGdVSYlaKvDdlcZSvNPdAiz5NP1AfdTd8RZmFOPFhplVNh/jJcczYbHLCo3WB2nMJ9emghwJr3OvmIJmE8F1WZX9TlKchNjjyLxx0jYkHyCPIP6SITfaF2WBWh38bVyWvSyke7ONSTHw9EFPcxcbS4RX8gA/rbqKNsv7ynaAvrL1hXrAfidXgr7laCyWkkcgAnCRVJiS+0MVNdKxRpaMWEJ5OESlGvo4n4dvCYmpmkk+EfPeHpPS4DYrXehYIqHDX0giIZNmr32wPzfrdAE1xF5LSENPE33tqGvWyjGO3wE+FE4AD8jOrusmtYw8sqoeL+CzMhULpJad3By8O/vsJbxz5Y4PKjKonKtBFQ1+zR+JNeqQD3eiI2gCPdfCw1tzw8DGxGrIkxtOwQA/gGVL2SaPsMAkSGNOrbwfAVidyWe103N5ZwBz5IEGh4Po+gYV6bV0Erm2SGZd7rDR7Z/60QSaC3K5ehyCOKkbtU1cUNyKLQ6/ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5600.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(316002)(4744005)(186003)(6916009)(26005)(8936002)(54906003)(2616005)(66556008)(66476007)(66946007)(6512007)(6666004)(6506007)(4326008)(5660300002)(8676002)(508600001)(6486002)(31696002)(86362001)(31686004)(2906002)(38100700002)(36756003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?fLuzweC1PYFOI1nHaIMcStG733fC?= =?utf-8?q?/IbzmCXv7waefeYJ5umMRXRktGnrbJKJcur35n86n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nnXW3/erGbzUHExIvpKOZkWH/x?= =?utf-8?q?WUU6uhnsiRTlKIr7mojhJl694ZXqXGLvKt1uBvq4tEq3Pm/XybIWLfGdNaX3n1Dxe?= =?utf-8?q?9RpQwaI9FjAa+gz+xaYSQsOr4cvJ8dEF6Hq4FZvdOyme2KytcABtO53ViG8aHHmTW?= =?utf-8?q?tnNKXzc0S0xN1MR1+jD0gqm4fD7HO7r3pkUTHVv7Ad9YfQ0wuLDzABVRpMXDQHWc5?= =?utf-8?q?uktJ5Zp3/OKNyeaTXLQCvDLQ59gofG5k/ou0BCUf2JjEf1zvHXUx0e3u3sExr+rqT?= =?utf-8?q?nplSi2dRUmirWIWV50fQ1+XW+C3k30Eb5/L+s5zvTrkijaon63LZGzybqk66TJ4iq?= =?utf-8?q?PitnmRA59SkC1Sb5nA3AMAWdDb4ctPAzlZGRpMAGm/ul2NhmRlYXozq446P37RtoM?= =?utf-8?q?WNfGJxdWJrs57hIhPFkUuryMDYb/Wc58/vY5MYKG2Khd7yG7Z+t1NHs2d2wXReV0j?= =?utf-8?q?GeFBsY0Mwr08SBUCMePM/Q0dLMxxgK/8FEdZknqjMsTFSCaVabNXycjV2C2rtwTd8?= =?utf-8?q?ErYRXi5Q5f4LsKKRGceOoPWKue+VIwup4rbZOruKExYs94lcMm6jbUfIQxKbpzmsS?= =?utf-8?q?Kn/4L+bMc0VmRElkq5MyjrXSwsR+ahHRA7J8Mu0cfEDA1F7SWdp/hlQ=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: b07b117f-16c8-47d2-e817-08d9fd35b6bf X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2022 16:48:59.2166 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6+nDxWeRw6XKiiSCEbDXFZ/Akh9tOft44PQzTZ+kQoNAx7rczGpmYjoriMXzvM45b0+4BEOQgb+HXRtu/sSl1Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7525 |
Series |
x86emul/test: correct VRNDSCALES{S,D} entries in predicates test
|
expand
|
On 03/03/2022 16:48, Jan Beulich wrote: > 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@suse.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
--- 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 */
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@suse.com>