SPU single-precision FP does not support subnormals:
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 2 Jul 2008 15:30:11 +0000 (15:30 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 2 Jul 2008 15:30:11 +0000 (15:30 +0000)
commit8f9ddf6acff067428b2312626c50caf9956978b1
tree000bd5701d7196135d4a5c669a8b2d9290117bda
parent04f2b606255665f14665146c28f6236d6f932dab
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.

From-SVN: r137357
32 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/type-generic-1.C
gcc/testsuite/gcc.c-torture/execute/ieee/20010114-2.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/ieee/20030331-1.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/ieee/920518-1.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/ieee/compare-fp-1.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/ieee/compare-fp-4.x
gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-2.x
gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-4f.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-8f.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/ieee/inf-1.c
gcc/testsuite/gcc.c-torture/execute/ieee/mul-subnormal-single-1.x
gcc/testsuite/gcc.dg/builtin-inf-1.c
gcc/testsuite/gcc.dg/builtins-1.c
gcc/testsuite/gcc.dg/builtins-43.c
gcc/testsuite/gcc.dg/builtins-44.c
gcc/testsuite/gcc.dg/builtins-45.c
gcc/testsuite/gcc.dg/float-range-1.c
gcc/testsuite/gcc.dg/float-range-3.c
gcc/testsuite/gcc.dg/float-range-4.c
gcc/testsuite/gcc.dg/float-range-5.c
gcc/testsuite/gcc.dg/fold-overflow-1.c
gcc/testsuite/gcc.dg/pr15784-3.c
gcc/testsuite/gcc.dg/pr28796-2.c
gcc/testsuite/gcc.dg/torture/builtin-frexp-1.c
gcc/testsuite/gcc.dg/torture/builtin-ldexp-1.c
gcc/testsuite/gcc.dg/torture/builtin-logb-1.c
gcc/testsuite/gcc.dg/torture/builtin-math-2.c
gcc/testsuite/gcc.dg/torture/builtin-modf-1.c
gcc/testsuite/gcc.dg/torture/fp-int-convert-float.c
gcc/testsuite/gcc.dg/torture/fp-int-convert-timode.c
gcc/testsuite/gcc.dg/torture/type-generic-1.c