summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/predicates.md1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8d8c120700a..e0f50f937c4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-01 Yao Qi <yao@codesourcery.com>
+
+ * config/arm/predicates.md ("vfp_register_operand"): Return true for
+ VFP_D0_D7_REGS classes.
+
2010-12-01 Joseph Myers <joseph@codesourcery.com>
* common.opt (flag_stack_check): New Variable entry.
diff --git a/gcc/config/arm/predicates.md b/gcc/config/arm/predicates.md
index 54f4861a008..e4c61460611 100644
--- a/gcc/config/arm/predicates.md
+++ b/gcc/config/arm/predicates.md
@@ -83,6 +83,7 @@
to be a register operand. */
return (GET_CODE (op) == REG
&& (REGNO (op) >= FIRST_PSEUDO_REGISTER
+ || REGNO_REG_CLASS (REGNO (op)) == VFP_D0_D7_REGS
|| REGNO_REG_CLASS (REGNO (op)) == VFP_LO_REGS
|| (TARGET_VFPD32
&& REGNO_REG_CLASS (REGNO (op)) == VFP_REGS)));