From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: (elisp)Numbers Date: Fri, 24 Oct 2003 15:38:18 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <9787-Fri24Oct2003153817+0200-eliz@elta.co.il> References: <200310210229.h9L2TGl12085@raven.dms.auburn.edu> <9743-Wed22Oct2003174239+0200-eliz@elta.co.il> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1067003232 25812 80.91.224.253 (24 Oct 2003 13:47:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2003 13:47:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Oct 24 15:47:10 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AD2HW-0004gJ-00 for ; Fri, 24 Oct 2003 15:47:10 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AD2HV-0000R1-00 for ; Fri, 24 Oct 2003 15:47:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD2Fb-0005jQ-0E for emacs-devel@quimby.gnus.org; Fri, 24 Oct 2003 09:45:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AD2FD-0005gY-OV for emacs-devel@gnu.org; Fri, 24 Oct 2003 09:44:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AD2Eh-00056t-EL for emacs-devel@gnu.org; Fri, 24 Oct 2003 09:44:46 -0400 Original-Received: from [192.114.186.18] (helo=bilbo.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AD2Ef-0004x6-Lu; Fri, 24 Oct 2003 09:44:13 -0400 Original-Received: from zaretski (pns03-204-110.inter.net.il [80.230.204.110]) by bilbo.inter.net.il (Mirapoint Messaging Server MOS 3.3.7-GR) with ESMTP id BSA92711; Fri, 24 Oct 2003 15:44:03 +0200 (IST) Original-To: rms@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (message from Richard Stallman on Thu, 23 Oct 2003 14:38:07 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17402 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17402 > From: Richard Stallman > Date: Thu, 23 Oct 2003 14:38:07 -0400 > > If you say "gcc -S" and look at the code, don't you see the FSQRT > instruction being followed by tests on bits in the FPU status word, > followed by the call to `sqrt' from the library? > > i don't see that on the x87 code here. The DJGPP port of GCC 2.95.3 does produce the code I described. Perhaps on GNU/Linux, the library and/or the kernel somehow do the equivalent of it, I don't know enough about GCC configuration on that platform to tell. > anyway, it does not signal the exception. > can someone try to debug this? I'll try if no one else does. > also, i compile with -O0. should that really open-code sqrt? I tried that on fencepost (they also have GCC 2.95.4 there), and it didn't open-code sqrt under -O0.