Message ID | 20240531193838.108454-3-jhubbard@nvidia.com (mailing list archive) |
---|---|
State | Accepted |
Commit | ba6335a2693b5f8d679d418ffff348f77f93345f |
Headers | show
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2063.outbound.protection.outlook.com [40.107.244.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CAB917E456; Fri, 31 May 2024 19:38:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.63 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717184330; cv=fail; b=NHpT79Q5JTl9enYobLjzzimEtsjjRC/zNi00GrA0f1TxLVf/y4siXYq2ZQw/kMbB7X2yFCxDE8/Y1rGXe6BpIMjV1SHErjS+yoxmozF+/0+SAPVxX0TpD/JbpyjDdTtelpq8uYceN+/PlvRsGOiw0HKT0PfDC4Qi9tswbFxSl2M= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717184330; c=relaxed/simple; bh=j1r/O+m5/SnyXJQtoW7/oSbwHkqoSQcmc0v8OIHSqCo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=EJf6yz4Hmhf7evnO8SPPC6wktb77WQWHqg4xVEDoINl8eJORRR0/LX+Gde4PvErx+2JuN6GoWJmDWwQ2FlNHYtZiFUi3nUFEdEc/S26Qa1htdYIJlTOjwI1ywnWwqcUuI+5LBqsuvoMjy/fEP89yi7gv9LkEKib0Bc0fFEtZN1U= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=im8TVFn3; arc=fail smtp.client-ip=40.107.244.63 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="im8TVFn3" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LGsGBXiom3X+Jj8Gij5A5OyYmzRwU1dwqCfGCuXIx7Y31Zfsz+5/POiPns2qlVHKCbvfbQQ2twjS8HXeIgEotLW4ioKWcdEixitweOgbY5bFMHE1C/U54QvvbKa/2e4rBbZulWBgX2rvOouP/Bkf+IvkidQz57LpzGOvn6oCms1F7lTqFnF9HlQ8HDAnumWpemyDwuklou9bCqcUKqAbczq1msnGV3v5blzP8JYZerZ93UQWTzVZQ3WS0qU7HyQ08DiPs4zyxZD/PjrYbz5RZgFTGRf2c+KUDDtrOLXf4Vy86HQRC4xAri+Mt7L+DtwFzw+7kG/ZDzZLHteWhmM3BQ== 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=kifX0dBfivqv+TOr/XeTYG3usjOdVIqdYoKHiCltU0U=; b=j59Vg7HuGp6vOpuJLDQ18/OoUScDgP7mRPM2wQujhVxqOmjwvXdlO4HacktrxIlbq5ehLr3c9gE0MphExiYN55tFqfUqYnTNwJfN2SXVPReRnuAlcbu3sRbHY8q4F96oDgVYIJuSi92MI/Lm/UOEySHSI7xHfcx9M9ws9Bm4rbBNqK6lvyrXw8/+VQMHX+ojlI4VKLmevMHhf8Ret73eEK2pRnFirH80EZMd749nefbgTJnosgnRuV/b4j09KaHQKMmIOZF5oRtZ0xmVT1osUY+JYcbkO/sePjvlWoPN1CASu0N1AT68sA3L47rClnVhfWj6HjCfDfVT5yP2VtCa+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kifX0dBfivqv+TOr/XeTYG3usjOdVIqdYoKHiCltU0U=; b=im8TVFn3zyFpmm/dzoT3hs8ukGO2RncsgBxvW+bIYfQhDDC42uu2sbSl4Oag75IXz7qa1qmLQ99qAV9pBrcv00AGfCwZ4uYyzkc2d1iyE1O+eNb1urKQMCVLVbhe/g9gLDSubJEqqrpy7NKmEogR01DT/qW6kMO3rMCXJ+BSnQ47ecnkqCFBu/v1A5jZOnsNth9u9Mj2Z3MfsRqpWOdzrrCrXHA1SMKpaupJTo7eqvis2PTbnuMNj8n+X2p0uhg5H1wbIvAGD6hmiK6E9T+IX1josI8aXB5dZk4iT83ToBJQjffVG5QAt/lJcmmQkekp3VMbIFnrmmvlMdyp3nzuIg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by IA1PR12MB7712.namprd12.prod.outlook.com (2603:10b6:208:420::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.29; Fri, 31 May 2024 19:38:41 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2cf4:5198:354a:cd07%4]) with mapi id 15.20.7633.021; Fri, 31 May 2024 19:38:41 +0000 From: John Hubbard <jhubbard@nvidia.com> To: Shuah Khan <shuah@kernel.org> Cc: angquan yu <angquan21@gmail.com>, "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com>, Ingo Molnar <mingo@kernel.org>, Binbin Wu <binbin.wu@linux.intel.com>, Alexey Dobriyan <adobriyan@gmail.com>, Rick Edgecombe <rick.p.edgecombe@intel.com>, Sohil Mehta <sohil.mehta@intel.com>, Yu-cheng Yu <yu-cheng.yu@intel.com>, Dave Hansen <dave.hansen@linux.intel.com>, Muhammad Usama Anjum <usama.anjum@collabora.com>, Valentin Obst <kernel@valentinobst.de>, linux-kselftest@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>, llvm@lists.linux.dev, x86@kernel.org, John Hubbard <jhubbard@nvidia.com> Subject: [PATCH v3 2/7] selftests: x86: test_FISTTP: use fisttps instead of ambiguous fisttp Date: Fri, 31 May 2024 12:38:33 -0700 Message-ID: <20240531193838.108454-3-jhubbard@nvidia.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240531193838.108454-1-jhubbard@nvidia.com> References: <20240531193838.108454-1-jhubbard@nvidia.com> X-NVConfidentiality: public Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR05CA0072.namprd05.prod.outlook.com (2603:10b6:a03:332::17) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: <linux-kselftest.vger.kernel.org> List-Subscribe: <mailto:linux-kselftest+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kselftest+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR12MB4130:EE_|IA1PR12MB7712:EE_ X-MS-Office365-Filtering-Correlation-Id: cef0077f-628c-479b-f454-08dc81a946d9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|376005|7416005|366007; X-Microsoft-Antispam-Message-Info: cc3qVp81Wsh1bsaFoXvJtVq8qg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nz1TbcyjkQkiPViTYGpmFVKbUVcdZJk9EWm5quFNZ9dchPau0si660aj+UmL+c12STDmVUDaXerFQtCKx2wDWuHSWf7byEWzK+igxYZKLDyMUm+RGWCE89YmexBy1uTwomdBlKCpF/ObwGl+WsN7kh0jfySDRtP0E9IQLsa6cjdR1BWY4kKaUdqNYxshQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(376005)(7416005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: l3Dw55TeSySlnIrt4shEgLbfuat5p51eSoZxkYQuWGd54N1zzc8kYtreNY/J1579vc2UwMdxA8IVlwZ35gUa+O+I71hFG/lfyhv7sxJfm2TOUiBES6LpsIKLNW5KE63sEMmWRTTeeFA2v9u4r9RsAyAqb7P6C+Ty8sK2/Wr8SMi1JAgb7h9yBXqTA3vV0mFX6bB7OuqTx56GJp2CHGeaiDsgyAfCsu9vrgj2WmnBMgKK4nWVFPnSTYKBkYICLoeU6ZvHHt9JKF14q70/3Nt2yjHkc9V5wcmlBcI/gRjszlpUFB1dveY7K+TkKCmBYtkdRxWzLAATv+yIrdEoYvgG3ffBvGDunrF1TCK7DlcjIgnnJzjUfHG9RQ4NESSftNmjB6a5BR0KYVm9rGo2UmY4BSdXCZ7HLvK8OgxQrL4iVSSkgm/EDSVKRoXYeHX/Que0Opve5fYEGzj+kkqSm3LVwGEHb+88FIcxLF4Qc3rVhneGiwrGg8cdb1MFy2TX4NaPlxrqH1WIoEw0rd7vQeDphjE4SFSWFuJgAR5ryJnr6OMFRqz1nFcqqgdVc7YU4QX9hDG8EXbow39PWSWd28sGRV2+bGM8ca+nGwy31EtUT0Jib4X2dFUu4NY4yW8GmW8Xr/8TqsS3QxgMedwqVYmHamk/0DhRg5tnhUtFzUrvvi+9nnDw0hw8xTADplNd41F0mrPgaMDlCAZIDQIivY1p2O4whyKaZjjp+Q4cWI+T/UA09J3/GwrgY+EqAjsW6GdNvZJHu84lmRGvkMIkOwQbhFgN3Dxwso6zOeOn6QwQrNxi7Db8MJ3j9ioiSQJYoaxO4YW4SYKxt2xYTrgkYyoS1iPZTjZPeVHYLTEfYmX357wb9AE6j5sc1/bwtOIrbvIOhNRyexepc33sOg3H6h2Sr11PWTyjhAfh3mzWWt3M3TTnVtdmpEKNVsEhigkb0+g4NTjpH5+8+ih6G8QN8H/4S1p8rKQIJ0wr4XXeesqQakdT5SCOA1o5tJk+eF5my9O84KtMQhkuv+vzoQiH2rb9NLD81fw12hSH0TPrMSh4iMqr6BoVJmkfFn3g2KDZ0EoeMIc3+JOdJAmCwlSDo0sg+55f+FaARG1cRsw1lDquxljZcN+mLvsQcEc3P5Efszd9p+8vbNchO1T9OByoIEBnE1E9/fw25N9hnY8BX3Bz0cXW6Bt28qnbPj6v9kX9Rx/wFNoukxEtU5n9Ci7E5J7fYF3W2BRodQhbekZ1aW+FAF8OJNcsiyuvokzcAk2jnjH4hotUjr6SBqMOuy8i+z9GagCvHYPygPBJyTCbY853qUGYf+qHMC1u2JLtPFt5O+ioIWouxLkJ3H521yNscKdZWQi3z39ZfAV+qgk3wq0ORIyc6bY6APbCuJRPhYBId62zLl7yoXkAwUR1XOUyqrhOnu8juXYmqqJcw7emvrFyykrKD/VLhN9lSbN96xHqWwMkna6mY34fzInnWYUYYBYwbzT7InR06Jik4TbdfSSF4lOJ2xdE9mMZ9u++t59Ztj8wAsSh+UuHOTm96r9GCmRUkQ0cru1QTwNAeFx6llz9Z6wfFv5U/GIjySX3xRFJfLSb X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: cef0077f-628c-479b-f454-08dc81a946d9 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2024 19:38:41.8638 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NP5JlPt+tBcu6nnIeMzXbIzCVpjOKwe78gTLA+A8Xy8QJhG0CZOjUJcOUghukuNSra7nX3/ZYHOMpTnfXazTNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7712 |
Series |
selftests/x86: fix build errors and warnings found via clang
|
expand
|
diff --git a/tools/testing/selftests/x86/test_FISTTP.c b/tools/testing/selftests/x86/test_FISTTP.c index 09789c0ce3e9..b9ae9d8cebcb 100644 --- a/tools/testing/selftests/x86/test_FISTTP.c +++ b/tools/testing/selftests/x86/test_FISTTP.c @@ -25,7 +25,7 @@ int test(void) feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); asm volatile ("\n" " fld1""\n" - " fisttp res16""\n" + " fisttps res16""\n" " fld1""\n" " fisttpl res32""\n" " fld1""\n" @@ -45,7 +45,7 @@ int test(void) feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); asm volatile ("\n" " fldpi""\n" - " fisttp res16""\n" + " fisttps res16""\n" " fldpi""\n" " fisttpl res32""\n" " fldpi""\n" @@ -66,7 +66,7 @@ int test(void) asm volatile ("\n" " fldpi""\n" " fchs""\n" - " fisttp res16""\n" + " fisttps res16""\n" " fldpi""\n" " fchs""\n" " fisttpl res32""\n" @@ -88,7 +88,7 @@ int test(void) feclearexcept(FE_DIVBYZERO|FE_INEXACT|FE_INVALID|FE_OVERFLOW|FE_UNDERFLOW); asm volatile ("\n" " fldln2""\n" - " fisttp res16""\n" + " fisttps res16""\n" " fldln2""\n" " fisttpl res32""\n" " fldln2""\n"