This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Matching Constraints and Predicate
On Mon, Aug 23, 2010 at 6:43 PM, Ian Lance Taylor <iant@google.com> wrote:
>
> This also makes no sense. ÂThe operand predicate should test whether the
> value is acceptable. ÂThe constraints should tell the register allocator
> where the value should go. ÂThe paragraph you quoted is saying that the
> operand predicate should restrict the value as much as possible to
> ensure that the constraints will match. ÂThe paragraph is not saying
> that you should test the register class of a register in the operand
> predicate.
>
Thanks for clearing this up.
--
PMatos