Commit f444f304 by Richard Kenner

(alpha_emit_set_const): Don't call expand_binop for other than add if

SImode and can't create pseudos.

From-SVN: r9815
parent 6382ae03
...@@ -728,9 +728,12 @@ alpha_emit_set_const (target, mode, c, n) ...@@ -728,9 +728,12 @@ alpha_emit_set_const (target, mode, c, n)
} }
/* If we couldn't do it that way, try some other methods. But if we have /* If we couldn't do it that way, try some other methods. But if we have
no instructions left, don't bother. */ no instructions left, don't bother. Likewise, if this is SImode and
we can't make pseudos, we can't do anything since the expand_binop
and expand_unop calls will widen and try to make pseudos. */
if (n == 1) if (n == 1
|| (mode == SImode && ! rtx_equal_function_value_matters))
return 0; return 0;
#if HOST_BITS_PER_WIDE_INT == 64 #if HOST_BITS_PER_WIDE_INT == 64
......
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