public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64154] New: enable fuse-caller-save for Thumb1
@ 2014-12-02 17:17 vries at gcc dot gnu.org
  2014-12-03 10:34 ` [Bug target/64154] enable fipa-ra " vries at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: vries at gcc dot gnu.org @ 2014-12-02 17:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64154

            Bug ID: 64154
           Summary: enable fuse-caller-save for Thumb1
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org

For PR 63718, we disabled -fuse-caller-save for Thumb1 in arm.c:
...
  /* In Thumb1 mode, we emit the epilogue in RTL, but the last insn
     - epilogue_insns - does not accurately model the corresponding insns
     emitted in the asm file.  In particular, see the comment in thumb_exit
     'Find out how many of the (return) argument registers we can corrupt'.
     As a consequence, the epilogue may clobber registers without
     fuse-caller-save finding out about it.  Therefore, disable
fuse-caller-save
     in Thumb1 mode.
     TODO: Accurately model clobbers for epilogue_insns and reenable
     fuse-caller-save.  */
  if (TARGET_THUMB1)
    flag_use_caller_save = 0;
...

We want to fix the target to properly model the clobbers in the rtl insn
epilogue_insns, such that we can re-enable -fuse-caller-save.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-01-10  0:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-02 17:17 [Bug target/64154] New: enable fuse-caller-save for Thumb1 vries at gcc dot gnu.org
2014-12-03 10:34 ` [Bug target/64154] enable fipa-ra " vries at gcc dot gnu.org
2014-12-12 14:59 ` ramana at gcc dot gnu.org
2015-01-08  8:17 ` terry.guo at arm dot com
2015-01-08 13:55 ` vries at gcc dot gnu.org
2015-01-08 14:18 ` vries at gcc dot gnu.org
2022-01-10  0:21 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).