This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [rfc, i386] Convert output_mi_thunk to rtl
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, ubizjak at gmail dot com
- Date: Sat, 9 Jul 2011 18:42:33 -0700
- Subject: Re: [rfc, i386] Convert output_mi_thunk to rtl
- References: <4E1901C3.7070401@redhat.com>
On Sat, Jul 9, 2011 at 6:34 PM, Richard Henderson <rth@redhat.com> wrote:
> I developed this patch while working on the dwarf2 pass series.
> This was before I bypassed the entire problem by removing the
> !deep branch prediction paths.
>
> Ideally, we'd do this generically from gimple. ?Less ideally,
> but still better, is to always emit rtl, and support that in
> the middle end without so many hacks in the back end.
>
> I think this cleans things up a bit over emitting text.
> Particularly if we then include HJ's x32 stuff.
>
> Thoughts?
For TARGET_64BIT, please use ptr_mode instead of DImode
to load thunk into a register.
Thanks.
--
H.J.