summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/builtins-1.c
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-02 15:30:11 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-02 15:30:11 +0000
commit4bfcdefd22863ba835b0822f1d18831f3f36d334 (patch)
tree000bd5701d7196135d4a5c669a8b2d9290117bda /gcc/testsuite/gcc.dg/builtins-1.c
parent3fc94dcdae463868892da27360eb10eab1be2148 (diff)
downloadgcc-4bfcdefd22863ba835b0822f1d18831f3f36d334.tar.gz
SPU single-precision FP does not support subnormals:
* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: New file. SPU single-precision FP does not support Inf or Nan: * gcc.c-torture/execute/ieee/inf-1.c: Disable "float" Inf test on SPU. * gcc.c-torture/execute/ieee/compare-fp-1.x: New file. * gcc.c-torture/execute/ieee/compare-fp-4.x: Disable test on SPU. * gcc.c-torture/execute/ieee/fp-cmp-2.x: Disable test on SPU. * gcc.c-torture/execute/ieee/fp-cmp-4f.x: New file. * gcc.c-torture/execute/ieee/fp-cmp-8f.x: New file. * gcc.dg/pr15784-3.c: Disable test on SPU. * gcc.dg/pr28796-2.c: Likewise. * gcc.dg/float-range-1.c: Likewise. * gcc.dg/float-range-3.c: Likewise. * gcc.dg/float-range-4.c: Likewise. * gcc.dg/float-range-5.c: Likewise. * gcc.dg/fold-overflow-1.c: Likewise. * gcc.dg/builtins-1.c: SPU does not support __builtin_inff. * gcc.dg/builtin-inf-1.c: SPU does not support __builtin_inff. Check for error instead of warning "does not support infinity". * gcc.dg/builtins-43.c: Disable "float" Inf/Nan tests on SPU. * gcc.dg/builtins-44.c: Likewise. * gcc.dg/builtins-45.c: Likewise. * gcc.dg/torture/builtin-math-2.c: Likewise. * gcc.dg/torture/builtin-logb-1.c: Likewise. * gcc.dg/torture/builtin-modf-1.c: Likewise. * gcc.dg/torture/builtin-ldexp-1.c: Likewise. * gcc.dg/torture/builtin-frexp-1.c: Likewise. * gcc.dg/torture/type-generic-1.c: Disable test on SPU. * g++.dg/torture/type-generic-1.C: Likewise. SPU single-precision FP always rounds towards zero: * gcc.c-torture/execute/ieee/920518-1.x: New file. * gcc.c-torture/execute/ieee/20010114-2.x: New file. * gcc.c-torture/execute/ieee/20030331-1.x: New file. * gcc.dg/torture/fp-int-convert-float.c: Disable test on SPU. * gcc.dg/torture/fp-int-convert-timode.c: Disable "float" test on SPU. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137357 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/builtins-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/builtins-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/builtins-1.c b/gcc/testsuite/gcc.dg/builtins-1.c
index 573a879bd00..5dab9fe0a4e 100644
--- a/gcc/testsuite/gcc.dg/builtins-1.c
+++ b/gcc/testsuite/gcc.dg/builtins-1.c
@@ -144,7 +144,7 @@ FPTEST2ARG2_REENT (gamma, int *) /* gamma_r */
FPTEST0 (huge_val)
FPTEST2 (hypot)
FPTEST1 (ilogb)
-FPTEST0 (inf)
+FPTEST0 (inf) /* { dg-warning "target format does not support infinity" "inf" {target spu-*-*} } */
FPTEST1 (j0)
FPTEST1 (j1)
FPTEST2ARG1 (jn, int)