[arm] Fix vfp_operand_register for VFP HI regs
While looking at PR target/94743 I noticed an ICE when I tried to save all the FP registers: this was because all HI registers wouldn't match vfp_register_operand. gcc/ChangeLog: * config/arm/predicates.md (vfp_register_operand): Use VFP_HI_REGS instead of VFP_REGS.
This commit is contained in:
parent
291f65f15a
commit
635408da1e
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@
|
|||
|| 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)));
|
||||
&& REGNO_REG_CLASS (REGNO (op)) == VFP_HI_REGS)));
|
||||
})
|
||||
|
||||
(define_predicate "vfp_hard_register_operand"
|
||||
|
|
Loading…
Add table
Reference in a new issue