diff options
author | Clinton Popetz <cpopetz@cygnus.com> | 2000-03-07 19:29:51 +0000 |
---|---|---|
committer | Clinton Popetz <cpopetz@gcc.gnu.org> | 2000-03-07 14:29:51 -0500 |
commit | 32fdad6ead851e217c7b7991f78eaa3172b24de8 (patch) | |
tree | b2cee08f0337b3013c0a96a270c1a300eba01157 /gcc | |
parent | 518f173d3dae1afb8c0f02b07166a229f96517b7 (diff) | |
download | gcc-32fdad6ead851e217c7b7991f78eaa3172b24de8.zip gcc-32fdad6ead851e217c7b7991f78eaa3172b24de8.tar.gz gcc-32fdad6ead851e217c7b7991f78eaa3172b24de8.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b560ca..d0ab646 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 67b38de..c50f62a 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) |