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] completely hookize CONDITIONAL_REGISTER_USAGE


On 11/18/2010 12:55 PM, Nathan Froyd wrote:
> The patch below hookizes CONDITIONAL_REGISTER_USAGE and hookizes all
> targets.  This is pretty straightforward, but a couple of targets stood
> out as a bit unusual:
> 
> - pa had an unusual definition of CONDITIONAL_REGISTER_USAGE for 32-bit
>   and 64-bit targets.  I think I got the logic right; Dave, would you
>   mind double-checking my merging?
> 
> - m32r had some logic for SUBTARGET_CONDITIONAL_REGISTER_USAGE, but
>   AFAICS, SUBTARGET_CONDITIONAL_REGISTER_USAGE was never defined, so I
>   eliminated it.  Nick, is that OK?
> 
> - bfin used CONDITIONAL_REGISTER_USAGE to call a
>   conditional_register_usage, which didn't actually do the bulk of the
>   work, but initialized some global rtxes.  I took the liberty of
>   munging that function into the new bfin_conditional_register_usage.
>   Bernd, does that seem OK?
> 
> Tested on x86_64-unknown-linux-gnu.  Will build some cross-compilers to
> verify those targets as well.  OK?

Ok modulo JDA's hppa comments.



r~


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