diff options
author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2016-05-25 17:18:04 +0200 |
---|---|---|
committer | Stefan Liebler <stli@linux.vnet.ibm.com> | 2016-05-25 17:18:04 +0200 |
commit | 9b7f05599a92dead97d6683bc838a57bc63ac52b (patch) | |
tree | 9baaecbc7d8af0806acdd590b52464f2469909ae /config.h.in | |
parent | c70e9913d2fc2d0bf6a3ca98a4dece759d40a4ec (diff) | |
download | glibc-9b7f05599a92dead97d6683bc838a57bc63ac52b.tar.gz |
S390: Configure check for vector support in gcc.
The S390 specific test checks if the gcc has support for vector registers
by compiling an inline assembly which clobbers vector registers.
On success the macro HAVE_S390_VX_GCC_SUPPORT is defined.
This macro can be used to determine if e.g. clobbering vector registers
is allowed or not.
ChangeLog:
* config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
* sysdeps/s390/configure.ac: Add test for S390 vector register
support in gcc.
* sysdeps/s390/configure: Regenerated.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 2c902b0214..b28b513284 100644 --- a/config.h.in +++ b/config.h.in @@ -73,6 +73,10 @@ /* Define if assembler supports vector instructions on S390. */ #undef HAVE_S390_VX_ASM_SUPPORT +/* Define if gcc supports vector registers as clobbers in inline assembly + on S390. */ +#undef HAVE_S390_VX_GCC_SUPPORT + /* Define if assembler supports Intel MPX. */ #undef HAVE_MPX_SUPPORT |