This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Dale Johannesen wrote:
Well, no, what is supposed to happen (I haven't tried it for a while, so I don't promise
this still works) is code like this:
.hotsection: loop: conditional branch (i?==1000) to L2 L1: /* do stuff */ end loop:
/* still in hot section */ L2: jmp L3
.coldsection: L3: i = 0; jmp L1
Well, even then, using of the cold section can increase the hot section size, depending on target, and for some
targets the maximum supported distance of the cold section.
Should I do custom basic block reordering in machine_dependent_reorg to clean up
the turds of hot and cold partitioning?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |