On 6 June 2014 22:15, Christophe Lyon <christophe.l...@linaro.org> wrote: > On 6 June 2014 17:57, Ramana Radhakrishnan <ramana.radhakrish...@arm.com> > wrote: >> On 06/06/14 15:40, Christophe Lyon wrote: >>> >>> On 6 June 2014 01:32, Joseph S. Myers <jos...@codesourcery.com> wrote: >>>> >>>> Have these been tested for both big and little endian (especially for >>>> tests where memory layout matters - load / store / lane number tests - >>>> remembering that GNU C vector initializers always use array ordering, >>>> which is not the same as the architecture-defined lane numbering for big >>>> endian)? >>>> >>> >>> I did run the tests on armeb-none-linux-gnueabihf (with qemu), and in >>> addition to the FAILs I already mentionned I can see errors in the >>> vzip and vuzp tests. >>> At this stage I don't know if it's a bug in my tests or a compiler bug. >> >> >> Didn't Alan recently fix a bug for big-endian in vzip / vuzp ? >> >> PR target/61062 >> >> Ramana >> > Maybe, but this hasn't been committed yet, so I didn't test with this fix. > > Christophe.
After running my tests on an updated tree, here is what I have noted: - I need to adjust vadd's target in scan-assembler directives: arm*-*-* instead of arm*-*-* otherwise the tests are not executed for targets such as arm-none-eabi. - vzip/vuzp tests now PASS after Alan's fix. I have run the following targets: arm-none-linux-gnueabihf arm-none-linux-gnueabi arm-none-eabi armeb-none-linux-gnueabihf armeb-none-linux-gnueabi aarch64-none-elf aarch64_be-none-elf aarch64-none-linux-gnu All the arm* configs have the same 1164 PASS / 18 FAIL - vadd's scan-assembler for vadd.i64 (as already discussed) - vclz tests currently fail at optimization levels starting with -O1 - vqadd test fails when compiled with -Os For aarch64, aarch64-none-elf and aarch64-none-linux-gnu have hopefully the same results (1152 PASS, 30 FAIL, 2 UNRESOLVED): - vadd's scan-assembler FAIL when optimizing: vadd of vectors of 1 64-bits element, and use of fadd for vectors of FP values. These tests pass at -O0 - vqadd and vqsub -Og -g: ICE In addtion, for aarch64_be (1108 PASS, 74 FAIL, 6 UNRESOLVED): - vldX, vldX_lane, vzip and vuzp: ICE at any optim level (incl -O0) Christophe.