GMP 6.2.1 core2 x86_64 assembler error "operands invalid for `movq'"

Niels Möller nisse at lysator.liu.se
Wed Nov 2 10:22:07 CET 2022


Torbjörn Granlund <tg at gmplib.org> writes:

> Note that the movq instances the old assembler complains about here read
> from memory.  Using movd might yield surprises there.

Hmm, it wasn't clear to me fromt he error report exactly which
instructions it was complaining about, so I guessed this was one of
them:

https://gmplib.org/repo/gmp/file/tip/mpn/x86_64/core2/hamdist.asm#l194

  movq	%xmm0, %rax

For the memory accesses, e.g., 

  movq	(up), %xmm1

I agree changing those to movd sounds scary.

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list