This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


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

Re: PATCH: string-expansion macros


Greg McGary writes:
 > Doug Evans <dje@transmeta.com> writes:
 > 
 > > I think that's the way things should work,
 > > and I wonder if needing to reverse it reveals a problem that
 > > is best solved differently.
 > 
 > Intercepts are one use, whereas what I have implemented is a
 > "fallback" to be used only when a real insn won't match.  Both are
 > valid, IMO.  What needs to be done differently is to allow the
 > programmer to specify whether they want to intercept or if they want
 > to offer fallback.  Sounds like the least disruptive way to go is to
 > retain intercept semantics as the default, and allow an attribute to
 > specify fallback semantics.

I don't have a problem with the attribute (well, I do, but
not a big enough of one to care).
I just wonder whether that's the best way to go.


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