From 9b7f05599a92dead97d6683bc838a57bc63ac52b Mon Sep 17 00:00:00 2001 From: Stefan Liebler Date: Wed, 25 May 2016 17:18:04 +0200 Subject: 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. --- config.h.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index 2c902b0..b28b513 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 -- cgit v1.1