From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26151 invoked by alias); 14 Aug 2017 12:46:52 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 26049 invoked by uid 89); 14 Aug 2017 12:46:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_INFOUSMEBIZ,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=wwwjhauserus, H*f:sk:012301d, UD:www.jhauser.us, softfloat.html X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com Received: from mail-he1eur01on0087.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (104.47.0.87) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Aug 2017 12:46:39 +0000 Received: from DB6PR0801MB2053.eurprd08.prod.outlook.com (10.168.86.22) by DB6PR0801MB2056.eurprd08.prod.outlook.com (10.168.86.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1341.21; Mon, 14 Aug 2017 12:46:36 +0000 Received: from DB6PR0801MB2053.eurprd08.prod.outlook.com ([fe80::2d78:6ac0:142:cc9a]) by DB6PR0801MB2053.eurprd08.prod.outlook.com ([fe80::2d78:6ac0:142:cc9a%18]) with mapi id 15.01.1341.020; Mon, 14 Aug 2017 12:46:36 +0000 From: Wilco Dijkstra To: Jon Beniston , "aadit0402@gmail.com" CC: "newlib@sourceware.org" , nd Subject: Re: Adding fenv.h for ARM and SPARC Date: Mon, 14 Aug 2017 14:05:00 -0000 Message-ID: References: ,<012301d314f1$36362bb0$a2a28310$@beniston.com> In-Reply-To: <012301d314f1$36362bb0$a2a28310$@beniston.com> authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB6PR0801MB2056;6:DlGB3CE54PO8wweGbUhaBbTxfnSuL2UtQHx6yUCk1ngRYbOmN7ul5VVcMcGqEonyzA6UhYW74HkgJFN1UWIs5Q8u/k6RS0xLEFuNL5mvoJFRZjFrqaHwhuXJUfpoNDkjVgtElMAIrHjiquCU/Dym/B62d8j4bO43lbdCKrrxhntVBqC5Sv6I++EnX/AvmJOxE2grhtpXkKU0jj5wciDfZnYwPD00IyD0PD64ZjZv8eFepppP6hoNECV0JSwHBDUok41gqqOvi7aTCcsZ9K8P9BYzUP9A7iSKksHtILPc403w6qozNG0HE5/iLQeR0cE8/90an11TMmTRvlCiuMqdQw==;5:cb1RPSsGOdA3TGksUaMvY0pAQQzLpSpCQz2/JIhqfrmF7Ad2tYNafULiTbXXguCFVwTY7LTXsgqQllcIIsoiGzhO9TZwdnfINzk0ixCAQXUH0iCiDdIqvx4QTQ4O6Uqps6LKUwGO3XH8TKRzfpmDbQ==;24:2MSowUmhR5SoIih2aNLoCf6GE+ZP58IPbjs+/kNgdN+AU733U/AG/V6QEr66gpfbZbnAj7tavqcmvfBBYSSmyUjHBTEg4V37a+jskGg242A=;7:T9UMzR7O9wXW/W9mX+Jb+GI1kpUgrn8undD0DqIgW5lfeWSzeTQaj4qzJZ213+KvTYiQpJTlW9qQayp/tVtCILmewhzKKd1xSYhKa3Z3Nk7XIe4Qm3lpHcBOkG2/nQuU+aLG8igF52O1YDoHlnaBi70G52NdGage9w3f1oKGNS0rYF6ibqcpYQoQTAo+JCXO5QjpOIkYpZNanpPFMXtgrRCIpwezn9Eycju6QeIdWCc= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 7cad982b-b893-48f8-53f6-08d4e312802a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DB6PR0801MB2056; x-ms-traffictypediagnostic: DB6PR0801MB2056: nodisclaimer: True x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123560025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DB6PR0801MB2056;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DB6PR0801MB2056; x-forefront-prvs: 039975700A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39860400002)(24454002)(189002)(199003)(6246003)(189998001)(4326008)(6306002)(9686003)(6436002)(66066001)(53936002)(2900100001)(478600001)(25786009)(55016002)(33656002)(305945005)(5660300001)(7736002)(14454004)(99286003)(54906002)(39060400002)(229853002)(74316002)(97736004)(72206003)(2501003)(101416001)(5250100002)(3280700002)(7696004)(106356001)(3660700001)(8676002)(81156014)(81166006)(8936002)(105586002)(6506006)(50986999)(6116002)(102836003)(76176999)(68736007)(2950100002)(54356999)(2906002)(3846002)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0801MB2056;H:DB6PR0801MB2053.eurprd08.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2017 12:46:36.3381 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB2056 X-SW-Source: 2017/txt/msg00807.txt.bz2 Jon Beniston wrote: >>When you use software floating point there is no need for fenv. The > rounding mode is >> fixed and there are no exceptions.=20 > > That's not true for the softfloat lib though (assuming we're talking about > (http://www.jhauser.us/arithmetic/SoftFloat.html) - which I believe suppo= rts > both. I was guessing that wasn't what the OP meant. The spu target was mentioned, which has an fenv implementation in newlib - but that is for hardware float= ing point. But yes it would be good if the OP clarifies what they are proposing. Wilco =20=20=20=20