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: Reload bug & SRA oddness


On May  9, 2007, Bernd Schmidt <bernds_cb1@t-online.de> wrote:

>> - only assignments to BIT_FIELD_REFs are regarded as both input and
>> output now; the use_all machinery is restored

> Sounds like there's room for improvement.  Do you think it would be hard
> to solve this accurately?

I'm not sure what kind of improvement you have in mind.  Are you
talking about not doing the in/out at all and breaking up the
BIT_FIELD_REF such that it affects the scalarized variables?  Or about
doing the in/out only on the fields covered by the BIT_FIELD_REF?  Or
something else?

> Is the cost logic in decide_block_copy still correct after this patch?
> It seems like it could be unnecessarily pessimistic.

That's possible.  I haven't paid too much attention to that yet.  I'm
still busy trying to get it to generate correct code for all targets
;-/

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member         http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


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