From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: Floating-point constant folding in Emacs byte compiler Date: Mon, 2 Apr 2018 15:02:02 +0000 Message-ID: References: <2ce39e5c-cd1b-65d6-b125-719caad67932@cs.ucla.edu> <83vadmgfbz.fsf@gnu.org> <87d0zr2n1u.fsf@gmail.com> <83h8p2g99p.fsf@gnu.org> <87370m3k4y.fsf@gmail.com> <838taeg6z5.fsf@gnu.org> <7a49cbdf-f2c3-0803-2ee8-3d9f55e405a5@cs.ucla.edu> <7a4f10ec-c1b9-953d-7a95-b2f1ff762735@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1522681307 10928 195.159.176.226 (2 Apr 2018 15:01:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2018 15:01:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 02 17:01:43 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f30xq-0002i9-MF for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2018 17:01:42 +0200 Original-Received: from localhost ([::1]:41136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f30zu-0003aI-6f for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2018 11:03:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f30ys-0003ZU-N7 for emacs-devel@gnu.org; Mon, 02 Apr 2018 11:02:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f30yr-0005Ta-PX for emacs-devel@gnu.org; Mon, 02 Apr 2018 11:02:46 -0400 Original-Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:40778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f30yr-0005T0-JE for emacs-devel@gnu.org; Mon, 02 Apr 2018 11:02:45 -0400 Original-Received: by mail-wm0-x230.google.com with SMTP id x4so27682114wmh.5 for ; Mon, 02 Apr 2018 08:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/okkS3i3nJxvQuf4M6532WXuyBtRGV2PyEz1golXmN8=; b=JQaV+k4x44PlEgjkvbW1KWmI2LR7vZ8481L2YxeIvgEIqErUPy0AeDthEY4TWkph+v 7S4y6CjUTTNj5qT9nblDhE2X3OE76Y4nzsMQFeNXARGySgQpiKqBgwmYb5n9tKJaw/7L 1PLiqB3CjUTYkwVAPge17h3bqtoqRlhpx1TiGOoBXiGQd/9lV9rcv5ggWBlu5oJ25U1E x7+TZBC4BwwtOwFsc21ft/hNfZPK4+BpgsTJCsynkc92PApMWRHmp3qxDL5BC1tOKOLx 7y554z5yjmoCOkzRNw6aZkw4/DcGcqK0QurV9DuYemdFVvkzikTFw0YeiT624c+5EMh8 l1rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/okkS3i3nJxvQuf4M6532WXuyBtRGV2PyEz1golXmN8=; b=YU4OuocULsAbP6le9GgZFSXGJqqVQtJYUye5UFyASSZknCuzUrsU8mbQ2+RvdjUKMN 7hogV67lni6Z66iXyGw2I/x5BfV5KytHBK0kmXbBgbAMPncwX3uQapPyOaVLanfBf3Bo xInwz/HpG5Ttr1r/RF9taJpigRtG2CDT/JZo0iNHhNeCxVmjVyPlk+0imtP/I4qZmnYK aiQYyxK5aELZgDegd2pWBSHMz/nuODbuNrmUN58UkMmzmeV+in0g4KPSIY56eKrtEscI Js79TwWUdyKsO+6q5HWN1/9LW1pm22UflJjRJbk/hpB62T3KmuQD+7JsZsHtonIOYstw rHBg== X-Gm-Message-State: AElRT7FUp0wqJFSWNRq2qodqu7Zi1kO4Ra47+KYE0MpYf+oU0dnorUC2 G9bZCZ0sJ186Q21rrDQZK/s7E/i47eHLF/1wp1E= X-Google-Smtp-Source: AIpwx49JKiBmCmzOB399QPv0XKH8ZifipcR3iBwy0DFtB93kornEnW6gUUepSydk/Lv8PEYnIrcySEksyqV7kTYBlr8= X-Received: by 10.80.168.227 with SMTP id k90mr13086639edc.208.1522681363147; Mon, 02 Apr 2018 08:02:43 -0700 (PDT) Original-Received: by 10.80.129.230 with HTTP; Mon, 2 Apr 2018 08:02:02 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224247 Archived-At: On Mon, Apr 2, 2018 at 2:50 PM, Stefan Monnier wrote: >> reproducible. To do that, right now, I redefine EQ to be true for >> same-value floats. > > So you redefine EQ to mean EQL? That should work. It does! I can now produce the same lisp/ directory as standard Emacs + EQ=EQL + CANNOT_DUMP=yes (however, even vanilla Emacs will produce different lisp/ directories with and without CANNOT_DUMP=yes. One instance is cus-load.el, which includes entries for preloaded files when CANNOT_DUMP=yes, which is arguably a feature; I'm looking at the other differences). I redefined the C EQ macro, not (just) Feq.