From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: bignum branch Date: Tue, 17 Jul 2018 22:00:54 +0200 Message-ID: <874lgxfx8p.fsf@gmail.com> References: <87o9fbbw1t.fsf@tromey.com> <87bmbbmslt.fsf@gmail.com> <877elzmpjk.fsf@gmail.com> <83va9jcpfk.fsf@gnu.org> <83sh4ncoye.fsf@gnu.org> <87601j5lx2.fsf@gmail.com> <83o9fbckik.fsf@gnu.org> <86muuscvj8.fsf@gmail.com> <878t69g2cg.fsf@gmail.com> <83efg17mao.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1531858251 20988 195.159.176.226 (17 Jul 2018 20:10:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2018 20:10:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 17 22:10:46 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 1ffWJ4-0005Lp-PJ for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2018 22:10:46 +0200 Original-Received: from localhost ([::1]:33005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffWLB-0006zS-ON for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2018 16:12:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffW9f-0007gg-CT for emacs-devel@gnu.org; Tue, 17 Jul 2018 16:01:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffW9a-0000Wd-Gy for emacs-devel@gnu.org; Tue, 17 Jul 2018 16:01:03 -0400 Original-Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:40032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffW9a-0000WA-8Z; Tue, 17 Jul 2018 16:00:58 -0400 Original-Received: by mail-wm0-x233.google.com with SMTP id z13-v6so539262wma.5; Tue, 17 Jul 2018 13:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=6IRuOcgvtEKuAERgFuXyBmAhmzSdUi3QpXAWSP7Z00A=; b=kb7nW6C32NEobNOZhKaAEASedD43Yb0RXxwuj7KTIVH5H0lVdhsTjZ80V1cMzPla6u 97DjQ5prY4EQMckzKhVgn15hg7Fru8jlll8YjCxmZWN72W1ISdHf3TXaLdxG3ByZNold PSL8ntvLYcr28MAcsGdJf2GKgZ2a+b6r6FiSXJOoTum2he1YklmcISRKNKjkwJrWwcGM LrPSFI87ISpirO92DUomdlfGMbr7IcHyaarbB3mbbvw/uKxIQ4MU2CxvWog22xgOthEF Z/vw4UB1rDiwaLPntavZmCxggZiMRvgIAoR5wbTZeTKfcBQT2BoRtzTKjKeOag9xWAZZ WJuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=6IRuOcgvtEKuAERgFuXyBmAhmzSdUi3QpXAWSP7Z00A=; b=iPBe4lFetGC1sPxOFK3fGG3qtw3WMeEt0yglZBW6hoQnkn2+j51Zd6ym40bpePkErV BmEIWA3H9KBkstdxesY2lrZqu/gVXQOuae3rXN4uOXYYXo0ixf86ILd+kEa8QA7QncPn sPaxYzpA+q33SrASvTZnES7D5FMChRNt86KJT5I3QVLFFjp5qIpZ+wYLqQ/veY9yufSU /Qjw+/W2RazQI0jepSTiJ4LQ8nt9NQ9ShrUWueo7ynDrEQA0cZV7Xdn9vPZzIhMHn0dn qu7oGLAz8GYiBcFImj19Iwt2jLIMPkcRWhADqcn/ZLeLZCHiay6ZkuIxc9UcC9qxVUZl xYbg== X-Gm-Message-State: AOUpUlEXv7kZ/+nPpBD3sUua6dp6352Z0PpokNiaW2QKnOt/olxhapfV UPNS3IRZxJyhhBl1At9QCJoEicfw X-Google-Smtp-Source: AAOMgpe5i5cECTHMgPfMFczNeGd16LgFANBY8gxV0nNqx14kFdFHdMgcfb794rY0i5B0F91iW/fMxQ== X-Received: by 2002:a7b:c01a:: with SMTP id c26-v6mr2238661wmb.33.1531857656610; Tue, 17 Jul 2018 13:00:56 -0700 (PDT) Original-Received: from rpluim (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id f2-v6sm2119691wre.16.2018.07.17.13.00.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 13:00:55 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <83efg17mao.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 17 Jul 2018 21:24:31 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::233 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:227517 Archived-At: Eli Zaretskii writes: >> From: Robert Pluim >> Date: Tue, 17 Jul 2018 20:10:39 +0200 >> Cc: emacs-devel@gnu.org >>=20 >> The interpreter is fine. ccl.el assumes that 'ash' will truncate its >> result, which is no longer true when using bignums. Truncating all ash >> operations to 28 bits in ccl.el fixes this particular error for me, >> but the resulting CCL programs are not identical: > > Why is it important that the CCL programs be identical? > The source is the same, so I assumed that any difference in the output is a bug. I don=CA=BCt think ccl has changed much. > Or maybe we should have a variant of 'ash' that does truncate, since > other callers might expect the same? It an obvious assumption to make in a system that only has fixnums. The issue is probably not confined to 'ash'. Robert