]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/sparc/sparc.md (save_stack_nonlocal): Use adjust_address
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jul 2015 13:00:55 +0000 (13:00 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jul 2015 13:00:55 +0000 (13:00 +0000)
instead of adjust_address_nv.
(restore_stack_nonlocal): Likewise.
(nonlocal_goto): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225874 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sparc/sparc.md

index 764e8bc874eb0a0320607d5b8e4b4bb997a603ad..2b63dac2873ed1450a2841fbb26bc8389d324074 100644 (file)
@@ -1,3 +1,10 @@
+2015-07-16  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * 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  <tom@codesourcery.com>
 
        * tree-parloops.c (create_parallel_loop): Handle case that exit phi does
index a561877d72b0932505bc7baa2029e640d1957e44..9665ee6da9bdc73b2b9316f7ed4cb54a580c3c76 100644 (file)
    (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);
 })
 
        (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"
 {
   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.  */