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: discouraging register use


>   How about spiking REGISTER_MOVE_COST and MEMORY_MOVE_COST so that
> gcc is severely discouraged from ever moving anything into the
> expensive registers in the first place?

I've got REGISTER_MOVE_COST setting moves to/from that class to
COSTS_N_INSNS(50).  I've tried (1000) but it doesn't help.

MEMORY_MOVE_COST doesn't count because, as far as gcc knows, they're
registers.


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