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: Making 'eq' == 'eql' in bignum branch Date: Fri, 10 Aug 2018 15:43:00 +0000 Message-ID: References: <29f933ac-a6bf-8742-66a7-0a9d6d3e5a88@disroot.org> <765767b2-d2e5-a9a6-f724-d58ecf4847bb@cs.ucla.edu> <76081b5d-8c10-0a37-2c97-d4864c0faa80@cs.ucla.edu> <09153aed-361d-4f82-d9ac-b502314769ae@cs.ucla.edu> <83600yt8ih.fsf@gnu.org> <83h8kgpnir.fsf@gnu.org> <7dd71d44-69bc-3adf-576b-8b9e31184a24@cs.ucla.edu> <83d0v4p1si.fsf@gnu.org> <827beb76-3adf-f2f9-33b1-1baee55680cd@cs.ucla.edu> <83wotbo04h.fsf@gnu.org> <77d5f8b0-2277-b28e-8565-d3e00c411795@cs.ucla.edu> <83ftzyocry.fsf@gnu.org> <837elao4bo.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1533915745 6619 195.159.176.226 (10 Aug 2018 15:42:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2018 15:42:25 +0000 (UTC) Cc: eliz@gnu.org, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 10 17:42:21 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 1fo9YT-0001bh-CT for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2018 17:42:21 +0200 Original-Received: from localhost ([::1]:56815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo9aZ-0001Zf-Vl for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2018 11:44:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo9Zk-0001Yc-MY for emacs-devel@gnu.org; Fri, 10 Aug 2018 11:43:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fo9Zk-00078c-0D for emacs-devel@gnu.org; Fri, 10 Aug 2018 11:43:40 -0400 Original-Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:40351) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fo9Zi-00076v-MS; Fri, 10 Aug 2018 11:43:38 -0400 Original-Received: by mail-lf1-x12f.google.com with SMTP id y200-v6so6897769lfd.7; Fri, 10 Aug 2018 08:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OdoKWJCvf8Edp7lV9DC3+awQ6MmDlPqdenDOh7meWXY=; b=N2h3NqvaYVwmK8LtxACqaf5EosJ1+99b0HD5dqwtYmurQi1jNMAIw+iziYv72ULxcH OHnSmDWyJZmg/b/d0zsy9xGV5/RWEh0H8HZaz/NAoyLGRhyeK4+Fdp1SvAbNPHYbRXPJ Vy/U+0WFudy+EqZ32SJCR+/7mXd2KiqnTQ4brzBStnpCKUzqfGKWQqGeJx0bDmDFDzBx 5OpJRgg6NbVBLl6jAiHcaZD/VP56QHnYot3OS+Vr0NBzvFp+5I+mbo1XpRcB1WrWWi3p 76qoVEW1fzByD4U0kywtMjllYPq11csXxGlWsm7NjbR4RdjwgmPvNuD2EUoWeI5l/Pnf f4IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OdoKWJCvf8Edp7lV9DC3+awQ6MmDlPqdenDOh7meWXY=; b=fl+1o5q7Yx/UKObzUZPkYTQ39HTUYSuUwG9I/wHv+6PsUTvNGBS4ReaI9QednKFVeW YD0HB8oAlbLBVBXnfOWfEVIIkKI5iPyx1v6nLO71mvgtibgOA4198JsF53zoxh2p2z2O nPLtZHdulReB43I79De0/eplg2uMBAVKDRJBM5t+wBbCKx5rFpl/ZacnMKTS8Vv239kQ aIKcPWGuYhUNW7BXCs02q+3ucLyV/SVBwP240vy72onmEuxUwZNB2tRYy0b4Lgxq15t5 X3SQUEkf4iSSQTOvBdGyyta7S8XBEZqHITcWTwdBsWpiee65lQgg4/P4L44Dtk1i+RX0 JANw== X-Gm-Message-State: AOUpUlEXmII9uzXSfogI3eG2VVBg45MQj2ggC7OcmS7nm3GxA8k+oavd LSiK/4LRQ6eyUpQAUAfMruG7eWjw/pQ+SM9LWIX3tg== X-Google-Smtp-Source: AA+uWPzPylcBim7cjxcPhaEC1ft8LuPHIS36JAjXfrWjTcq8jGJcL2BWp+dZxCGjRFaTHgcfFEOerY8M3NYvOhMXw84= X-Received: by 2002:a19:a5c5:: with SMTP id o188-v6mr5060202lfe.149.1533915817383; Fri, 10 Aug 2018 08:43:37 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::12f 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:228386 Archived-At: On Fri, Aug 10, 2018 at 3:15 PM Stefan Monnier wrote: > > That sounds promising! However, I wonder whether NaN-boxing isn't the > > right thing to do once we have bignums (on platforms that support it, > > by limiting pointers to 48 bits like x86-64 does). I'm doing that in > > NaN boxing implies 64bit boxes, which on 32bit platforms imposes > a non-negligible overhead. Sorry, I don't understand. I don't see how any of this applies to 32-bit platforms with 32-bit EMACS_INTs. On those, we cannot have float immediates or NaN boxing. > So, I think it'd end up costing > significantly more than the tentative patch with which Paul and I have > been playing. I think we only have a benchmark for 61-bit floats, which would mean giving up IEEE compliance and surprising the occasional user who wants it. That's a very high price to pay for saving a few GCs.