This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386]: Use IN_RANGE macro.
- From: Roger Sayle <roger at eyesopen dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 28 Oct 2006 12:11:34 -0600 (MDT)
- Subject: Re: [PATCH, i386]: Use IN_RANGE macro.
On Sat, 28 Oct 2006, Uros Bizjak wrote:
> 2006-10-28 Uros Bizjak <uros@kss-loka.si>
>
> * config/i386/i386.h (GENERAL_REGNO_P): Use STACK_POINTER_REGNUM.
> (NON_QI_REG_P): Use IN_RANGE.
> (REX_INT_REGNO_P): Use IN_RANGE.
> (FP_REGNO_P): Use IN_RANGE.
> (SSE_REGNO_P): Use IN_RANGE.
> (REX_SSE_REGNO_P): Use IN_RANGE.
> (MMX_REGNO_P): Use IN_RANGE.
> (STACK_REGNO_P): New macro.
> (STACK_REG_P): Use STACK_REGNO_P.
> (NON_STACK_REG_P): Use STACK_REGNO_P.
> (REGNO_OK_FOR_INDEX_P): Use REX_INT_REGNO_P.
> (REGNO_OK_FOR_BASE_P): Use GENERAL_REGNO_P.
> (REG_OK_FOR_INDEX_NONSTRICT_P): Use REX_INT_REGNO_P.
> (REG_OK_FOR_BASE_NONSTRICT_P): Use GENERAL_REGNO_P.
> (HARD_REGNO_RENAME_OK): Use !IN_RANGE.
This mechanical clean-up looks fine. Ok for mainline.
Roger
--