This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: more predicates
- From: jlquinn at optonline dot net
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Giovanni Bajo <giovannibajo at libero dot it>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 16 Jul 2004 16:28:14 -0400
- Subject: Re: more predicates
----- Original Message -----
From: Zack Weinberg <zack@codesourcery.com>
Date: Friday, July 16, 2004 12:50 pm
Subject: Re: more predicates
> "Giovanni Bajo" <giovannibajo@libero.it> writes:
> [...]
> > It would be nice to introduce a couple of macros
> > GLOBAL_REG_P()/SET_GLOBAL_REG() to handle this (and maybe find a way
> > to prevent people from using global_regs directly... renaming
> > it?). The SET macro would abort if used with a wrong register
> > number.
Can gcc eliminate multiple tests for n < FIRST_PSEUDO_REGISTER? Otherwise, we shouldn't poison direct access for places that have already performed the safety test, right?
Jerry