This is the mail archive of the gcc-patches@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: Fix s390 ada bootstrap failure


On Mon, 21 Apr 2003, Jan Hubicka wrote:

> Hi,
> s390 defines general regs to use frame pointer.  Frame pointer is
> special register and HARD_REGNO_MODE_OK returns 0 for everything except
> for Pmode.  This confuses reload's find_valid_class when called for
> non-Pmode as it requires each individual register in the class to accept
> the mode.  THis patch relaxes the condtional for non-fixed registers
> only as others won't be used for reloading anyway.
> 
> Bootstrapped/regtested 3.3/i386 and hammer-branch/s390.  OK for mainline
> and branch?
> 
> Honza
> 
> Mon Apr 21 15:13:51 CEST 2003  Jan Hubicka  <jh at suse dot cz>
> 	* reload.c (find_valid_class):  Allow fixed registers to refuse
> 	the mode; compute real amount of choices to allocate given register.

That should be "number of choices", I think.

Things measured in discrete quanta are "numbers" such as "number of
cars" but things not measured in discrete quanta are "amount" as in
"amount of sugar".

See also: http://www.basic-learning.com/wbwt/tip149.htm


Toshi



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