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

Torbjörn Granlund tg at gmplib.org
Tue Nov 1 22:55:46 CET 2022


Simon Sobisch <simonsobisch at gnu.org> writes:

  config.status: linking ../mpn/x86_64/core2/popcount.asm to mpn/popcount.asm
  config.status: linking ../mpn/x86_64/core2/hamdist.asm to mpn/hamdist.asm

  tmp-popcount.s:181:suffix or operands invalid for `movq'
  tmp-hamdist.s:206:suffix or operands invalid for `movq'

Is this on a recent version of macos with current versions gcc+binutils
installed?  Or is either old variants?

This is not the same bug as we worked around for register-to-register
copying on x86-32 some years ago.  It is not cleer what syntax this
assembler might accept, and which also gives the right instruction (here
and on non-prolematic hosts).

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list