This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/20139] New: Upper part of zmm is zeroed if Glibc built with --disable-multi-arch and AS not supporting AVX512
- From: "andrew.n.senkevich at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 24 May 2016 17:32:12 +0000
- Subject: [Bug dynamic-link/20139] New: Upper part of zmm is zeroed if Glibc built with --disable-multi-arch and AS not supporting AVX512
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20139
Bug ID: 20139
Summary: Upper part of zmm is zeroed if Glibc built with
--disable-multi-arch and AS not supporting AVX512
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: andrew.n.senkevich at gmail dot com
Target Milestone: ---
cat lib-test.c
#include <immintrin.h>
int test(__m512d x)
{
return (int)x[4];
}
gcc -mavx512f -BPATH_TO_binutils-2.25_install/bin/ -fPIC -shared lib-test.c -o
libtest-zmm.so
cat zmm0-test.c
#include <immintrin.h>
extern int test(__m512d x);
int main()
{
__m512d x = {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0};
return (test(x));
}
gcc -mavx512f -BPATH_TO_binutils-2.25_install/bin/ -L. -ltest-zmm zmm0-test.c
-o zmm0-test
glibc_as_2.25/lib/ld-linux-x86-64.so.2 --library-path ./ ./zmm0-test
echo $?
5
glibc_as_2.23/lib/ld-linux-x86-64.so.2 --library-path ./ ./zmm0-test
echo $?
0
Both glibc_as_2.23/ and glibc_as_2.25/ are installation paths for Glibc trunk
built with --disable-multi-arch and Binutils 2.23 / 2.25 accordingly.
--
You are receiving this mail because:
You are on the CC list for the bug.