From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: bignum branch Date: Sat, 11 Aug 2018 22:08:48 +0300 Message-ID: <83a7pslnzz.fsf@gnu.org> References: <87o9fbbw1t.fsf@tromey.com> <87ftzrknyg.fsf@tromey.com> <87zhxwig5k.fsf@tromey.com> <86lg9gl7vy.fsf@gmail.com> <87tvo4i9em.fsf@tromey.com> <86k1ozl0yd.fsf@gmail.com> <83in4iojva.fsf@gnu.org> <86bmaasm39.fsf@gmail.com> <83a7puo8oq.fsf@gnu.org> <83zhxummef.fsf@gnu.org> <83lg9em1v6.fsf@gnu.org> <86r2j5q67t.fsf@gmail.com> <83r2j4lvyo.fsf@gnu.org> <86va8gj12l.fsf@gmail.com> <83k1owlscr.fsf@gnu.org> <86mutsiy80.fsf@gmail.com> <83eff4lqon.fsf@gnu.org> <86eff4ixcj.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1534014445 30888 195.159.176.226 (11 Aug 2018 19:07:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Aug 2018 19:07:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andy Moreton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 11 21:07: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 1foZEO-0007x7-Fn for ged-emacs-devel@m.gmane.org; Sat, 11 Aug 2018 21:07:20 +0200 Original-Received: from localhost ([::1]:32915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foZGV-0007ON-26 for ged-emacs-devel@m.gmane.org; Sat, 11 Aug 2018 15:09:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foZFo-0007N2-Ql for emacs-devel@gnu.org; Sat, 11 Aug 2018 15:08:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1foZFl-0003tN-L8 for emacs-devel@gnu.org; Sat, 11 Aug 2018 15:08:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foZFl-0003t7-GC; Sat, 11 Aug 2018 15:08:45 -0400 Original-Received: from [176.228.60.248] (port=1476 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1foZFk-00036P-W8; Sat, 11 Aug 2018 15:08:45 -0400 In-reply-to: <86eff4ixcj.fsf@gmail.com> (message from Andy Moreton on Sat, 11 Aug 2018 19:15:08 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:228425 Archived-At: > From: Andy Moreton > Date: Sat, 11 Aug 2018 19:15:08 +0100 > > 0x000000040016e3f3 <+277>: callq 0x4000e9c29 > 0x000000040016e3f8 <+282>: mov 0x14(%rax),%edx > 0x000000040016e3fb <+285>: test %edx,%edx > 0x000000040016e3fd <+287>: js 0x40016e41d > 0x000000040016e3ff <+289>: jle 0x40016e416 > 0x000000040016e401 <+291>: mov 0x18(%rax),%rcx > 0x000000040016e405 <+295>: callq 0x401e60494 <__imp___gmpn_popcount> > 0x000000040016e40a <+300>: mov %eax,%eax > 0x000000040016e40c <+302>: lea 0x2(,%rax,4),%rbx > 0x000000040016e414 <+310>: jmp 0x40016e3bc > 0x000000040016e416 <+312>: mov $0x0,%eax > 0x000000040016e41b <+317>: jmp 0x40016e40a > 0x000000040016e41d <+319>: lea 0x20(%rsp),%rsi > 0x000000040016e422 <+324>: mov %rsi,%rcx > 0x000000040016e425 <+327>: callq 0x400285308 <__gmpz_init> > 0x000000040016e42a <+332>: mov %rbx,%rcx > 0x000000040016e42d <+335>: callq 0x4000e9c29 > 0x000000040016e432 <+340>: lea 0x10(%rax),%rdx > 0x000000040016e436 <+344>: cmp %rsi,%rdx > 0x000000040016e439 <+347>: je 0x40016e445 > 0x000000040016e43b <+349>: lea 0x20(%rsp),%rcx > 0x000000040016e440 <+354>: callq 0x4002852d0 <__gmpz_set> > 0x000000040016e445 <+359>: mov 0x24(%rsp),%eax > 0x000000040016e449 <+363>: neg %eax > 0x000000040016e44b <+365>: mov %eax,0x24(%rsp) > 0x000000040016e44f <+369>: lea 0x20(%rsp),%rcx > 0x000000040016e454 <+374>: mov $0x1,%r8d > 0x000000040016e45a <+380>: mov %rcx,%rdx > 0x000000040016e45d <+383>: callq 0x4002852a0 <__gmpz_sub_ui> > 0x000000040016e462 <+388>: mov 0x24(%rsp),%edx > 0x000000040016e466 <+392>: test %edx,%edx > 0x000000040016e468 <+394>: js 0x40016e496 > 0x000000040016e46a <+396>: mov $0x0,%eax > 0x000000040016e46f <+401>: test %edx,%edx > 0x000000040016e471 <+403>: jle 0x40016e47d > 0x000000040016e473 <+405>: mov 0x28(%rsp),%rcx > 0x000000040016e478 <+410>: callq 0x401e60494 <__imp___gmpn_popcount> Interesting: all the other GMP functions are referenced by their name, and only __gmpn_popcount is referenced through the DLL import... In the dependency walker display, which functions are shown in the upper-right window (the "parent import function list"), the one that shows "C" icons with green background, when you click on libgmp-10.dll in the top-left window, the one that shows the dependency DLLs?