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: Remove GO_IF_HARD_REG_SET_*


Eric Botcazou <ebotcazou@libertysurf.fr> writes:
>> I was working on a patch that needed to do some HARD_REG_SET manipulation,
>> and got fed up of our current GO_IF_* API.  This patch replaces the GO_IF_*
>> macros with 4 new inline functions:
>>
>>    hard_reg_subset_p
>>    hard_reg_sets_equal_p
>>    hard_reg_sets_intersect_p
>>    hard_reg_set_empty_p
>>
>> which do what their names suggest.
>
> Sorry for being picky, but the names are convoluted and hard to remember.
>
> Just use
>
>     hard_reg_set_subset_p
>     hard_reg_set_equal_p
>     hard_reg_set_intersect_p
>     hard_reg_set_empty_p
>
> instead I'd say.  OK with this change.

Thanks, installed with that change after retesting on x86_64-linux-gnu.

Richard


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