aboutsummaryrefslogtreecommitdiff
path: root/elf/multiload.c
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2016-04-04 13:20:26 +0200
committerStefan Liebler <stli@linux.vnet.ibm.com>2016-04-04 13:20:26 +0200
commit3058f7487e5b98f7af0219f77464294000c84bf0 (patch)
tree859d61fbba55c88c52f5f4f1e1d2e8bed00368d4 /elf/multiload.c
parent66cdb5b20df45c4eb28ab27ebcfb67ef023338e3 (diff)
downloadglibc-3058f7487e5b98f7af0219f77464294000c84bf0.zip
glibc-3058f7487e5b98f7af0219f77464294000c84bf0.tar.gz
glibc-3058f7487e5b98f7af0219f77464294000c84bf0.tar.bz2
S390: configure check for vector instruction support in assembler.
The S390 specific test checks if the assembler has support for the new z13 vector instructions by compiling a vector instruction. The .machine and .machinemode directives are needed to compile the vector instruction without -march=z13 option on 31/64 bit. On success the macro HAVE_S390_VX_ASM_SUPPORT is defined. This macro is used to determine if the optimized functions can be build without compile errors. If the used assembler lacks vector support, then a warning is dumped while configuring and only the common code functions are build. The z13 instruction support was introduced in "[Committed] S/390: Add support for IBM z13." (https://sourceware.org/ml/binutils/2015-01/msg00197.html) ChangeLog: * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine. * sysdeps/s390/configure.ac: Add test for S390 vector instruction assembler support. * sysdeps/s390/configure: Regenerated. (cherry picked from commit 4f0a1cea34c05fb2acc16f1a2d291f53230eb4fb)
Diffstat (limited to 'elf/multiload.c')
0 files changed, 0 insertions, 0 deletions