This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/3] sparc: build with -mvis on sparc32/sparcv9 and sparc64


From: Aurelien Jarno <aurelien@aurel32.net>
Date: Thu,  4 Aug 2016 03:08:58 +0200

> 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.

All three patches look great, please commit them and thanks for doing
this work.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]