Commit e876481c by David Edelsohn Committed by David Edelsohn

rs6000.md (movti_power): Collapse case 1 and 2 together.

        * config/rs6000/rs6000.md (movti_power): Collapse case 1 and 2
        together.  Protect load string instruction with TARGET_STRING.
        (movti_string): Collapse case 1 and 2 together.

From-SVN: r71736
parent eb9ec0d4
2003-09-24 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.md (movti_power): Collapse case 1 and 2
together. Protect load string instruction with TARGET_STRING.
(movti_string): Collapse case 1 and 2 together.
2003-09-24 Nathan Sidwell <nathan@codesourcery.com> 2003-09-24 Nathan Sidwell <nathan@codesourcery.com>
* c-common.c (c_common_type_for_mode): Check for VOIDmode. * c-common.c (c_common_type_for_mode): Check for VOIDmode.
......
...@@ -8697,13 +8697,13 @@ ...@@ -8697,13 +8697,13 @@
if (TARGET_STRING) if (TARGET_STRING)
return \"{stsi|stswi} %1,%P0,16\"; return \"{stsi|stswi} %1,%P0,16\";
case 1: case 1:
return \"#\";
case 2: case 2:
return \"#\"; return \"#\";
case 3: case 3:
/* If the address is not used in the output, we can use lsi. Otherwise, /* If the address is not used in the output, we can use lsi. Otherwise,
fall through to generating four loads. */ fall through to generating four loads. */
if (! reg_overlap_mentioned_p (operands[0], operands[1])) if (TARGET_STRING
&& ! reg_overlap_mentioned_p (operands[0], operands[1]))
return \"{lsi|lswi} %0,%P1,16\"; return \"{lsi|lswi} %0,%P1,16\";
/* ... fall through ... */ /* ... fall through ... */
case 4: case 4:
...@@ -8727,7 +8727,6 @@ ...@@ -8727,7 +8727,6 @@
if (TARGET_STRING) if (TARGET_STRING)
return \"{stsi|stswi} %1,%P0,16\"; return \"{stsi|stswi} %1,%P0,16\";
case 1: case 1:
return \"#\";
case 2: case 2:
return \"#\"; return \"#\";
case 3: case 3:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment