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: [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
--


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