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]

How to "disable" register allocation?


Is there an option(compile/build time?) to tell GCC to use as few
registers as possible?

Basically I want to run some tests where the assumption is that stack
slots generate faster/smaller code than registers.

Any pointers to where I should look in the GCC source, would be greatly
appreciated.

-- 
Øyvind Harboe
http://www.zylin.com


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