Commit 0dd7c0b8 by Alan Lawrence Committed by Alan Lawrence

[AArch64] Remove divisions-to-produce-NaN from vdiv_f.c

	* gcc.target/aarch64/vdiv_f.c: Use __builtin_nan.

From-SVN: r229080
parent 704228bd
2015-10-20 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vdiv_f.c: Use __builtin_nan.
2015-10-20 Richard Biener <rguenther@suse.de>
PR tree-optimization/68017
......
......@@ -7,7 +7,7 @@
#define FLT_INFINITY (__builtin_inff ())
#define DBL_INFINITY (__builtin_inf ())
#define NAN (0.0 / 0.0)
#define NAN (__builtin_nan (""))
#define PI 3.141592653589793
#define PI_4 0.7853981633974483
......@@ -228,9 +228,7 @@ test_vdiv_f64 ()
return 0;
}
/* The following assembly should match 2 more times,
in 64bit NAN generation. */
/* { dg-final { scan-assembler-times "fdiv\\td\[0-9\]+, d\[0-9\]+, d\[0-9\]+" 3 } } */
/* { dg-final { scan-assembler-times "fdiv\\td\[0-9\]+, d\[0-9\]+, d\[0-9\]+" 1 } } */
#undef TESTA8
#undef ANSW8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment