]> gcc.gnu.org Git - gcc.git/commitdiff
m68k.md (anonymous define_insn): remove obsolete code selected by FSGLMUL_USE_S and...
authorGunther Nikl <gni@gecko.de>
Wed, 20 Aug 2003 22:15:57 +0000 (22:15 +0000)
committerBernardo Innocenti <bernie@gcc.gnu.org>
Wed, 20 Aug 2003 22:15:57 +0000 (00:15 +0200)
* config/m68k/m68k.md (anonymous define_insn): remove obsolete code
selected by FSGLMUL_USE_S and FSGLDIV_USE_S
* config/m68k/m68k.c (output_move_himode): remove SGS_NO_LI check
* config/m68k/m68k.md (anonymous define_insn): Likewise
* config/m68k/m68k.md (anonymous define_insn): remove ISI_OV check
* config/m68k/m68k.c (standard_68881_constant_p): remove obsolete
code selected by NO_ASM_FMOVECR

From-SVN: r70622

gcc/ChangeLog
gcc/config/m68k/m68k.c
gcc/config/m68k/m68k.md

index 0438374b5a3ccfc1cb4ab5349df68d8e596a937d..a93e264a6dc2bd01527feef91e8a55cbe90f8aa0 100644 (file)
@@ -1,3 +1,13 @@
+2003-08-20  Gunther Nikl  <gni@gecko.de>
+
+       * config/m68k/m68k.md (anonymous define_insn): remove obsolete code
+       selected by FSGLMUL_USE_S and FSGLDIV_USE_S
+       * config/m68k/m68k.c (output_move_himode): remove SGS_NO_LI check
+       * config/m68k/m68k.md (anonymous define_insn): Likewise
+       * config/m68k/m68k.md (anonymous define_insn): remove ISI_OV check
+       * config/m68k/m68k.c (standard_68881_constant_p): remove obsolete
+       code selected by NO_ASM_FMOVECR
+
 2003-08-20  Gunther Nikl  <gni@gecko.de>
 
        * config/m68k/m68k.c (output_move_const_into_data_reg,
index 79f375274532e165ad7213e7d12cff6491cde7c4..40166e3e3494b20bccb3a607ea11a2e1afecdd55 100644 (file)
@@ -1705,7 +1705,6 @@ output_move_himode (operands)
     }
   else if (CONSTANT_P (operands[1]))
     return "move%.l %1,%0";
-#ifndef SGS_NO_LI
   /* Recognize the insn before a tablejump, one that refers
      to a table of offsets.  Such an insn will need to refer
      to a label on the insn.  So output one.  Use the label-number
@@ -1736,7 +1735,6 @@ output_move_himode (operands)
 #endif /* SGS_SWITCH_TABLES */
 #endif /* SGS_SWITCH_TABLES or not MOTOROLA */
     }
-#endif /* SGS_NO_LI */
   return "move%.w %1,%0";
 }
 
@@ -2513,10 +2511,6 @@ standard_68881_constant_p (x)
   REAL_VALUE_TYPE r;
   int i;
 
-#ifdef NO_ASM_FMOVECR
-  return 0;
-#endif
-
   /* fmovecr must be emulated on the 68040 and 68060, so it shouldn't be
      used at all on those chips.  */
   if (TARGET_68040 || TARGET_68060)
index bc22ec1d0b0fc8502615e8472b9f33014a6ec0c9..703a8954aa93ba3c105315690abd31079c62adc2 100644 (file)
   ""
   "*
 {
-#ifdef ISI_OV
-  /* ISI's assembler fails to handle tstl a0.  */
-  if (! ADDRESS_REG_P (operands[0]))
-#else
   if (TARGET_68020 || TARGET_5200 || ! ADDRESS_REG_P (operands[0]))
-#endif
     return \"tst%.l %0\";
   /* If you think that the 68020 does not support tstl a0,
      reread page B-167 of the 68020 manual more carefully.  */
   "TARGET_68881"
   "*
 {
-#ifdef FSGLMUL_USE_S
-  if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
-    return (TARGET_68040_ONLY
-           ? \"fsmul%.s %2,%0\"
-           : \"fsglmul%.s %2,%0\");
-#else
   if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
     return (TARGET_68040_ONLY
            ? \"fsmul%.x %2,%0\"
            : \"fsglmul%.x %2,%0\");
-#endif
   return (TARGET_68040_ONLY
          ? \"fsmul%.s %f2,%0\"
          : \"fsglmul%.s %f2,%0\");
   "TARGET_68881"
   "*
 {
-#ifdef FSGLDIV_USE_S
-  if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
-    return (TARGET_68040_ONLY
-           ? \"fsdiv%.s %2,%0\"
-           : \"fsgldiv%.s %2,%0\");
-#else
   if (REG_P (operands[2]) && ! DATA_REG_P (operands[2]))
     return (TARGET_68040_ONLY
            ? \"fsdiv%.x %2,%0\"
            : \"fsgldiv%.x %2,%0\");
-#endif
   return (TARGET_68040_ONLY
          ? \"fsdiv%.s %f2,%0\"
          : \"fsgldiv%.s %f2,%0\");
   ""
   "*
 {
-#ifndef SGS_NO_LI
   /* Recognize an insn that refers to a table of offsets.  Such an insn will
      need to refer to a label on the insn.  So output one.  Use the
      label-number of the table of offsets to generate this label.  This code,
 #endif /* SGS_SWITCH_TABLES */
 #endif /* SGS_SWITCH_TABLES or not MOTOROLA */
     }
-#endif /* SGS_NO_LI */
 
   return \"lea %a1,%0\";
 }")
This page took 0.085073 seconds and 5 git commands to generate.