vfp.md (*thumb2_movdf_vfp): Require one of the operands to be a register.

2012-09-17  Ruben Buchatskiy  <ruben@ispras.ru>

        * config/arm/vfp.md (*thumb2_movdf_vfp): Require one of the operands
        to be a register.

From-SVN: r191375
This commit is contained in:
Ruben Buchatskiy 2012-09-17 07:37:10 +00:00 committed by Andrey Belevantsev
parent 5dbeb128d9
commit de7c74be49
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-09-17 Ruben Buchatskiy <ruben@ispras.ru>
* config/arm/vfp.md (*thumb2_movdf_vfp): Require one of the operands
to be a register.
2012-09-16 Richard Sandiford <rdsandiford@googlemail.com>
* calls.c (expand_call): Use emit_group_move for PARALLEL->PARALLEL

View File

@ -471,7 +471,9 @@
(define_insn "*thumb2_movdf_vfp"
[(set (match_operand:DF 0 "nonimmediate_soft_df_operand" "=w,?r,w ,w ,Uv,r ,m,w,r")
(match_operand:DF 1 "soft_df_operand" " ?r,w,Dy,UvF,w, mF,r, w,r"))]
"TARGET_THUMB2 && TARGET_HARD_FLOAT && TARGET_VFP"
"TARGET_THUMB2 && TARGET_HARD_FLOAT && TARGET_VFP
&& ( register_operand (operands[0], DFmode)
|| register_operand (operands[1], DFmode))"
"*
{
switch (which_alternative)