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]

Re: preprocessor: % as args to #defines


> Mea culpa.  It can be rearranged, hoisted, duplicated, eliminated,
> etc., but it can't actually be scheduled.

Well, it can't be scheduled with the C code, but it can be scheduled inside.
When you combine prefetching, loop unswitching, loop unrolling,
modulo scheduling, instruction selection, data layout, register allocation
and stack slot allocation into one holistic optimization, you can do much
better than the compiler.  Then you just leave the boring bits of
calculations needed for preconditioning the outermost asm-ized loop to
the C code.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]