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]
Other format: [Raw text]

Re: Some porting help


On May 15, 2003, Anders Ådland <adland@stud.ntnu.no> wrote:

> The macros we are talking about is taking the x in (mem:m x) as
> argument, the mem-part is not passed. In my case i have a
> (pre_dec:SI (mem:SI ...)) that I don't want. Maybe this isn't defined as
> a memory address?

Hmm...  I understand that pre_ and post_ _dec and _inc are supposed to
appear as part of an address, not enclosing the mem, so you'd be
handed the pre_dec expression.  Unless you're talking of a machine
that accepts double-indirect access with indirect pre_dec or so, in
which case you should still have a chance to reject/adjust
(mem (pre_dec (mem))) when handed the (pre_dec (mem)).

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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