diff options
author | Dale Johannesen <dalej@apple.com> | 2003-01-28 19:25:49 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@gcc.gnu.org> | 2003-01-28 19:25:49 +0000 |
commit | fe352c2900b2bfc9af52a1f761063a6bb974acdb (patch) | |
tree | 6d82077d573f3479764a7ac71bd2fcff5afe6198 /gcc/loop.c | |
parent | 00d29f7d01fddd0d60af388b73bbb68b4e662e23 (diff) | |
download | gcc-fe352c2900b2bfc9af52a1f761063a6bb974acdb.zip gcc-fe352c2900b2bfc9af52a1f761063a6bb974acdb.tar.gz gcc-fe352c2900b2bfc9af52a1f761063a6bb974acdb.tar.bz2 |
emit-rtl.c (const_double_htab_hash): Use mode in the hash.
2003-01-28 Dale Johannesen <dalej@apple.com>
* emit-rtl.c (const_double_htab_hash): Use mode in the hash.
* loop.c (scan_loop): Move movables on -Os rich-register targets.
* config/rs6000/rs6000.md (sibcall*): Use match_operand for LR.
From-SVN: r62004
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1108,10 +1108,12 @@ scan_loop (loop, flags) /* Now consider each movable insn to decide whether it is worth moving. Store 0 in regs->array[I].set_in_loop for each reg I that is moved. - Generally this increases code size, so do not move moveables when - optimizing for code size. */ + For machines with few registers this increases code size, so do not + move moveables when optimizing for code size on such machines. + (The 18 below is the value for i386.) */ - if (! optimize_size) + if (!optimize_size + || (reg_class_size[GENERAL_REGS] > 18 && !loop_info->has_call)) { move_movables (loop, movables, threshold, insn_count); |