replacing each "movq" with "movd" in mpn/popcount.asm
makes the errors go away, and all tests (make check) pass.

So this looks like the right fix for this.
Dmitrii

On Apr 15, 1:59 am, Dima Pasechnik <dimp...@gmail.com> wrote:
> is this known?
>
> ....
>  gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -m64 -march=core2 -mtune=core2 -
> D__GMP_WITHIN_GMP -I.. -DOPERATION_popcount -I. -I.. tmp-popcount.s -
> fno-common -DPIC -o .libs/popcount.o
> tmp-popcount.s:54:suffix or operands invalid for `movq'
> tmp-popcount.s:57:suffix or operands invalid for `movq'
> tmp-popcount.s:60:suffix or operands invalid for `movq'
> tmp-popcount.s:69:suffix or operands invalid for `movq'
> tmp-popcount.s:75:suffix or operands invalid for `movq'
> tmp-popcount.s:86:suffix or operands invalid for `movq'
> tmp-popcount.s:175:suffix or operands invalid for `movq'
> tmp-popcount.s:177:suffix or operands invalid for `movq'
> make[2]: *** [popcount.lo] Error 1
>
> here is the compiler data:
>
> gcc -v
> Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /var/tmp/gcc/gcc-5666.3~123/src/configure --disable-
> checking --enable-werror --prefix=/usr --mandir=/share/man --enable-
> languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
> $/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-
> prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-
> apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
>
> as -v
> Apple Inc version cctools-800~26, GNU assembler version 1.38
>
> Dmitrii

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.

Reply via email to