diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-12 23:24:49 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-12 23:24:49 +0000 |
commit | 8f6873400655dff6924ee0215f73174f2183231f (patch) | |
tree | a4459861fa9875cdaf31855a407a355d3c33e063 /libgcc/config | |
parent | 6814efd06c7c3682c6e00dc04a2dad97fe6eb253 (diff) | |
download | gcc-8f6873400655dff6924ee0215f73174f2183231f.tar.gz |
gcc/testsuite:
* gcc.dg/torture/float128-mul-underflow.c,
gcc.dg/torture/float128-truncdf-underflow.c,
gcc.dg/torture/float128-truncsf-underflow.c: New tests.
libgcc:
* soft-fp/adddf3.c: Update from glibc.
* soft-fp/addsf3.c: Likewise.
* soft-fp/addtf3.c: Likewise.
* soft-fp/divdf3.c: Likewise.
* soft-fp/divsf3.c: Likewise.
* soft-fp/divtf3.c: Likewise.
* soft-fp/double.h: Likewise.
* soft-fp/eqdf2.c: Likewise.
* soft-fp/eqsf2.c: Likewise.
* soft-fp/eqtf2.c: Likewise.
* soft-fp/extenddftf2.c: Likewise.
* soft-fp/extended.h: Likewise.
* soft-fp/extendsfdf2.c: Likewise.
* soft-fp/extendsftf2.c: Likewise.
* soft-fp/extendxftf2.c: Likewise.
* soft-fp/fixdfdi.c: Likewise.
* soft-fp/fixdfsi.c: Likewise.
* soft-fp/fixdfti.c: Likewise.
* soft-fp/fixsfdi.c: Likewise.
* soft-fp/fixsfsi.c: Likewise.
* soft-fp/fixsfti.c: Likewise.
* soft-fp/fixtfdi.c: Likewise.
* soft-fp/fixtfsi.c: Likewise.
* soft-fp/fixtfti.c: Likewise.
* soft-fp/fixunsdfdi.c: Likewise.
* soft-fp/fixunsdfsi.c: Likewise.
* soft-fp/fixunsdfti.c: Likewise.
* soft-fp/fixunssfdi.c: Likewise.
* soft-fp/fixunssfsi.c: Likewise.
* soft-fp/fixunssfti.c: Likewise.
* soft-fp/fixunstfdi.c: Likewise.
* soft-fp/fixunstfsi.c: Likewise.
* soft-fp/fixunstfti.c: Likewise.
* soft-fp/floatdidf.c: Likewise.
* soft-fp/floatdisf.c: Likewise.
* soft-fp/floatditf.c: Likewise.
* soft-fp/floatsidf.c: Likewise.
* soft-fp/floatsisf.c: Likewise.
* soft-fp/floatsitf.c: Likewise.
* soft-fp/floattidf.c: Likewise.
* soft-fp/floattisf.c: Likewise.
* soft-fp/floattitf.c: Likewise.
* soft-fp/floatundidf.c: Likewise.
* soft-fp/floatundisf.c: Likewise.
* soft-fp/floatunditf.c: Likewise.
* soft-fp/floatunsidf.c: Likewise.
* soft-fp/floatunsisf.c: Likewise.
* soft-fp/floatunsitf.c: Likewise.
* soft-fp/floatuntidf.c: Likewise.
* soft-fp/floatuntisf.c: Likewise.
* soft-fp/floatuntitf.c: Likewise.
* soft-fp/gedf2.c: Likewise.
* soft-fp/gesf2.c: Likewise.
* soft-fp/getf2.c: Likewise.
* soft-fp/ledf2.c: Likewise.
* soft-fp/lesf2.c: Likewise.
* soft-fp/letf2.c: Likewise.
* soft-fp/muldf3.c: Likewise.
* soft-fp/mulsf3.c: Likewise.
* soft-fp/multf3.c: Likewise.
* soft-fp/negdf2.c: Likewise.
* soft-fp/negsf2.c: Likewise.
* soft-fp/negtf2.c: Likewise.
* soft-fp/op-1.h: Likewise.
* soft-fp/op-2.h: Likewise.
* soft-fp/op-4.h: Likewise.
* soft-fp/op-8.h: Likewise.
* soft-fp/op-common.h: Likewise.
* soft-fp/quad.h: Likewise.
* soft-fp/single.h: Likewise.
* soft-fp/soft-fp.h: Likewise.
* soft-fp/subdf3.c: Likewise.
* soft-fp/subsf3.c: Likewise.
* soft-fp/subtf3.c: Likewise.
* soft-fp/truncdfsf2.c: Likewise.
* soft-fp/trunctfdf2.c: Likewise.
* soft-fp/trunctfsf2.c: Likewise.
* soft-fp/trunctfxf2.c: Likewise.
* soft-fp/unorddf2.c: Likewise.
* soft-fp/unordsf2.c: Likewise.
* soft-fp/unordtf2.c: Likewise.
* config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
macro.
* config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
* config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207742 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config')
-rw-r--r-- | libgcc/config/aarch64/sfp-machine.h | 2 | ||||
-rw-r--r-- | libgcc/config/arm/sfp-machine.h | 2 | ||||
-rw-r--r-- | libgcc/config/c6x/sfp-machine.h | 3 | ||||
-rw-r--r-- | libgcc/config/cris/sfp-machine.h | 3 | ||||
-rw-r--r-- | libgcc/config/i386/sfp-machine.h | 2 | ||||
-rw-r--r-- | libgcc/config/ia64/sfp-machine.h | 2 | ||||
-rw-r--r-- | libgcc/config/lm32/sfp-machine.h | 3 | ||||
-rw-r--r-- | libgcc/config/mips/sfp-machine.h | 2 | ||||
-rw-r--r-- | libgcc/config/moxie/sfp-machine.h | 3 | ||||
-rw-r--r-- | libgcc/config/nds32/sfp-machine.h | 3 | ||||
-rw-r--r-- | libgcc/config/nios2/sfp-machine.h | 3 | ||||
-rw-r--r-- | libgcc/config/rs6000/sfp-machine.h | 2 | ||||
-rw-r--r-- | libgcc/config/score/sfp-machine.h | 3 | ||||
-rw-r--r-- | libgcc/config/tilegx/sfp-machine32.h | 2 | ||||
-rw-r--r-- | libgcc/config/tilegx/sfp-machine64.h | 2 | ||||
-rw-r--r-- | libgcc/config/tilepro/sfp-machine.h | 2 |
16 files changed, 39 insertions, 0 deletions
diff --git a/libgcc/config/aarch64/sfp-machine.h b/libgcc/config/aarch64/sfp-machine.h index ddb67fb1c2b..203e478db48 100644 --- a/libgcc/config/aarch64/sfp-machine.h +++ b/libgcc/config/aarch64/sfp-machine.h @@ -80,6 +80,8 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); (FP_EX_INVALID | FP_EX_DIVZERO | FP_EX_OVERFLOW | FP_EX_UNDERFLOW \ | FP_EX_INEXACT) +#define _FP_TININESS_AFTER_ROUNDING 0 + void __sfp_handle_exceptions (int); #define FP_HANDLE_EXCEPTIONS \ diff --git a/libgcc/config/arm/sfp-machine.h b/libgcc/config/arm/sfp-machine.h index bb34895ebf4..03236173361 100644 --- a/libgcc/config/arm/sfp-machine.h +++ b/libgcc/config/arm/sfp-machine.h @@ -48,6 +48,8 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); R##_c = FP_CLS_NAN; \ } while (0) +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/c6x/sfp-machine.h b/libgcc/config/c6x/sfp-machine.h index 3abc2a39c8e..9b7a02e9fec 100644 --- a/libgcc/config/c6x/sfp-machine.h +++ b/libgcc/config/c6x/sfp-machine.h @@ -78,6 +78,9 @@ # define __BYTE_ORDER __LITTLE_ENDIAN #endif +/* Not checked. */ +#define _FP_TININESS_AFTER_ROUNDING 0 + /* Define ALIASNAME as a strong alias for NAME. */ # define strong_alias(name, aliasname) _strong_alias(name, aliasname) diff --git a/libgcc/config/cris/sfp-machine.h b/libgcc/config/cris/sfp-machine.h index ed3596f9243..abef282e047 100644 --- a/libgcc/config/cris/sfp-machine.h +++ b/libgcc/config/cris/sfp-machine.h @@ -67,6 +67,9 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); R##_c = FP_CLS_NAN; \ } while (0) +/* Not checked. */ +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/i386/sfp-machine.h b/libgcc/config/i386/sfp-machine.h index 4587b132d44..148044a6920 100644 --- a/libgcc/config/i386/sfp-machine.h +++ b/libgcc/config/i386/sfp-machine.h @@ -65,6 +65,8 @@ void __sfp_handle_exceptions (int); #define FP_ROUNDMODE (_fcw & FP_RND_MASK) #endif +#define _FP_TININESS_AFTER_ROUNDING 1 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/ia64/sfp-machine.h b/libgcc/config/ia64/sfp-machine.h index e06bc9a4b57..0769fc67c75 100644 --- a/libgcc/config/ia64/sfp-machine.h +++ b/libgcc/config/ia64/sfp-machine.h @@ -57,6 +57,8 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); #define FP_EX_UNDERFLOW 0x10 #define FP_EX_INEXACT 0x20 +#define _FP_TININESS_AFTER_ROUNDING 1 + void __sfp_handle_exceptions (int); #define FP_HANDLE_EXCEPTIONS \ diff --git a/libgcc/config/lm32/sfp-machine.h b/libgcc/config/lm32/sfp-machine.h index 6dc15ba2d0b..f3f2e9adbd5 100644 --- a/libgcc/config/lm32/sfp-machine.h +++ b/libgcc/config/lm32/sfp-machine.h @@ -41,6 +41,9 @@ R##_c = FP_CLS_NAN; \ } while (0) +/* Not checked. */ +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/mips/sfp-machine.h b/libgcc/config/mips/sfp-machine.h index 808570ec9f7..e9d33b7dcb1 100644 --- a/libgcc/config/mips/sfp-machine.h +++ b/libgcc/config/mips/sfp-machine.h @@ -163,6 +163,8 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); #define FP_EX_INEXACT (1 << 0) #endif +#define _FP_TININESS_AFTER_ROUNDING 1 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/moxie/sfp-machine.h b/libgcc/config/moxie/sfp-machine.h index 139d3ea4866..6394de30b77 100644 --- a/libgcc/config/moxie/sfp-machine.h +++ b/libgcc/config/moxie/sfp-machine.h @@ -46,6 +46,9 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); R##_c = FP_CLS_NAN; \ } while (0) +/* Not checked. */ +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/nds32/sfp-machine.h b/libgcc/config/nds32/sfp-machine.h index 68272590240..aeda774f86d 100644 --- a/libgcc/config/nds32/sfp-machine.h +++ b/libgcc/config/nds32/sfp-machine.h @@ -76,6 +76,9 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); R##_c = FP_CLS_NAN; \ } while (0) +/* Not checked. */ +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/nios2/sfp-machine.h b/libgcc/config/nios2/sfp-machine.h index 39885e39a0f..9e7c60b3cfc 100644 --- a/libgcc/config/nios2/sfp-machine.h +++ b/libgcc/config/nios2/sfp-machine.h @@ -63,6 +63,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see R##_c = FP_CLS_NAN; \ } while (0) +/* Not checked. */ +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/rs6000/sfp-machine.h b/libgcc/config/rs6000/sfp-machine.h index 58c8721bcfc..40436337ffb 100644 --- a/libgcc/config/rs6000/sfp-machine.h +++ b/libgcc/config/rs6000/sfp-machine.h @@ -46,6 +46,8 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); R##_c = FP_CLS_NAN; \ } while (0) +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/score/sfp-machine.h b/libgcc/config/score/sfp-machine.h index 139d3ea4866..6394de30b77 100644 --- a/libgcc/config/score/sfp-machine.h +++ b/libgcc/config/score/sfp-machine.h @@ -46,6 +46,9 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); R##_c = FP_CLS_NAN; \ } while (0) +/* Not checked. */ +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/tilegx/sfp-machine32.h b/libgcc/config/tilegx/sfp-machine32.h index 31a203252fc..1fefb5a41ce 100644 --- a/libgcc/config/tilegx/sfp-machine32.h +++ b/libgcc/config/tilegx/sfp-machine32.h @@ -50,6 +50,8 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); R##_c = FP_CLS_NAN; \ } while (0) +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/tilegx/sfp-machine64.h b/libgcc/config/tilegx/sfp-machine64.h index 7cf352e63f5..3e2bd41e6a9 100644 --- a/libgcc/config/tilegx/sfp-machine64.h +++ b/libgcc/config/tilegx/sfp-machine64.h @@ -50,6 +50,8 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); R##_c = FP_CLS_NAN; \ } while (0) +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 diff --git a/libgcc/config/tilepro/sfp-machine.h b/libgcc/config/tilepro/sfp-machine.h index a921533e144..6953d8d8db7 100644 --- a/libgcc/config/tilepro/sfp-machine.h +++ b/libgcc/config/tilepro/sfp-machine.h @@ -45,6 +45,8 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); R##_c = FP_CLS_NAN; \ } while (0) +#define _FP_TININESS_AFTER_ROUNDING 0 + #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 |