On 29 October 2014 16:28, Ramana Radhakrishnan <ramana....@googlemail.com> wrote: > On Wed, Oct 29, 2014 at 3:26 PM, Christophe Lyon > <christophe.l...@linaro.org> wrote: >> 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? >> > > If you really want to do it , do it in neon-testgen.ml and do it for > the whole lot. >
I thought it wasn't used anymore. At -O2 I have many more failures :-( (vdup, vget_lane, vget_low, vmov, vset_lane) And -O1 doesn't do the trick either... Christophe. > regards > Ramana >> Christophe. >> >> 2014-10-29 Christophe Lyon <christophe.l...@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.