This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] fix AVX512F tests


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.


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