From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: Bignum performance Date: Tue, 15 Aug 2023 14:26:23 +0800 Message-ID: <871qg4n7n4.fsf@yahoo.com> References: <87bkfartof.fsf@localhost> <175cf474-29c8-a482-072e-0de784ac59e8@gmail.com> <87o7jaqc31.fsf@localhost> <2d419e12-9239-de3e-47d0-38815a00025f@gmail.com> <87msyth8jh.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23216"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 15 08:27:42 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qVnWo-0005oD-LT for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Aug 2023 08:27:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVnVr-0006Wa-NO; Tue, 15 Aug 2023 02:26:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVnVm-0006WI-MS for emacs-devel@gnu.org; Tue, 15 Aug 2023 02:26:39 -0400 Original-Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVnVk-0008OX-KY for emacs-devel@gnu.org; Tue, 15 Aug 2023 02:26:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692080794; bh=s1Ap2hdJe/VMeH1497DiFTiQnJeY4mQAKvhNstlWg3g=; h=From:To:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=T2kREa0A6AmVC8B20DxHziYvr0djWencu75967IuE73LLN7ZRUuYVNmcNkMz+rVi8Rp5xhRICnAbcgYnM7qh8/Kchj801jfJ2PTCcBLXmEYLIhT3yjVT6Y9j/Nti2hyJls02QFY5IPmmfe7WBTkl5JaCVjpmAPtO7Hsi3UpxWAKQP7ha8n/btKCEF4rmgsJPIJC7qf2xalHvV4WFCSg7JPif1xopmjZwUDMFbi6laM4XBBHloaC8IJwPZxvE2X6dKM5TogKWXTwiAjomd1sjUxx3B9Venn/7YogMcP4bhQLZo3xWcLTwa6gdZjdQ08uyOoUKKFVbnaZ2XL7Xa0xsNA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1692080794; bh=91b22bScV8f/SKArBXkdz/4FmbzGq1oj6/jAWLVPugO=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Op2m+0zZdgL3JfUJ5ImNBIkIeabyYPL/WTWp7gYH9mVu3kJ6r+XPInHn4Ii9xzbXv9/O2vvgRhDvsjM4to/dRlDyAhYpxszCnZsPqJd22YEijEYwbmwNYuhfx7yDnwezjTNMwnzLKPJGYNFfDOgQc8FDH0x+u+EuPfTBDOdDZ76xqrMF4jlJ0YDjmhv4m3krDys0y5AceMcI3ZOFoPEERB6cV2ElzzfqcX3pk/vPshShVoCnpGt/RyFuSLgRKv56EovJ0F6BQhzqdpE7QhfMHtZacWdkcWhziZJ0qYdgpFAlk4O4Rumm1CD44xSc9C0U9ymXMGE9Pdu+FdbrCDugEw== X-YMail-OSG: w97qCZsVM1mHF8EwN89zhF1q7ezvdH0YF5AivN9y55ekNq9Z3pr_7p2kyNST16U swuuT0ZZyzonZPfdl4swBypS8d5z5fMCviuw_GgvJT0IsAZ.YXr64KskKwR3htYFxCq7s90PaAFT 4C_chOpI.pie4swlQdb07GndX3BGjNbWFtNdAK9UYlGiMAQS8DH4K9YUqwpWr.Enoze21tYoYN_w aO3axhRrwG4BFCMw7rahHjNwhuHKYZ3xJRqkLEaHM7WoEGS0X60PMy1pvJV3uPfWwEXBnQ.3VDko oFYzawoWPfi1J1B1ZrYvpTN4Io3Z9P8dXwL_kO85mPyFqgRNrnSjohz_tJGMz.vUmCU6g0xoAmyW 8JkvaBEYSA9zEHUUZzbeEh4Yvkd4SAFNgnRkCBj1oZqUoO1cGulwHK3Q.KX_7cMtmigUaKtA9zkG voF8lF8RV0vIwHBSB2Ii1OT.8.4W0mBgUGVMnvNXJd9aAJSqIj3Q6Z.TR_Dgh32uhYmqvSEn7Bi7 XV8FyUt93YlNSp5Qd8Zw_PJNou3qcnnBowd2RN_6R7CwLKPYzLOej9NiV.x9xxzhaqGncG0JKYPW qD.2.Qqepe49R_90yypXZcotITyqvyuuoVcK_vitVjlPVrzckbQ9C3E3Wy5CCji2cbDPX6_RWkM6 DfnDQ1i4SEd5gwDBNJqya3q4A4to_Hm4hBCuGtWj7ixFGDRtr_h7Yc_9W_7n7GXC8f9blgdaKFQX ONuHG9IcAz4ps7tUjeZQD6oh0tHe._OJzxOHH4_j4r3Ks0_l772iieMM82sPXYV1XvbePeG0wdyu 1c.UX4UKT7IiikaY2HV9oZWe2PbvF.vpKkyoNChInv X-Sonic-MF: X-Sonic-ID: 0e7fcd30-828d-48ed-8989-0e31922d71b9 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Tue, 15 Aug 2023 06:26:34 +0000 Original-Received: by hermes--production-sg3-69654d8bd-xs829 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 1caad0531afda58b054d480fdfe23c62; Tue, 15 Aug 2023 06:26:28 +0000 (UTC) In-Reply-To: <87msyth8jh.fsf@dataswamp.org> (Emanuel Berg's message of "Mon, 14 Aug 2023 18:51:14 +0200") X-Mailer: WebService/1.1.21695 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.206; envelope-from=luangruo@yahoo.com; helo=sonic312-25.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308749 Archived-At: Emanuel Berg writes: > Are we talking 1 word = 2 bytes = 16 bits here, s2c? > > If so, the range of fixnums are -32 768 to 32 767 inclusive, > so those are hardly huge numbers. Under Arm64, general purpose integer registers are 64 bits wide. That is also the word size of said machine. I agree that vague terminology such as ``word'' is confusing, because of its use by the Unix assembler.