]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000.c (rs6000_initialize_trampoline): Function descriptor members are pointer...
authorDavid Edelsohn <edelsohn@gnu.org>
Sat, 25 Aug 2001 02:26:44 +0000 (02:26 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sat, 25 Aug 2001 02:26:44 +0000 (22:26 -0400)
        * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
        descriptor members are pointer size, not constant 4.
        * config/rs6000/rs6000.md (define_splits): Remove more unused
        constraints.

From-SVN: r45168

gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md

index c49b0d33ded484360f01254891c9202378f95f90..07285d34914876c09d80047b22fcea66ef4101ef 100644 (file)
@@ -1,3 +1,10 @@
+2001-08-24  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Function
+       descriptor members are pointer size, not constant 4.
+       * config/rs6000/rs6000.md (define_splits): Remove more unused
+       constraints.
+
 2001-08-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * sparc.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
index 4bfb6738a1e3de545d93da86e71e3b04b491aeee..705eaa1f4d804b5e22f008f867e9f1fc6691b5c1 100644 (file)
@@ -8039,7 +8039,7 @@ rs6000_initialize_trampoline (addr, fnaddr, cxt)
        rtx fn_reg = gen_reg_rtx (pmode);
        rtx toc_reg = gen_reg_rtx (pmode);
        emit_move_insn (fn_reg, MEM_DEREF (fnaddr));
-       emit_move_insn (toc_reg, MEM_PLUS (fnaddr, 4));
+       emit_move_insn (toc_reg, MEM_PLUS (fnaddr, regsize));
        emit_move_insn (MEM_DEREF (addr), fn_reg);
        emit_move_insn (MEM_PLUS (addr, regsize), toc_reg);
        emit_move_insn (MEM_PLUS (addr, 2*regsize), ctx_reg);
index 1011c9e83c695dfc59e55597fa680d275bc1fe8b..03690abf263ce20ba6461709c55853cbb21ce4c1 100644 (file)
   [(set (match_operand:CC 2 "cc_reg_not_cr0_operand" "")
        (compare:CC (not:SI (match_operand:SI 1 "gpc_reg_operand" ""))
                    (const_int 0)))
-   (set (match_operand:SI 0 "gpc_reg_operand" "=r")
+   (set (match_operand:SI 0 "gpc_reg_operand" "")
        (not:SI (match_dup 1)))]
   "! TARGET_POWERPC64 && reload_completed"
   [(set (match_dup 0)
   [(set_attr "length" "12")])
 
 (define_split
-  [(set (match_operand:SI 0 "gpc_reg_operand" "=&r,r")
-       (abs:SI (match_operand:SI 1 "gpc_reg_operand" "r,0")))
-   (clobber (match_scratch:SI 2 "=&r,&r"))]
+  [(set (match_operand:SI 0 "gpc_reg_operand" "")
+       (abs:SI (match_operand:SI 1 "gpc_reg_operand" "")))
+   (clobber (match_scratch:SI 2 ""))]
   "! TARGET_POWER && reload_completed"
   [(set (match_dup 2) (ashiftrt:SI (match_dup 1) (const_int 31)))
    (set (match_dup 0) (xor:SI (match_dup 2) (match_dup 1)))