Commit 1b8f8174 by Nick Clifton Committed by Nick Clifton

(arm_expand_builtin): Force second argument of the setcwx insn into a register.

From-SVN: r76787
parent 234e0d31
2004-01-28 Nick Clifton <nickc@redhat.com>
* config/arm/arm.c (arm_expand_builtin): Force second argument of
the setcwx insn into a register.
2004-01-28 Richard Sandiford <rsandifo@redhat.com> 2004-01-28 Richard Sandiford <rsandifo@redhat.com>
* config/fp-bit.c (pack_d): When using paired doubles to implement * config/fp-bit.c (pack_d): When using paired doubles to implement
......
...@@ -11266,7 +11266,7 @@ arm_expand_builtin (tree exp, ...@@ -11266,7 +11266,7 @@ arm_expand_builtin (tree exp,
arg0 = TREE_VALUE (arglist); arg0 = TREE_VALUE (arglist);
arg1 = TREE_VALUE (TREE_CHAIN (arglist)); arg1 = TREE_VALUE (TREE_CHAIN (arglist));
op0 = expand_expr (arg0, NULL_RTX, VOIDmode, 0); op0 = expand_expr (arg0, NULL_RTX, VOIDmode, 0);
op1 = expand_expr (arg1, NULL_RTX, VOIDmode, 0); op1 = force_reg (SImode, expand_expr (arg1, NULL_RTX, VOIDmode, 0));
emit_insn (gen_iwmmxt_tmcr (op0, op1)); emit_insn (gen_iwmmxt_tmcr (op0, op1));
return 0; return 0;
......
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