From owner-svn-src-all@freebsd.org Thu Jun 25 16:13:42 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85D6598D9F4 for ; Thu, 25 Jun 2015 16:13:42 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: from mail-yk0-f177.google.com (mail-yk0-f177.google.com [209.85.160.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52FFC15D4 for ; Thu, 25 Jun 2015 16:13:42 +0000 (UTC) (envelope-from ed@nuxi.nl) Received: by ykdy1 with SMTP id y1so43051857ykd.2 for ; Thu, 25 Jun 2015 09:13:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5nTxR2ysCqGrE8Xa6iXUj+uRJFqIhMaJ5QukjuxbwsA=; b=X9dv7zQqC9nwuJe62b3n3Q7rqFkeWQxw6NdXgMf8bIlUmCHGXN4kyapeETo4x08aWL 5kneuXToIhV92D0kzUYNNUl2irJp35HEe5PyuWyIZMMnJXKjK0DHgc/pXNgpnl4K2Iu2 aWPz6NznmTcKvW+/vBy8tXl1fPx/VCELlnR83IBprRSFH99TB0VhKPhHFBmBUFcOdcgj dh4wDb8ximxRiFpFgguyrxVQyGybktqqUE/+rJzAyGATPe1xJdGhxY/OXKS7oRA45KF6 1TujUUZ2pUyHMFCsYNx9wLD0C4oh1U2Qc5+n0tYdcq7rLQcP+E7+5SZ3XmCZ2zcX1WfJ OSyw== X-Gm-Message-State: ALoCoQki+5Ok817OcqXr9eaUK9P8/w8vjCpJiYlK3o4SDDkG3FbFkPRm8osAZXOGK3XT+YkDHhxD MIME-Version: 1.0 X-Received: by 10.129.138.2 with SMTP id a2mr54029742ywg.149.1435248815262; Thu, 25 Jun 2015 09:13:35 -0700 (PDT) Received: by 10.129.113.212 with HTTP; Thu, 25 Jun 2015 09:13:35 -0700 (PDT) X-Originating-IP: [84.27.222.46] In-Reply-To: References: <201506250822.t5P8MQ4C026649@svn.freebsd.org> Date: Thu, 25 Jun 2015 18:13:35 +0200 Message-ID: Subject: Re: svn commit: r284807 - in head/lib/libc/aarch64: . gen From: Ed Schouten To: Andrew Turner , das@freebsd.org Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 16:13:42 -0000 [ +das@ ] 2015-06-25 18:03 GMT+02:00 Ed Schouten : > Considering that this interface is essentially deprecated (they were > replaced by C99 ), would it make sense to figure out what > actually uses this? If it's just Python and a small number of other > ports, maybe it would be worth porting these over? Even more interesting, if I look at the Python code (Modules/python.c, in main()): /* 754 requires that FP exceptions run in "no stop" mode by default, * and until C vendors implement C99's ways to control FP exceptions, * Python requires non-stop mode. Alas, some platforms enable FP * exceptions by default. Here we disable them. */ This contradicts with what fenv(3) says: "Non-stop mode is the default, but it may be altered by feenableexcept() and fedisableexcept()." This line has already been in there since its first version (2004). My suspicion is that the code that Python has, is only there to deal with older versions of FreeBSD from 2004 that may have been non-conforming. -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK/VAT number: 62051717