emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bignum branch


From: Eli Zaretskii
Subject: Re: bignum branch
Date: Sat, 11 Aug 2018 22:08:48 +0300

> From: Andy Moreton <address@hidden>
> Date: Sat, 11 Aug 2018 19:15:08 +0100
> 
>    0x000000040016e3f3 <+277>: callq  0x4000e9c29 <XBIGNUM>
>    0x000000040016e3f8 <+282>: mov    0x14(%rax),%edx
>    0x000000040016e3fb <+285>: test   %edx,%edx
>    0x000000040016e3fd <+287>: js     0x40016e41d <Flogcount+319>
>    0x000000040016e3ff <+289>: jle    0x40016e416 <Flogcount+312>
>    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 <Flogcount+222>
>    0x000000040016e416 <+312>: mov    $0x0,%eax
>    0x000000040016e41b <+317>: jmp    0x40016e40a <Flogcount+300>
>    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 <XBIGNUM>
>    0x000000040016e432 <+340>: lea    0x10(%rax),%rdx
>    0x000000040016e436 <+344>: cmp    %rsi,%rdx
>    0x000000040016e439 <+347>: je     0x40016e445 <Flogcount+359>
>    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 <Flogcount+440>
>    0x000000040016e46a <+396>: mov    $0x0,%eax
>    0x000000040016e46f <+401>: test   %edx,%edx
>    0x000000040016e471 <+403>: jle    0x40016e47d <Flogcount+415>
>    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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]