X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:message-id:from:reply-to:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=Sop8CW a2bk7ut/Fa6tu3rwPpQ7Db21yKEftN4wcLWa6L+gD6I3kVy9AksCfuvlBE5T8uN8 5qb8v+1hLHfuWQx8S1vfJTOuIE/jQL0YU8LDALVKgBWQz0ZCUZVOV42UVgqQycbv YcU0Kv0UIbZBPYUqRDpQWt9nhFN/o5qyNQkLs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:message-id:from:reply-to:to:subject :references:in-reply-to:content-type; s=default; bh=+qkmmB8ERJAt EW+7cRXodaCmnJA=; b=a0XvbUypoE2xFjuOeOswh781bi5QHOpu1kjVl9xOhb/d ZOa+31qbYjKGj3nkj8WDQ0Cx9A9+Ey1gaUnUOgmGg3XKAEtjZ0F0AKarmwKzobph 3nKlSWannScJ13GlxKUEPSz4NG1lRosyr0P/ftJHuZZ2B38n8c49w1wZznZ/4q4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*nl, H*M:smtp, objections X-HELO: lb3-smtp-cloud8.xs4all.net Date: Fri, 10 Aug 2018 14:43:47 +0200 Message-ID: <57b3092a9b5027be5f14e59c305200bc@smtp-cloud8.xs4all.net> From: Houder Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.11.0-0.1 References: <20180810114254 DOT GA25560 AT calimero DOT vinschen DOT de> In-Reply-to: <20180810114254.GA25560@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=fixed User-Agent: mua.awk 0.99 Note-from-DJ: This may be spam On Fri, 10 Aug 2018 13:42:54, Corinna Vinschen wrote: [snip] > > Note: the following line must be changed in STC-FENV.c (the STC that was > > attached to the bug report -- the last one above). > > > > from: > > const int xxx =3D 0x3d; // FE_ALL_EXCEPT on Linux, i.e. the denormal-... > > // exception is excluded on Linux > > > > to: > > const int xxx =3D 0x3f; // Cygwin allows the denormal-operand exception; > > // Linux (Andreas Jaeger) does not. > > // This exception is not defined by the IEEE 754 > > // standard (Floating-Point Arithmetic) > > Shall we change that? A patch would be nice. ;) That is possible ... As on Linux, the denormal-operand exception will always be masked after this change ... (both in the default env. and in the "nomask" env.) Meaning that, after this change, this exception can * no longer * be enabled through the API of fenv.h Objections? Anyone? The modication would require changing: winsup/cygwin/fenv.cc (_feinitialise() ) winsup/cygwin/include/fenv.h (FE_ALL_EXCEPT) /usr/include/fenv.h (which is a copy of the above, I am guessing ?????) In _feinitialise() this line must be changed: from: 434 mxcsr = FE_ALL_EXCEPT << FE_SSE_EXCEPT_MASK_SHIFT; to: 434 mxcsr = 0x3f << FE_SSE_EXCEPT_MASK_SHIFT; Regards, Henri -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple