mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 09:40:54 +08:00
(arm_expand_builtin): Force second argument of the setcwx insn into a register.
From-SVN: r76787
This commit is contained in:
parent
234e0d3121
commit
1b8f817446
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* config/fp-bit.c (pack_d): When using paired doubles to implement
|
||||
|
@ -11266,7 +11266,7 @@ arm_expand_builtin (tree exp,
|
||||
arg0 = TREE_VALUE (arglist);
|
||||
arg1 = TREE_VALUE (TREE_CHAIN (arglist));
|
||||
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));
|
||||
return 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user