aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunther Nikl <gni@gecko.de>2003-08-20 22:15:57 +0000
committerBernardo Innocenti <bernie@gcc.gnu.org>2003-08-21 00:15:57 +0200
commitbf4563cbf170034779fe9a493eb0c752372fc6f7 (patch)
tree34a2358230bde8362a5a5e9557b8b4915534e4a7
parent0fb8241d3758aeb61a9fabce99fb888dbbe7afd8 (diff)
downloadgcc-bf4563cbf170034779fe9a493eb0c752372fc6f7.zip
gcc-bf4563cbf170034779fe9a493eb0c752372fc6f7.tar.gz
gcc-bf4563cbf170034779fe9a493eb0c752372fc6f7.tar.bz2
m68k.md (anonymous define_insn): remove obsolete code selected by FSGLMUL_USE_S and FSGLDIV_USE_S
* 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
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/config/m68k/m68k.c6
-rw-r--r--gcc/config/m68k/m68k.md21
3 files changed, 10 insertions, 27 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0438374..a93e264 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,15 @@
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,
output_move_himode): unify MOTOROLA/MIT handling of moveq
* config/m68k/m68k.md (movsi_const0, anonymous define_insn):
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 79f3752..40166e3 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -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)
diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md
index bc22ec1..703a895 100644
--- a/gcc/config/m68k/m68k.md
+++ b/gcc/config/m68k/m68k.md
@@ -199,12 +199,7 @@
""
"*
{
-#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. */
@@ -3018,17 +3013,10 @@
"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\");
@@ -3126,17 +3114,10 @@
"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\");
@@ -6997,7 +6978,6 @@
""
"*
{
-#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,
@@ -7026,7 +7006,6 @@
#endif /* SGS_SWITCH_TABLES */
#endif /* SGS_SWITCH_TABLES or not MOTOROLA */
}
-#endif /* SGS_NO_LI */
return \"lea %a1,%0\";
}")