aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-02-01 19:10:45 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1997-02-01 19:10:45 -0500
commit0cb7cfedce465edfecb1777302e7fff431d91c95 (patch)
treec1172677bcb316419422bb1820733369ae587463
parent853f1cc30f75cccb85d3f9b9536ca3968f3cbcb7 (diff)
downloadgcc-0cb7cfedce465edfecb1777302e7fff431d91c95.zip
gcc-0cb7cfedce465edfecb1777302e7fff431d91c95.tar.gz
gcc-0cb7cfedce465edfecb1777302e7fff431d91c95.tar.bz2
(output_move_simode_const): Enable use of clr and st insns on TARGET_5200.
From-SVN: r13575
-rw-r--r--gcc/config/m68k/m68k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 029e89c..21e16d3 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -1372,7 +1372,7 @@ output_move_simode_const (operands)
|| GET_CODE (operands[0]) == MEM)
/* clr insns on 68000 read before writing.
This isn't so on the 68010, but we have no TARGET_68010. */
- && (TARGET_68020
+ && ((TARGET_68020 || TARGET_5200)
|| !(GET_CODE (operands[0]) == MEM
&& MEM_VOLATILE_P (operands[0]))))
return "clr%.l %0";