aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-01 21:49:33 +0000
committerRoland McGrath <roland@gnu.org>2002-11-01 21:49:33 +0000
commitbde40c2f9ac07a40135e845b84fd0e470a562f65 (patch)
treef3a7d52b8c1264e90f394c67eb2ef83ccbc625d6 /sysdeps
parent15deb6b3b4f3e1f65fe25acab1d0b4317bcb51a8 (diff)
downloadglibc-bde40c2f9ac07a40135e845b84fd0e470a562f65.tar
glibc-bde40c2f9ac07a40135e845b84fd0e470a562f65.tar.gz
glibc-bde40c2f9ac07a40135e845b84fd0e470a562f65.tar.bz2
glibc-bde40c2f9ac07a40135e845b84fd0e470a562f65.zip
* sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
New macros. * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST without defining FP_ROUNDMODE.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/soft-fp/sfp-machine.h2
-rw-r--r--sysdeps/x86_64/soft-fp/sfp-machine.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/i386/soft-fp/sfp-machine.h b/sysdeps/i386/soft-fp/sfp-machine.h
index 047452b905..ed71ae418a 100644
--- a/sysdeps/i386/soft-fp/sfp-machine.h
+++ b/sysdeps/i386/soft-fp/sfp-machine.h
@@ -50,8 +50,10 @@
#define _FP_NANFRAC_S _FP_QNANBIT_S
#define _FP_NANFRAC_D _FP_QNANBIT_D, 0
+#define _FP_NANFRAC_Q _FP_QNANBIT_Q, 0, 0, 0
#define _FP_NANSIGN_S 1
#define _FP_NANSIGN_D 1
+#define _FP_NANSIGN_Q 1
#define _FP_KEEPNANFRACP 1
/* Here is something Intel misdesigned: the specs don't define
diff --git a/sysdeps/x86_64/soft-fp/sfp-machine.h b/sysdeps/x86_64/soft-fp/sfp-machine.h
index 1cc4e24c68..77df02380c 100644
--- a/sysdeps/x86_64/soft-fp/sfp-machine.h
+++ b/sysdeps/x86_64/soft-fp/sfp-machine.h
@@ -11,8 +11,10 @@
#define _FP_NANFRAC_S _FP_QNANBIT_S
#define _FP_NANFRAC_D _FP_QNANBIT_D, 0
+#define _FP_NANFRAC_Q _FP_QNANBIT_Q, 0, 0, 0
#define _FP_NANSIGN_S 1
#define _FP_NANSIGN_D 1
+#define _FP_NANSIGN_Q 1
#define _FP_KEEPNANFRACP 1
/* Here is something Intel misdesigned: the specs don't define