OSDN Git Service

2002-05-20 H.J. Lu (hjl@gnu.org)
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 May 2002 22:43:31 +0000 (22:43 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 May 2002 22:43:31 +0000 (22:43 +0000)
Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:

* config/mips/mips.h (DFMODE_NAN): Defined.
(SFMODE_NAN): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53674 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/mips.h

index 542f442..e16fcac 100644 (file)
@@ -1,4 +1,12 @@
+2002-05-20  H.J. Lu  (hjl@gnu.org)
+
+       Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
+
+       * config/mips/mips.h (DFMODE_NAN): Defined.
+       (SFMODE_NAN): Likewise.
+
 2002-05-20  Dale Johannesen  <dalej@apple.com>
+
         * combine.c (cant_combine_insn_p):  Back out my
         previous patch.
 
index e18cf2f..0e65a98 100644 (file)
@@ -4690,3 +4690,10 @@ do                                                                       \
       }                                                                        \
   }                                                                    \
 while (0)
+
+#define DFMODE_NAN \
+       unsigned short DFbignan[4] = {0x7ff7, 0xffff, 0xffff, 0xffff}; \
+       unsigned short DFlittlenan[4] = {0xffff, 0xffff, 0xffff, 0xfff7}
+#define SFMODE_NAN \
+       unsigned short SFbignan[2] = {0x7fbf, 0xffff}; \
+       unsigned short SFlittlenan[2] = {0xffff, 0xffbf}