This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] fix AVX512F tests
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Petr Murzin <petrmurzin1 at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Date: Fri, 18 Jul 2014 16:20:09 +0200
- Subject: Re: [patch] fix AVX512F tests
- Authentication-results: sourceware.org; auth=none
- References: <CANDVG5hz6JyDTz+iDMxo7qVeG7zKv=o6Eo9SyMQjx5dHmKwG+A at mail dot gmail dot com>
On Fri, Jul 18, 2014 at 4:05 PM, Petr Murzin <petrmurzin1@gmail.com> wrote:
> I've fixed AVX512F tests. These tests failed on Android because they
> were using <values.h>, which seem to be obsolete and is not present in
> Android sysroot.
>
> Here is the quote from <values.h>
> /* This interface is obsolete. New programs should use
> <limits.h> and/or <float.h> instead of <values.h>. */
>
> So now tests run with Android compiler. Please have a look. Is it ok for trunk?
>
> 2014-07-18 Petr Murzin <petr.murzin@intel.com>
>
> * gcc.target/i386/avx512f-vfixupimmpd-2.c: Add float.h instead of
Include float.h ...
> values.h, change MAXDOUBLE for DBL_MAX.
> * gcc.target/i386/avx512f-vfixupimmsd-2.c: Ditto.
> * gcc.target/i386/avx512f-vfixupimmps-2.c: Add float.h instead of
Include float.h ...
> values.h, change MAXFLOAT for FLT_MAX.
> * gcc.target/i386/avx512f-vfixupimmss-2.c: Ditto.
> * gcc.target/i386/avx512f-vpermi2d-2.c: Exclude values.h.
Do not include ...
> * gcc.target/i386/avx512f-vpermi2pd-2.c: Ditto.
> * gcc.target/i386/avx512f-vpermi2ps-2.c: Ditto.
> * gcc.target/i386/avx512f-vpermi2q-2.c: Ditto.
> * gcc.target/i386/avx512f-vpermt2d-2.c: Ditto.
> * gcc.target/i386/avx512f-vpermt2pd-2.c: Ditto.
> * gcc.target/i386/avx512f-vpermt2ps-2.c: Ditto.
> * gcc.target/i386/avx512f-vpermt2q-2.c: Ditto.
OK with these changes.
Thanks,
Uros.