On 02/07/14 08:59, Christophe Lyon wrote:
Hi,
It seems some of the scan-assembler directives fail:
http://cbuild.validation.linaro.org/build/cross-validation/gcc/trunk/212196/aarch64-none-elf/diff-gcc-rh50-aarch64-none-elf-default-default-default.txt
Hi Christophe
Yes, turns out removing the printf at the end lets gcc fold away parts
of the test.
It's just a testism, will send a patch out soon.
Thanks,
Kyrill
Christophe.
On 1 July 2014 14:13, Marcus Shawcroft <marcus.shawcr...@gmail.com> wrote:
On 23 June 2014 15:30, Kyrill Tkachov <kyrylo.tkac...@arm.com> wrote:
Hi all,
This patch implements some absolute compare intrinsics in arm_neon.h.
Execution tests are added.
Tested aarch64-none-elf, aarch64_be-none-elf, bootstrapped on aarch64 linux
+/* { dg-do run } */
+/* { dg-options "-save-temps -O3" } */
+
+#include "arm_neon.h"
+#include <stdio.h>
+
Drop the dependence on stdio.h please.
+ fprintf (stderr, "Expected: %ld, got %ld\n", expected, actual);
No need to print the expected value, abort( i alone is fine. Dropping
the printf will make the #include above go away.
Ok with those changes.
/Marcus