This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Handling strictness in {predicates,constraints}.md [was: Re: Converting CRIS to constraints.md]
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org, "Hans-Peter Nilsson" <hans-peter dot nilsson at axis dot com>
- Date: Thu, 10 Mar 2011 18:42:14 +0100
- Subject: Re: Handling strictness in {predicates,constraints}.md [was: Re: Converting CRIS to constraints.md]
- References: <20110310034339.GX23686@codesourcery.com> <201103100547.p2A5lK2W013634@ignucius.se.axis.com> <20110310154751.GY23686@codesourcery.com>
> I haven't ran into that problem; all the targets I've converted to
> constraints.md haven't had constraints that changed based on strictness.
> I think the right thing to do is depend on
> reload_{in_progress,completed}
> (cf. rs6000/predicates.md:volatile_memory_operand), but I freely admit
> this is a part of the compiler that I'm not familiar with.
SPARC had exactly the same pattern as the 'U' constraint of MMIX. It now uses
reload_in_progress || reload_completed instead (in memory_ok_for_ldd).
--
Eric Botcazou