[PATCH] fold_builtin target hook
Roger Sayle
roger@eyesopen.com
Mon Sep 20 15:24:00 GMT 2004
On Mon, 20 Sep 2004, Paolo Bonzini wrote:
> 2004-09-20 Paolo Bonzini <bonzini@gnu.org>
>
> * builtins.c (fold_builtin): Call the new omonymous
> target hook for machine-dependent built-ins.
> * target-def.h (TARGET_FOLD_BUILTIN): New.
> * target.h (struct gcc_target): Add the fold_builtin hook.
> * targhooks.c (default_fold_builtin): New.
> * targhooks.h (default_fold_builtin): Declare it.
This is OK for mainline. I presume this is required infrastructure
to fix some of the outstanding altivec bugs? The patch itself is
safe and it's useful functionality to have in the compiler.
Thanks,
Roger
--
More information about the Gcc-patches
mailing list