[PATCH] i386: Add c99 runtime requirement to math optimisation tests
Wed Aug 26 23:14:59 GMT 2020
On Tue, 2020-08-18 at 18:18 -0400, Pat Bernardi wrote:
> A number of i386 math optimisation tests are looking assembly instructions
> that are only emitted when the compiler knows the target has a C99 libm
> available. Since targets like *-elf may not have such a libm, a C99 runtime
> requirement is added to these tests.
> Tested on x86-elf and x86_64-elf hosted on x86_64-linux in addition to x86_64-pc-linux-gnu
> If approved, I'll need a maintainer to kindly commit on my behalf.
> Pat Bernardi
> Senior Software Engineer, AdaCore
> 2020-08-18 Pat Bernardi <email@example.com>
> * gcc.target/i386/387-7.c: Add dg-require-effective-target c99_runtime.
> * gcc.target/i386/387-9.c: Likewise.
> * gcc.target/i386/avx512bw-pr96246-1.c: Likewise.
> * gcc.target/i386/avx512f-rint-sfix-vec-2.c: Likewise.
> * gcc.target/i386/avx512f-rintf-sfix-vec-2.c: Likewise.
> * gcc.target/i386/avx512vl-pr96246-1.c: Likewise.
> * gcc.target/i386/pr61403.c: Likewise.
> * gcc.target/i386/sse4_1-ceil-sfix-vec.c: Likewise.
> * gcc.target/i386/sse4_1-ceilf-sfix-vec.c: Likewise.
> * gcc.target/i386/sse4_1-floor-sfix-vec.c: Likewise.
> * gcc.target/i386/sse4_1-floorf-sfix-vec.c: Likewise.
> * gcc.target/i386/sse4_1-rint-sfix-vec.c: Likewise.
> * gcc.target/i386/sse4_1-rintf-sfix-vec.c: Likewise.
> * gcc.target/i386/sse4_1-round-sfix-vec.c: Likewise.
> * gcc.target/i386/sse4_1-roundf-sfix-vec.c: Likewise.
THanks. THe pr96246 tests moved into g++.target and needed to be applied by
hand. I took care of that and committed the change.
More information about the Gcc-patches