This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/14] [x86_64] Vector math functions (vector cos)


On 06/09/2015 01:48 PM, Andrew Senkevich wrote:
2015-06-09 21:40 GMT+03:00 Martin Sebor <msebor@redhat.com>:
This patch breaks x86_64 builds with Binutils 2.24 (Fedora 21):

../sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Assembler
messages:
../sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S:281: Error:
operand type mismatch for `vandpd'
../sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S:327: Error:
operand type mismatch for `vxorpd'
/build/glibc-trunk/sysd-rules:1549: recipe for target
'/build/glibc-trunk/mathvec/svml_d_cos8_core_avx512.o' failed

(with other similar errors in other files).

The first instruction the assembler complains about is:

         vandpd 0(%rax), %zmm6, %zmm1

As from Binutils 2.25 accepts the code.

I have tested build with manually built Binutils 2.24 (downloaded from
ftp://sourceware.org/pub/binutils/snapshots/binutils-2.24.90.tar.bz2)
on x86_64 Fedora 19 with configure/make with no addition options.

How Binutils on your side was built and what is exact version?

Fedora 21's current Binutils is 2.24-30.fc21, a little older
than the snapshot you used.

Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]