[PING][Patch, ARM] cleanup prologue_use pattern
Greta Yorsh
greta.yorsh@arm.com
Wed Oct 17 10:18:00 GMT 2012
Ping!
Thanks,
Greta
-----Original Message-----
From: Greta Yorsh [mailto:greta.yorsh@arm.com]
Sent: 10 October 2012 16:14
To: GCC Patches
Cc: Ramana Radhakrishnan; Richard Earnshaw; nickc@redhat.com;
paul@codesourcery.com
Subject: [Patch, ARM] cleanup prologue_use pattern
The pattern prologue_use is emitted for both prologue and epilogue.
In particular, the assembly comment
"@sp needed for prologue"
is printed out for both prologue and epilogue.
This patch adds a separate pattern for epilogue_use and replaces
prologue_use with epilogue_use where appropriate.
No regression on qemu for arm-none-eabi.
Ok for trunk?
Thanks,
Greta
2012-09-17 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.md (UNSPEC_EPILOGUE_USE): New unspec value.
(sibcall_epilogue): Use UNSPEC_EPILOGUE_USE instead of
UNSPEC_PROLOGUE_USE.
(epilogue_use): New define_insn.
(epilogue): Use gen_epilogue_use instead of gen_prologue_use.
* config/arm/arm.c (arm_expand_epilogue): Likewise.
(thumb1_expand_epilogue) Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rename-prolog-use.v2.patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20121017/2eb72719/attachment.txt>
More information about the Gcc-patches
mailing list