From ce967e936bd0e47a1941a52f1adf98bd76700070 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 16 Jul 2015 13:00:55 +0000 Subject: [PATCH] sparc.md (save_stack_nonlocal): Use adjust_address instead of adjust_address_nv. * config/sparc/sparc.md (save_stack_nonlocal): Use adjust_address instead of adjust_address_nv. (restore_stack_nonlocal): Likewise. (nonlocal_goto): Likewise. From-SVN: r225874 --- gcc/ChangeLog | 7 +++++++ gcc/config/sparc/sparc.md | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 764e8bc874e..2b63dac2873 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-07-16 Eric Botcazou + + * config/sparc/sparc.md (save_stack_nonlocal): Use adjust_address + instead of adjust_address_nv. + (restore_stack_nonlocal): Likewise. + (nonlocal_goto): Likewise. + 2015-07-16 Tom de Vries * tree-parloops.c (create_parallel_loop): Handle case that exit phi does diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index a561877d72b..9665ee6da9b 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -6704,8 +6704,8 @@ (set (match_dup 2) (match_dup 3))] "" { - operands[0] = adjust_address_nv (operands[0], Pmode, 0); - operands[2] = adjust_address_nv (operands[0], Pmode, GET_MODE_SIZE (Pmode)); + operands[0] = adjust_address (operands[0], Pmode, 0); + operands[2] = adjust_address (operands[0], Pmode, GET_MODE_SIZE (Pmode)); operands[3] = gen_rtx_REG (Pmode, RETURN_ADDR_REGNUM); }) @@ -6714,7 +6714,7 @@ (match_operand 1 "memory_operand" ""))] "" { - operands[1] = adjust_address_nv (operands[1], Pmode, 0); + operands[1] = adjust_address (operands[1], Pmode, 0); }) (define_expand "nonlocal_goto" @@ -6726,9 +6726,9 @@ { rtx i7 = gen_rtx_REG (Pmode, RETURN_ADDR_REGNUM); rtx r_label = copy_to_reg (operands[1]); - rtx r_sp = adjust_address_nv (operands[2], Pmode, 0); + rtx r_sp = adjust_address (operands[2], Pmode, 0); rtx r_fp = operands[3]; - rtx r_i7 = adjust_address_nv (operands[2], Pmode, GET_MODE_SIZE (Pmode)); + rtx r_i7 = adjust_address (operands[2], Pmode, GET_MODE_SIZE (Pmode)); /* We need to flush all the register windows so that their contents will be re-synchronized by the restore insn of the target function. */ -- 2.30.2