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]

Re: Eliminable register breakage


> Register elimination will replace this with
> 
> 	(set (reg:SI N) (subreg:SI (plus:DI SP (const_int C)) 0))
> 
> and then expect reload to somehow "make this work".  But it can't.
> 
> How was this supposed to work?

I think if this is a WORD_REGISTER_OPERATIONS target with word_mode == DImode,
in little endian, this should be transformed to
(set (reg:DI N) (plus:DI SP (const_int C)))


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