[PATCH]: Add entity argument to MODE_AFTER macro
Uros Bizjak
ubizjak@gmail.com
Thu Jul 19 14:50:00 GMT 2012
On Wed, Jul 18, 2012 at 8:31 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> As with all other mode switching macros, we need to pass entity index
> also to MODE_AFTER macro. In a multi-entity mode switching case, we
> usually don't have same modes for all entities, and we should be able
> to return the mode that applies to a specific entity. It looks that
> epiphany port already tripped on this issue.
>
> 2012-07-18 Uros Bizjak <ubizjak@gmail.com>
>
> * doc/tm.texi.in (MODE_AFTER): Add entity as the first macro argument.
> * doc/tm.texi: Regenerate.
> * mode-switching.c (optimize_mode_switching): Update MODE_AFTER call.
> * config/sh/sh.h (MODE_AFTER): Update.
> * config/epiphany/epiphany.h (MODE_AFTER): Update.
I have committed the patch to mainline SVN.
Uros.
More information about the Gcc-patches
mailing list