This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/14] [x86_64] Vector math functions (vector cos)
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Tue, 09 Jun 2015 17:35:43 -0300
- Subject: Re: [PATCH 1/14] [x86_64] Vector math functions (vector cos)
- Authentication-results: sourceware.org; auth=none
- References: <CAMXFM3t+v7zYEmvWQxV9aRmJB6Ag2hQgQ56cZJTDy=siRBszDw at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1504301541120 dot 23221 at digraph dot polyomino dot org dot uk> <CAMXFM3sVJ6vkEF7RqrrHczJSdF_-gr9Xog-zFcG3rjhOqgqjDw at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505151616460 dot 21212 at digraph dot polyomino dot org dot uk> <CAMXFM3tfZKDJtjhJ1d=LQ=WALJBBx5ABJXoS5ycBORii78FkEg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505181711240 dot 20209 at digraph dot polyomino dot org dot uk> <CAMXFM3vG=5KVLuG4HJ6StDp13YcpeRLqPkd=3BJhGt1mu5AWPA at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505201529070 dot 23246 at digraph dot polyomino dot org dot uk> <CAMXFM3u57e==ySd8TF7+qFwmrswcT1jqzcN-n_JDPF45+77Z0g at mail dot gmail dot com> <CAMXFM3uuDy3f2hb3Xg+MNmseqjmBFqUF1euRF_g5XW+wo7JSSQ at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1505221523570 dot 16611 at digraph dot polyomino dot org dot uk> <CAMXFM3sXNLR3_HPpkUBp_9Ue=-RYZYoidbCwP23Cp9HX_X+t5A at mail dot gmail dot com> <55773335 dot 7000001 at redhat dot com> <CAMXFM3s6Ut_qKEo3t-LDdJXXcFcnpTZZdPT8pjy4n-CedrK5Xw at mail dot gmail dot com> <55774778 dot 9020607 at redhat dot com>
On 09-06-2015 17:07, Martin Sebor wrote:
> 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
>
Ubuntu 14.04.2 one shows the same issue (and based on source contents I'd say
it is based on 2.24 release plus some backports).