summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcpopetz <cpopetz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-07 19:29:51 +0000
committercpopetz <cpopetz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-07 19:29:51 +0000
commite82c951ea45aa7266c74d065f672e090c6af643c (patch)
treeb2cee08f0337b3013c0a96a270c1a300eba01157
parent5f2cbff577fd6cec10a810b78c9b9bb6a7a14ae4 (diff)
downloadgcc-e82c951ea45aa7266c74d065f672e090c6af643c.tar.gz
* config/mips/mips.md (zero_extendsidi2): Always force operand
one to memory for mips16. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32386 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.md2
2 files changed, 6 insertions, 1 deletions
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 <cpopetz@cygnus.com>
+
+ * config/mips/mips.md (zero_extendsidi2): Always force operand
+ one to memory for mips16.
+
Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* 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)