* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: Add tic6x-*-*
case.
* gcc.c-torture/execute/ieee/
20000320-1.x: Likewise.
* gcc.c-torture/execute/ieee/hugeval.x: Likewise.
* gcc.c-torture/execute/ieee/mzero2.c: Comment out the divide tests for
C67X.
* gcc.c-torture/execute/ieee/pr29302.x: New file.
* gcc.dg/torture/type-generic-1.c: Add -DUNSAFE for tic6x-*-*.
* gcc.dg/torture/builtin-math-7.c: Add a comment.
From-SVN: r176353
+2011-07-16 Bernd Schmidt <bernds@codesourcery.com>
+
+ * gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: Add tic6x-*-*
+ case.
+ * gcc.c-torture/execute/ieee/20000320-1.x: Likewise.
+ * gcc.c-torture/execute/ieee/hugeval.x: Likewise.
+ * gcc.c-torture/execute/ieee/mzero2.c: Comment out the divide tests for
+ C67X.
+ * gcc.c-torture/execute/ieee/pr29302.x: New file.
+ * gcc.dg/torture/type-generic-1.c: Add -DUNSAFE for tic6x-*-*.
+ * gcc.dg/torture/builtin-math-7.c: Add a comment.
+
2011-07-15 Jason Merrill <jason@redhat.com>
PR testsuite/49741
# AVR doubles are floats
return 1
}
+if { [istarget "tic6x-*-*"] && [check_effective_target_ti_c67x] } {
+ # C6X floating point hardware turns denormals to zero in FP conversions.
+ set torture_execute_xfail "tic6x-*-*"
+ return 1
+}
return 0
}
}
+if { [istarget "tic6x-*-*"] && [check_effective_target_ti_c67x] } {
+ # C6X uses -freciprocal-math by default.
+ set torture_execute_xfail "$target_triplet"
+ return 1
+}
+
return 0
# support subnormals.
return 1
}
+if { [istarget "tic6x-*-*"] && [check_effective_target_ti_c67x] } {
+ # C6X floating point hardware turns denormals to zero in multiplications.
+ set torture_execute_xfail "tic6x-*-*"
+ return 1
+}
return 0
expect (+1.00 * nzero, nzero);
expect (-1.00 * nzero, pzero);
+#ifndef _TMS320C6700
+ /* C6X floating point division is implemented using reciprocals. */
expect (pzero / pzero, nan);
expect (pzero / nzero, nan);
expect (nzero / pzero, nan);
expect (-1.00 / pzero, ninf);
expect (+1.00 / nzero, ninf);
expect (-1.00 / nzero, pinf);
+#endif
exit (0);
}
--- /dev/null
+if { [istarget "tic6x-*-*"] && [check_effective_target_ti_c67x] } {
+ # C6X uses -freciprocal-math by default.
+ set torture_execute_xfail "tic6x-*-*"
+ return 1
+}
+return 0
+if { [istarget "tic6x-*-*"] && [check_effective_target_ti_c67x] } {
+ # C6X uses -freciprocal-math by default.
+ set torture_execute_xfail "tic6x-*-*"
+ return 1
+}
+return 0
Origin: Kaveh R. Ghazi, August 13, 2009. */
/* { dg-do run } */
+/* C6X fails due to -freciprocal-math default. */
/* { dg-skip-if "" { tic6x-*-* } "*" "" } */
/* { dg-add-options ieee } */
/* { dg-require-effective-target large_double } */
/* { dg-do run } */
/* { dg-skip-if "No Inf/NaN support" { spu-*-* } } */
+/* { dg-options "-DUNSAFE" { target tic6x*-*-* } } */
/* { dg-add-options ieee } */
#include "../tg-tests.h"