harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Chow" <simon.harm...@gmail.com>
Subject Re: [drlvm][opt] what does 'irBuilderFlags.expandMemAddrs' mean?
Date Wed, 07 May 2008 03:35:08 GMT
Thank you all~
so all the 'St*'s (such as StField, StStatic, StElem etc.) are translated
into TauStInd or TauStRef instruction now?
additionally, what is the exact meaning of 'Tau' prefix?

Thanks

2008/5/7 George Timoshenko <george.timoshenko@gmail.com>:

> expandMemAddr is true by default.
> I am not sure if it wrorks correctly in the 'false' case.
>
> This flag is obsolet actually.
> It should be removed.
>
>
> Egor Pasko wrote:
>
> > On the 0x43C day of Apache Harmony Simon Chow wrote:
> >
> > > Hi all
> > > I found this flag is frequently used when generating 'Store' related
> > > instruction.
> > > if it is set, makeMultiSrcInst is used, otherwise makeFieldAccessInst
> > > is
> > > used, is that right? and Why is that?
> > >
> >
> > after "Lazy Resolution" feature has been implemented, you can safely
> > assume expandMemAddrs is always true, otherwise it just does not
> > work.
> >
> > true makes indirect loads by addresses
> > false makes special instructions like ldfield
> >
> > I dunno why there were two ways to do the same thing for ages. Maybe
> > true value helped memopt (so you do not have to teach it with ldfield
> > stuff), not sure.
> >
> >
>


-- 
>From : Simon.Chow@Software School of Fudan University

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message