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]

[testsuite,ARM] PR61153 Fix vbic and vorn tests


Hi,

In PR61153, the vbic and vorn tests fail because when compiled at -O0
the expected Neon instructions are not generated, making
scan-assembler fail.

This patch:
- replaces -O0 by -O2
- moves the declaration of local variables used as intrinsics
parameters and results to global declarations, to prevent the compiler
from optimizing the whole test away.

OK?

Christophe.

2014-10-29  Christophe Lyon  <christophe.lyon@linaro.org>

    PR target/61153
    * gcc.target/arm/neon/vbicQs16.c: Compile at O2 and move variables
    declarations from local to global.
    * gcc.target/arm/neon/vbicQs16.c: Likewise.
    * gcc.target/arm/neon/vbicQs32.c: Likewise.
    * gcc.target/arm/neon/vbicQs64.c: Likewise.
    * gcc.target/arm/neon/vbicQs8.c: Likewise.
    * gcc.target/arm/neon/vbicQu16.c: Likewise.
    * gcc.target/arm/neon/vbicQu32.c: Likewise.
    * gcc.target/arm/neon/vbicQu64.c: Likewise.
    * gcc.target/arm/neon/vbicQu8.c: Likewise.
    * gcc.target/arm/neon/vbics16.c: Likewise.
    * gcc.target/arm/neon/vbics32.c: Likewise.
    * gcc.target/arm/neon/vbics64.c: Likewise.
    * gcc.target/arm/neon/vbics8.c: Likewise.
    * gcc.target/arm/neon/vbicu16.c: Likewise.
    * gcc.target/arm/neon/vbicu32.c: Likewise.
    * gcc.target/arm/neon/vbicu64.c: Likewise.
    * gcc.target/arm/neon/vbicu8.c: Likewise.
    * gcc.target/arm/neon/vornQs16.c: Likewise.
    * gcc.target/arm/neon/vornQs32.c: Likewise.
    * gcc.target/arm/neon/vornQs64.c: Likewise.
    * gcc.target/arm/neon/vornQs8.c: Likewise.
    * gcc.target/arm/neon/vornQu16.c: Likewise.
    * gcc.target/arm/neon/vornQu32.c: Likewise.
    * gcc.target/arm/neon/vornQu64.c: Likewise.
    * gcc.target/arm/neon/vornQu8.c: Likewise.
    * gcc.target/arm/neon/vorns16.c: Likewise.
    * gcc.target/arm/neon/vorns32.c: Likewise.
    * gcc.target/arm/neon/vorns64.c: Likewise.
    * gcc.target/arm/neon/vorns8.c: Likewise.
    * gcc.target/arm/neon/vornu16.c: Likewise.
    * gcc.target/arm/neon/vornu32.c: Likewise.
    * gcc.target/arm/neon/vornu64.c: Likewise.
    * gcc.target/arm/neon/vornu8.c: Likewise.

Attachment: testsuite-pr61153-vbic-vorn.patch.txt
Description: Text document


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