From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2073.outbound.protection.outlook.com [40.107.22.73]) by sourceware.org (Postfix) with ESMTPS id B89023857BB5 for ; Thu, 13 Oct 2022 09:25:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B89023857BB5 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=eMquGPx3+Orn4MNz322MOBsCGwJQl5R4X86YLUeQXQTzNVQ3kjqUjO41GT/QlE2S6B1I/Qt3fR/2/f38JoYcm3EJ4I91nVf8WNN3sTXFrTB8LRO+1wxDZVNwkayTSe9HfsnoSaj25m7skFyHXD44B278jH2i6pKnv4Su7mRJf4VQ/fYMInEPCOLKjZ0GjO2Ua+tNWfhWAW+kEfZX4etn+W7FwzJg1rijTYGaPqoMk367pe45Sq8HBhp2ud2dW2tHuCjcJVVlYbZc1lOem7uv2UFcvudbvy/dkSRHOss7k/kzOWXfonpnJPKMknXiYQDGPiY+uXP0LZKIKUjDIeQKLw== ARC-Message-Signature: i=2; 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=4ohNQ8lQSDald65kEsfM3tpWFjQn98hQ/rE2XXpS0xU=; b=jyYdUpGIbr+xI94accWZ9oE5bQHfmjDmxAgNTsnGRwUT2okf6T5/c8kK4V+3fmUN5RKB/cBDtd5CzMyK77nMZkmhpEPfyz/JRxm7dEkQXs1kgQhPIvkPGgRWQFZjcyIXy17r/aDO0mCrEdp6stIafmiZpM/aGfZhZFl031Pn1GNPl1sAW+A1ysCcnQi7X0OB7zUt36N14U3BkdmMKDhPIbXO8otNEcaaZDS7xHFxBgwgEAWuZH3IiSXA15XTDxVmLzxvs4aOromMT4T3+WgQPzeTmzUv8zbpE36Iq133yKnaPykHHhlzbTkDlDOZeIOVNsaqSUzMWJF4jKeDFucEew== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4ohNQ8lQSDald65kEsfM3tpWFjQn98hQ/rE2XXpS0xU=; b=ALjRoj05k3H36g04em1llKd2EOQHLs/iKY4XSHiBsSBoVC1W3Xa6r78sytx3qm+XAXxUs9DSFxhoIDMsmI0p6LCugRUZRmV45tHb3a3eAL6uYf/sXLmukWVdZbkXamGYuSWM74is8zHCrBR19PeCDcDwZ+NyRs8YWVMm+85IxmQ= Received: from AS9PR06CA0525.eurprd06.prod.outlook.com (2603:10a6:20b:49d::16) by AS4PR08MB7998.eurprd08.prod.outlook.com (2603:10a6:20b:581::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Thu, 13 Oct 2022 09:25:24 +0000 Received: from VE1EUR03FT042.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:49d:cafe::62) by AS9PR06CA0525.outlook.office365.com (2603:10a6:20b:49d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26 via Frontend Transport; Thu, 13 Oct 2022 09:25:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT042.mail.protection.outlook.com (10.152.19.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.10 via Frontend Transport; Thu, 13 Oct 2022 09:25:23 +0000 Received: ("Tessian outbound ce981123c49d:v128"); Thu, 13 Oct 2022 09:25:22 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4f1bc8aefde64c2d X-CR-MTA-TID: 64aa7808 Received: from e72828a4ffe6.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D6DF2EA9-C060-41E9-8535-C7CDD0BEA2D9.1; Thu, 13 Oct 2022 09:25:15 +0000 Received: from EUR03-AM7-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e72828a4ffe6.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 13 Oct 2022 09:25:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JvSLKaWo2w9SjfbiZXscBuGgHR4THcKusj2fgRKGuWhGHWwjV99O6pxB+AVNYXiwDkfp7UX6r8D/MktSsiWt0mFEH2rmElyAdEz2TT+niEeJ7uqG4jnVAuUbMD1AP2onR378HGEaRRBLGlI/GmqBaCjDb3gj/1+F3z1ueenhaM0AgMz0+ikzsIaZzdl6L4j5j/ycONoXFffO23CTlNe5SEtyXUktUT6/v9GbE8Ti4vPo/QmIfZEmdS+IsFMFd7oHTT90E0H91HQdh4gkUy+1svUYUxPpdGWnya+bQBgyqXtU6pXIKceyYNYRU+JAOGtYoXMzFTaf/2EkpRndymu2Uw== 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=4ohNQ8lQSDald65kEsfM3tpWFjQn98hQ/rE2XXpS0xU=; b=EpKYhDTySidju70iIwoEPgJdLogz7iTE5cpUDWGf3O6ceisEbKv09KL/Z0ADrClCnafC0biedT8MfldfIekLnEqw6FRQHG9lVkadCIBWwz+5TNH1H3LBqhPWnSVCSIddSHrl5PLQlpTG/zoOcV5zD9Jii/dkcP2hfHFOn8ujgFyb/T5dSOSRKHlkNS4cEAQ0R3bWQBhatDDGGDQIRGKhG9beQ9NEeEz95i/8hQObTsmxHCQYHLU7efXxvwNxuIHE9FChmaHR3U4bmEuXstaakeKLKMCV/40hhLZSTko8Vcqk1RTBEHLW21JxZinfVN6mljv9KPLyt+3eB7s9EqWoSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4ohNQ8lQSDald65kEsfM3tpWFjQn98hQ/rE2XXpS0xU=; b=ALjRoj05k3H36g04em1llKd2EOQHLs/iKY4XSHiBsSBoVC1W3Xa6r78sytx3qm+XAXxUs9DSFxhoIDMsmI0p6LCugRUZRmV45tHb3a3eAL6uYf/sXLmukWVdZbkXamGYuSWM74is8zHCrBR19PeCDcDwZ+NyRs8YWVMm+85IxmQ= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) by DBAPR08MB5782.eurprd08.prod.outlook.com (2603:10a6:10:1b2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Thu, 13 Oct 2022 09:25:13 +0000 Received: from DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::8999:7c8d:d088:d198]) by DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::8999:7c8d:d088:d198%5]) with mapi id 15.20.5723.026; Thu, 13 Oct 2022 09:25:13 +0000 Date: Thu, 13 Oct 2022 10:24:59 +0100 From: Szabolcs Nagy To: Yu-Chien Peter Lin Cc: , ycliang@andestech.com Subject: Re: math tests failed when the argument is out of domain Message-ID: References: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: AS4P250CA0021.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:5e3::7) To DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DB9PR08MB7179:EE_|DBAPR08MB5782:EE_|VE1EUR03FT042:EE_|AS4PR08MB7998:EE_ X-MS-Office365-Filtering-Correlation-Id: 32af18cb-e370-491e-2f38-08daacfcdb58 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ufT1jXCdVmf1Je1YUIXXIwXixK7Qu0fo/Op6/ejr8Vr53Cts6bPHbg5e8cibex1OXfXHJ3qVN4O5mXRTf3OkgmKwd0xUXwAqIaBo6XggP0G0RoUCirwDwVJDwvYfIhjH3vsK7JKZzouEvFg8yGjrHmsSKw3dUS5daEq0tqS/CGi2QkOKFoqU00EwWKQmDdAXyPRw3/AxvpKkvzQGXtMXCaqwacK6XFx4S7TLczh4sniGjUo0sVa40xmH6oLT7q2ZvXxaG9QE2xGmg62N9+imJXjBR0paJmjlralGaQHQqPYEN54peqEfgfD9eix3cs6tjUGV5tnrTstDQ/LhvHTb/myIZz+wmAw2bkyjCwHDkIBAY2kvlRNuy9rmaJYNq0A8Y6rweLHZdOAFNDvctwqAjnwfP+/1PuZjOXPw6SAB+UQXqPnlXy+N/ZSyL/KR8KDvO920aOyjmh5U/BJt5aycKbcvZR6EdrlwdY/X/mfEZgzlfZqeATx4IbW2dD1TH8scpZ6H2qVuk68t+ZZCThJ04joHx+arArsf34pBs0jPh55h5b4bETKfOl1dkKbG4UbjLDj7nukUCx8ADyHE05A64kEN1d2L83U2gDwP+HaUWdjZqOIg1kXbu68tN9xZmb2T5+s89SVg/pm08gJ4GgkxvXhtS5BUV//ejRsj1xaHKGQx0w05r/kb4E/gcpZOB/Xfb9fotRicbiM2yKdrqq69ng6y91yip7kutwz3EwCcr0E= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR08MB7179.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(136003)(396003)(376002)(366004)(346002)(451199015)(38100700002)(6512007)(6916009)(41300700001)(44832011)(6506007)(26005)(8936002)(86362001)(6486002)(966005)(186003)(478600001)(316002)(36756003)(5660300002)(2906002)(2616005)(4326008)(83380400001)(8676002)(66946007)(66556008)(66476007)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5782 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT042.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f185e8b4-510a-4ded-2a2c-08daacfcd4ff X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dYN7WYBQRaveM9mx1wW0c5bBHg4m+ZRQxBEYU8tS1WzqwTACVqrDOgLPjQvwd+P5zCv7O4PFPIrCW0Tie54xpS3BAeSkMKf3JIvLEZZ2Ee+GVBaEYU9myC4+Jdc/jpxmGLatyu3ZjApgkGlqLCRuxe5Tvz4pL5IBUD2IMuq/KH6qaDH64w2mU3YMt2BplVMJ6ho3Ljhjkx2kXYUUha0amG5uRPiDsFJls5Suws9EEmS20ITgFmlu5S3Ksv2UGu8r259iwCVEpcmgX+rdZqE55bj4pdhYgl1NoJ98zDl6sVsO0ieCXHjxQLlv+KGBB9Fr4r9X/dQibE3euhsiHNqGX5cYUf917jgELG2033NkYgEnrm645sqnSgobW349ttLlsPxTwo0nUIMujRNu3/TI4dCcfaTTj7d7XVWm/lHz/fuBIv/25Eaz4hiHSqX+tebo9edLyIOp5j1ORnXw6mmfhYiJM1935em19tQUUMReNHKzvXGtbdK0ZKagkCFtOr4zCghKQPQHx5axKhdfEXIBQpxojBw04It5CGK42HiNTdD4OKIkHWDv8dQgTjAr3kfJLIUbIdzPt+uuqSaOjeKPMXYxSVoQDJW6EcT1yQbzK9AIQAXToBVKdLDfB+VFvo07laCjyqFlVh9nfWMlgff7wj4u3uCFd2QiPjVLbJD9V0RsTmEhPIFb1eqcJkPMXDsfqMOBjIfE9shitZDQtM5NIuoXlnTZMCFw8r8RWBk/APV+Ta/FtQgtG46RgDe2psRxALIqwR4z+EZJ6mk+Hi0rJvBMhH/xR3s+C+8446WUH00= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230022)(4636009)(346002)(396003)(39860400002)(136003)(376002)(451199015)(36840700001)(40470700004)(46966006)(40480700001)(6506007)(36756003)(82310400005)(2616005)(70586007)(26005)(6486002)(70206006)(6512007)(41300700001)(966005)(478600001)(8676002)(4326008)(82740400003)(81166007)(86362001)(356005)(40460700003)(36860700001)(8936002)(336012)(6862004)(5660300002)(186003)(83380400001)(44832011)(47076005)(107886003)(6666004)(316002)(2906002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2022 09:25:23.6944 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 32af18cb-e370-491e-2f38-08daacfcdb58 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT042.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR08MB7998 X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,KAM_DMARC_NONE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: The 10/11/2022 20:25, Yu-Chien Peter Lin wrote: > Hi all, > > We run the glibc testsuite on RISC-V targets and got some > common failure of following test in math subdir. > > FAIL: math/test-double-acos > FAIL: math/test-double-asin > FAIL: math/test-float64-acos > FAIL: math/test-float64-asin > FAIL: math/test-float32x-acos > FAIL: math/test-float32x-asin > > The return values and errno of acos and asin are correct, but > they don't raise "Invalid operation" exception when the argument > is inf, -inf, 1.125, -1.125, max_value and -max_value. fwiw i saw this on aarch64 with some version of gcc-10 when 'return INFINITY/INFINITY;' is optimized to 'return NAN;' so the fenv exception is not set. this could be fixed via a more robust arithmetic to set nan e.g. (x-x)/(x-x) or ensuring gcc takes exceptions into account when const folding float operations. > > These failed cases are listed test results [1] since glibc 2.33, > but it seems not a reported bug on sourceware bugzilla. so I want > to know the status on this issue. > > [1] https://sourceware.org/glibc/wiki/Release/2.35#RISC-V_.28rv64imafdc.2Flp64d.29 > > These tests run at below environments. > - glibc 2.35 > - gcc 10.2.1 > - binutils 2.38 > - Linux 5.4 > > Best Regards, > Peter Lin