From: "Marcin Kościelnicki" <koriakin@0x04.net>
To: Andreas Krebbel <krebbel@linux.vnet.ibm.com>, uweigand@de.ibm.com
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] s390: Add -fsplit-stack support
Date: Mon, 15 Feb 2016 10:44:00 -0000 [thread overview]
Message-ID: <56C1AC18.9040604@0x04.net> (raw)
In-Reply-To: <56C1A69D.7050107@linux.vnet.ibm.com>
On 15/02/16 11:21, Andreas Krebbel wrote:
> On 02/14/2016 05:01 PM, Marcin KoÅcielnicki wrote:
>> libgcc/ChangeLog:
>>
>> * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
>> * config/s390/morestack.S: New file.
>> * config/s390/t-stack-s390: New file.
>> * generic-morestack.c (__splitstack_find): Add s390-specific code.
>>
>> gcc/ChangeLog:
>>
>> * common/config/s390/s390-common.c (s390_supports_split_stack):
>> New function.
>> (TARGET_SUPPORTS_SPLIT_STACK): New macro.
>> * config/s390/s390-protos.h: Add s390_expand_split_stack_prologue.
>> * config/s390/s390.c (struct machine_function): New field
>> split_stack_varargs_pointer.
>> (s390_register_info): Mark r12 as clobbered if it'll be used as temp
>> in s390_emit_prologue.
>> (s390_emit_prologue): Use r12 as temp if r1 is taken by split-stack
>> vararg pointer.
>> (morestack_ref): New global.
>> (SPLIT_STACK_AVAILABLE): New macro.
>> (s390_expand_split_stack_prologue): New function.
>> (s390_live_on_entry): New function.
>> (s390_va_start): Use split-stack vararg pointer if appropriate.
>> (s390_asm_file_end): Emit the split-stack note sections.
>> (TARGET_EXTRA_LIVE_ON_ENTRY): New macro.
>> * config/s390/s390.md (UNSPEC_STACK_CHECK): New unspec.
>> (UNSPECV_SPLIT_STACK_CALL): New unspec.
>> (UNSPECV_SPLIT_STACK_DATA): New unspec.
>> (split_stack_prologue): New expand.
>> (split_stack_space_check): New expand.
>> (split_stack_data): New insn.
>> (split_stack_call): New expand.
>> (split_stack_call_*): New insn.
>> (split_stack_cond_call): New expand.
>> (split_stack_cond_call_*): New insn.
>
> Applied. Thanks!
>
> -Andreas-
>
Thanks. And how about that testcase I submitted, does that look OK?
Marcin KoÅcielnicki
next prev parent reply other threads:[~2016-02-15 10:44 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-02 19:16 [RFC] [PR 68191] " Marcin Kościelnicki
2016-01-02 19:16 ` [PATCH 3/5] Fix NOTE_INSN_PROLOGUE_END after unconditional jump Marcin Kościelnicki
2016-04-17 21:25 ` Jeff Law
2016-01-02 19:16 ` [PATCH 4/5] Don't mark targets of unconditional jumps with side effects as FALLTHRU Marcin Kościelnicki
2016-01-21 10:05 ` Andreas Krebbel
2016-01-21 10:10 ` Marcin Kościelnicki
2016-01-21 23:10 ` Jeff Law
2016-01-22 7:44 ` Andreas Krebbel
2016-01-22 16:39 ` Marcin Kościelnicki
2016-01-27 7:11 ` Jeff Law
2016-04-17 21:24 ` Jeff Law
2016-01-02 19:16 ` [PATCH 2/5] s390: Fix missing .size directives Marcin Kościelnicki
2016-01-20 13:16 ` Andreas Krebbel
2016-01-20 14:01 ` Dominik Vogt
2016-01-21 9:59 ` Andreas Krebbel
2016-01-21 10:10 ` Marcin Kościelnicki
2016-01-02 19:17 ` [PATCH 1/5] s390: Use proper read-only data section for literals Marcin Kościelnicki
2016-01-20 13:11 ` Andreas Krebbel
2016-01-21 6:56 ` Marcin Kościelnicki
2016-01-21 8:17 ` Mike Stump
2016-01-21 9:46 ` Andreas Krebbel
2016-01-02 19:17 ` [PATCH 5/5] s390: Add -fsplit-stack support Marcin Kościelnicki
2016-01-15 18:39 ` Andreas Krebbel
2016-01-15 21:08 ` Marcin Kościelnicki
2016-01-21 10:12 ` Andreas Krebbel
2016-01-21 13:04 ` Marcin Kościelnicki
2016-01-16 13:46 ` [PATCH] " Marcin Kościelnicki
2016-01-29 13:33 ` Andreas Krebbel
2016-01-29 15:43 ` Marcin Kościelnicki
2016-01-29 16:17 ` Andreas Krebbel
2016-02-02 14:52 ` Marcin Kościelnicki
2016-02-02 15:19 ` Andreas Krebbel
2016-02-02 15:31 ` Marcin Kościelnicki
2016-02-02 18:34 ` Ulrich Weigand
2016-02-02 20:11 ` Marcin Kościelnicki
2016-02-03 18:40 ` Marcin Kościelnicki
2016-02-04 15:06 ` Ulrich Weigand
2016-02-04 15:20 ` Marcin Kościelnicki
2016-02-04 16:27 ` Ulrich Weigand
2016-02-05 21:13 ` Marcin Kościelnicki
2016-02-05 22:02 ` Ulrich Weigand
2016-02-03 0:20 ` Marcin Kościelnicki
2016-02-03 17:03 ` Ulrich Weigand
2016-02-03 17:18 ` Marcin Kościelnicki
2016-02-03 17:27 ` Ulrich Weigand
2016-02-04 12:44 ` Marcin Kościelnicki
2016-02-10 13:14 ` Marcin Kościelnicki
2016-02-14 16:01 ` Marcin Kościelnicki
2016-02-15 10:21 ` Andreas Krebbel
2016-02-15 10:44 ` Marcin Kościelnicki [this message]
2016-02-07 12:22 ` [PATCH] testsuite/s390: Add __morestack test Marcin Kościelnicki
2016-02-19 10:21 ` Andreas Krebbel
2016-01-03 3:21 ` [RFC] [PR 68191] s390: Add -fsplit-stack support Ian Lance Taylor
2016-01-03 10:32 ` Marcin Kościelnicki
2016-01-04 7:35 ` Marcin Kościelnicki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56C1AC18.9040604@0x04.net \
--to=koriakin@0x04.net \
--cc=gcc-patches@gcc.gnu.org \
--cc=krebbel@linux.vnet.ibm.com \
--cc=uweigand@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).