libgmp

Rainer Müller raimue at macports.org
Mon Oct 12 01:06:31 PDT 2015


On 2015-10-11 16:14, Thomas Bodlien wrote:
> This is, what I am getting:
> 
> $ otool -tv /Volumes/SSD/SRC/Mac/Compute\ PI/libgmp.10.dylib  |grep -A6 ^___gmpn_sqr_basecase:
> ___gmpn_sqr_basecase:
> 0000000000028fa0	cmpq	$0x2, %rdx
> 0000000000028fa4	jae	0x28fb6
> 0000000000028fa6	movq	(%rsi), %rdx
> 0000000000028fa9	mulxq	%rdx, %rax, %rdx
> 0000000000028fae	movq	%rax, (%rdi)
> 0000000000028fb1	movq	%rdx, 0x8(%rdi)

This confirms the theory. The MULX instruction was added to Haswell and
is not supported on earlier CPUs.

Rainer


More information about the macports-users mailing list