diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2016-08-05 22:35:01 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2016-08-05 22:35:01 +0200 |
commit | 9c8addbc1cd414711310c5a47693f5b0f0b9be3a (patch) | |
tree | d3d5472469ed40365cc6f9c8ceb99d82043af6a8 /posix/init-posix.c | |
parent | d4cf1331007743c21e4f03603add48a107a6857d (diff) | |
download | glibc-9c8addbc1cd414711310c5a47693f5b0f0b9be3a.zip glibc-9c8addbc1cd414711310c5a47693f5b0f0b9be3a.tar.gz glibc-9c8addbc1cd414711310c5a47693f5b0f0b9be3a.tar.bz2 |
sparc: build with -mvis on sparc32/sparcv9 and sparc64
When building for sparc32/sparcv9 or sparc64, we assume that VIS
instructions are available and use them in the sparc specific assembly
code. However we do not tell GCC to use such instructions, resulting in
slightly suboptimal code.
Fix that by passing -Wa,-Av9a -mvis to GCC.
Changelog:
* sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
* sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
-Wa,-Av9a -mvis.
Diffstat (limited to 'posix/init-posix.c')
0 files changed, 0 insertions, 0 deletions