This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC, ARM] Convert thumb1 prologue completely to rtl
- From: Michael Hope <michael dot hope at linaro dot org>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, ramana dot radhakrishnan at arm dot com, richard dot earnshaw at arm dot com
- Date: Mon, 20 Jun 2011 08:17:24 +1200
- Subject: Re: [RFC, ARM] Convert thumb1 prologue completely to rtl
- References: <4DFCF630.4080908@twiddle.net>
On Sun, Jun 19, 2011 at 7:02 AM, Richard Henderson <rth@twiddle.net> wrote:
> I couldn't find anything terribly tricky about the conversion.
>
> The existing push_mult pattern would service thumb1 with just
> a tweak or two to the memory predicate and the length.
>
> The existing emit_multi_reg_push wasn't set up to handle a
> complete switch of registers for unwind info. ?I thought about
> trying to merge them, but thought chickened out.
>
> I havn't cleaned out the code that is now dead in thumb_pushpop.
> I'd been thinking about maybe converting epilogues completely
> to rtl as well, which would allow the function to be deleted
> completely, rather than incrementally.
>
> I'm unsure what testing should be applied. ?I'm currently doing
> arm-elf, which does at least have a thumb1 multilib, and uses
> newlib so I don't have to fiddle with setting up a full native
> cross environment. ?What else should be done? ?arm-eabi?
Hi Richard. arm-linux-gnueabi bootstraps in Thumb1 mode. I haven't
done many builds in that way, but here's the latest:
http://builds.linaro.org/toolchain/gcc-4.6.0-RC-20110321/logs/armv7l-maverick-cbuild93-ursa1-armv5thumbr1/
-- Michael