jump.c (jump_optimize_1): Use general_operand not register_operand to determine when...
authorRichard Henderson <rth@cygnus.com>
Fri, 1 Oct 1999 01:06:14 +0000 (18:06 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 1 Oct 1999 01:06:14 +0000 (18:06 -0700)
        * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
        not register_operand to determine when B may need preloading.

From-SVN: r29740

gcc/ChangeLog
gcc/jump.c

index 52e741deeca9991d1690b9a813cd85d6309aa64f..605e26cb816db50280d8049a0a700aa72fe971e9 100644 (file)
@@ -1,3 +1,8 @@
+Thu Sep 30 18:04:13 1999  Richard Henderson  <rth@cygnus.com>
+
+       * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
+       not register_operand to determine when B may need preloading.
+
 Thu Sep 30 17:39:16 1999  Richard Henderson  <rth@cygnus.com>
 
        * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
index 3d7a4b787f311b38796a3b74fbe2dd9601849029..377cfc966901a42214a7f01b2ce0a0334e1b0c9d 100644 (file)
@@ -1169,10 +1169,10 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan, mark_labels_only)
 
                start_sequence ();
 
-               /* If we're not dealing with a register or the insn is more
-                  complex than a simple SET, duplicate the computation and
-                  replace the destination with a new temporary.  */
-               if (register_operand (temp2, GET_MODE (var))
+               /* If we're not dealing with a simple operand or the insn is
+                  more complex than a simple SET, duplicate the computation
+                  and replace the destination with a new temporary.  */
+               if (general_operand (temp2, GET_MODE (var))
                    && GET_CODE (PATTERN (temp)) == SET)
                  bval = temp2;
                else