mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
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.
This commit is contained in:
parent
d4cf133100
commit
9c8addbc1c
@ -1,3 +1,9 @@
|
||||
2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
|
||||
|
||||
* sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
|
||||
* sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
|
||||
-Wa,-Av9a -mvis.
|
||||
|
||||
2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
|
||||
|
||||
* math/gen-libm-test.pl (apply_lit): Rewrite to apply
|
||||
|
@ -1,4 +1,4 @@
|
||||
sysdep-CFLAGS += -mcpu=ultrasparc -Wa,-Av9a
|
||||
sysdep-CFLAGS += -mcpu=ultrasparc -Wa,-Av9a -mvis
|
||||
|
||||
ifeq ($(have-as-vis3),yes)
|
||||
ASFLAGS-.o += -Wa,-Av9d
|
||||
|
@ -1,3 +1,5 @@
|
||||
sysdep-CFLAGS += -Wa,-Av9a -mvis
|
||||
|
||||
ifeq ($(subdir),string)
|
||||
sysdep_routines += align-cpy
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user