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: [PING] Target hook for rewriting inline asm constraints


"Andreas Krebbel" <Andreas.Krebbel@de.ibm.com> writes:
> So you actually can't support new addressing formats in the back end
> without changing the semantics of it.  The proper way would be to
> disallow the "m" constraint in inline assemblies but thats probably a
> bit late ;)

Sorry if this has already been suggested, but why not just replace
hard-coded uses of 'm' in constraint-handling code with uses of some
target macro?  You could then treat your current 'm' as an ordinary
define_memory_constraint.

Richard


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