Re: Controlling Register Allocation - GCC 4.1.1

2007-01-19 Thread Ian Lance Taylor
Ian Lance Taylor <[EMAIL PROTECTED]> writes: > > I have done the following: > > 1. Defined them in FIXED_REGISTERS, CALL_USED_REGISTERS. > > 2. Ordered them using REG_ALLOC_ORDER. > > 3. Created a separate class in enum reg_class (FLOAT). > > 4. Assigned a specific character to identify the partic

Re: Controlling Register Allocation - GCC 4.1.1

2007-01-19 Thread Ian Lance Taylor
"Rohit Arul Raj" <[EMAIL PROTECTED]> writes: > I am having some problem while allocating floating point registers in GCC > 4.1.1. > As of now my target does not have floating point registers. To support > floating point operations, i added 8 floating point registers that i > want the gcc to allo

Controlling Register Allocation - GCC 4.1.1

2007-01-19 Thread Rohit Arul Raj
Hi all, I am having some problem while allocating floating point registers in GCC 4.1.1. As of now my target does not have floating point registers. To support floating point operations, i added 8 floating point registers that i want the gcc to allocate only when the mode is MODE_FLOAT. I have