diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-30 19:35:17 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-30 19:35:17 +0000 |
commit | b627bae76fb5094a5bf6fb70376081ae3d7566bf (patch) | |
tree | 935edce515bf5aaa1706595857265e30bbcf42c7 /gcc/unroll.c | |
parent | e22e4ce5742d700cf4cb75c208a9bed3adab27b8 (diff) | |
download | ppe42-gcc-b627bae76fb5094a5bf6fb70376081ae3d7566bf.tar.gz ppe42-gcc-b627bae76fb5094a5bf6fb70376081ae3d7566bf.zip |
* reload.c (push_reload): Handle subregs and secondary memory.
* reload1.c (gen_reload): Likewise.
* jump.c (reg_or_subregno): New function.
* rtl.h (reg_or_subregno): Declare
* unroll.c (find_splittable_givs): Handle subregs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57663 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r-- | gcc/unroll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c index 126b586808d..a1b02873043 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -2822,7 +2822,7 @@ find_splittable_givs (loop, bl, unroll_type, increment, unroll_number) value = tem; } - splittable_regs[REGNO (v->new_reg)] = value; + splittable_regs[reg_or_subregno (v->new_reg)] = value; } else continue; @@ -2856,7 +2856,7 @@ find_splittable_givs (loop, bl, unroll_type, increment, unroll_number) if (! v->ignore) count = REG_IV_CLASS (ivs, REGNO (v->src_reg))->biv_count; - splittable_regs_updates[REGNO (v->new_reg)] = count; + splittable_regs_updates[reg_or_subregno (v->new_reg)] = count; } result++; |