summaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-25 17:16:05 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-25 17:16:05 +0000
commitc2dd480c6e7ed67f059ce40eb4261dcef7adeb85 (patch)
treeb46e96592bf395fa91f05d24ec5af255cf645ee1 /gcc/reg-stack.c
parent41b920d6bb305be3cc368ef837e0d9f0dc79f508 (diff)
downloadgcc-c2dd480c6e7ed67f059ce40eb4261dcef7adeb85.tar.gz
* config/i386/i386.h (FP_REG_P): Remove macro.
(FP_REGNO_P): Ditto. (HARD_REGNO_NREGS): Use STACK_REGNO_P instead of FP_REGNO_P. (HARD_REGNO_NREGS_HAS_PADDING): Ditto. (ANY_FP_REGNO_P): Ditto. (HARD_REGNO_RENAME_OK): Use STACK_REGNO_P. * config/i386/i386.c (output_387_ffreep): Use STACK_REGNO_P instead of FP_REGNO_P. (ix86_hard_regno_mode_ok): Ditto. * config/i386/predicates.md (fp_register_operand): Ditto. (register_and_not_fp_reg_operand): Ditto. * config/i386/sync.md (atomic_loaddi_fpu): Use STACK_REG_P instead of FP_REG_P. * reg-stack.c (get_true_reg): Use STACK_REG_P instead of FP_REG_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r--gcc/reg-stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index dc7550a1cee..797586567cd 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -413,7 +413,7 @@ get_true_reg (rtx *pat)
actual FP register in use. */
{
rtx subreg;
- if (FP_REG_P (subreg = SUBREG_REG (*pat)))
+ if (STACK_REG_P (subreg = SUBREG_REG (*pat)))
{
int regno_off = subreg_regno_offset (REGNO (subreg),
GET_MODE (subreg),