From 32fdad6ead851e217c7b7991f78eaa3172b24de8 Mon Sep 17 00:00:00 2001 From: Clinton Popetz Date: Tue, 7 Mar 2000 19:29:51 +0000 Subject: [PATCH] mips.md (zero_extendsidi2): Always force operand one to memory for mips16. * config/mips/mips.md (zero_extendsidi2): Always force operand one to memory for mips16. From-SVN: r32386 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b560ca479c..d0ab6462bf5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-03-07 Clinton Popetz + + * config/mips/mips.md (zero_extendsidi2): Always force operand + one to memory for mips16. + Mon Mar 6 15:22:29 2000 Richard Kenner * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts. diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 67b38de66e8..c50f62a7960 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -3615,7 +3615,7 @@ move\\t%0,%z4\\n\\ "TARGET_64BIT" " { - if (optimize && GET_CODE (operands[1]) == MEM) + if ((optimize || TARGET_MIPS16) && GET_CODE (operands[1]) == MEM) operands[1] = force_not_mem (operands[1]); if (GET_CODE (operands[1]) != MEM)