2002-06-12 Eric Christopher <echristo@redhat.com>
authorEric Christopher <echristo@redhat.com>
Wed, 12 Jun 2002 23:26:44 +0000 (23:26 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Wed, 12 Jun 2002 23:26:44 +0000 (23:26 +0000)
From Chris Demetriou  <cgd@broadcom.com>
* config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix
comment.
(ISA_HAS_MADD_MSUB): Ditto.
(ISA_HAS_NMADD_NMSUB): Ditto.

From-SVN: r54569

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

index 4e7a821397b615a416941ad0d803dc5edeb12454..79dd06e583e21593094c87ccb7d30cefc2f87c31 100644 (file)
@@ -1,3 +1,11 @@
+2002-06-12  Eric Christopher  <echristo@redhat.com>
+
+       From Chris Demetriou  <cgd@broadcom.com>
+       * config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix
+       comment.
+       (ISA_HAS_MADD_MSUB): Ditto.
+       (ISA_HAS_NMADD_NMSUB): Ditto.
+
 2002-06-12  Eric Christopher  <echristo@redhat.com>
 
        * config.gcc: Consolidate little endian handling and
index b68840f5e1b8e57325fbc1393b68dabaee38dd35..7778361e8597046c8a48ed2ad6099fc497c8ed0d 100644 (file)
@@ -751,22 +751,24 @@ extern void               sbss_section PARAMS ((void));
                                 || ISA_MIPS64)
 
 /* This is a catch all for the other new mips4 instructions: indexed load and
-   indexed prefetch instructions, the FP madd,msub,nmadd, and nmsub instructions,
-   and the FP recip and recip sqrt instructions */
-#define ISA_HAS_FP4             (ISA_MIPS4                             \
+   indexed prefetch instructions, the FP madd,msub,nmadd, and nmsub
+   instructions, and the FP recip and recip sqrt instructions */
+#define ISA_HAS_FP4             ((ISA_MIPS4                            \
+                                 || ISA_MIPS64)                        \
                                 && !TARGET_MIPS16)
 
 /* ISA has conditional trap instructions.  */
 #define ISA_HAS_COND_TRAP      (!ISA_MIPS1                             \
                                 && !TARGET_MIPS16)
 
-/* ISA has multiply-accumulate instructions, madd and msub.  */
+/* ISA has integer multiply-accumulate instructions, madd and msub.  */
 #define ISA_HAS_MADD_MSUB       ((ISA_MIPS32                           \
                                  || ISA_MIPS64                         \
                                  ) && !TARGET_MIPS16)
 
-/* ISA has nmadd and nmsub instructions.  */
-#define ISA_HAS_NMADD_NMSUB    (ISA_MIPS4                              \
+/* ISA has floating-point nmadd and nmsub instructions.  */
+#define ISA_HAS_NMADD_NMSUB    ((ISA_MIPS4                             \
+                                 || ISA_MIPS64)                        \
                                 && ! TARGET_MIPS16)
 
 /* ISA has count leading zeroes/ones instruction (not implemented).  */