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
This commit is contained in:
parent
0fb8241d37
commit
bf4563cbf1
3 changed files with 10 additions and 27 deletions
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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\";
|
||||
}")
|
||||
|
|
Loading…
Add table
Reference in a new issue