public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Trevor Saunders <tbsaunde@tbsaunde.org>
To: gcc-patches@gcc.gnu.org,
	Andreas Krebbel <krebbel@linux.vnet.ibm.com>,
	Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Subject: Re: [PATCH] Add new hooks ASM_OUTPUT_START_FUNCTION_HEADER ...
Date: Tue, 22 Sep 2015 06:49:00 -0000	[thread overview]
Message-ID: <20150922002441.GB4050@tsaunders-iceball.corp.tor1.mozilla.com> (raw)
In-Reply-To: <20150921113158.GA30365@linux.vnet.ibm.com>

On Mon, Sep 21, 2015 at 12:31:58PM +0100, Dominik Vogt wrote:
> This patch adds to new backend hooks
> ASM_OUTPUT_START_FUNCTION_HEADER and
> ASM_OUTPUT_END_FUNCTION_FOOTER that may be defined to emit
> assembly code at the very start or end of a function.  This
> functionality is needed by the patch that ports the "target"
> attribute and pragma to S/390.  (I'll post that patch shortly, and
> in a different thread.)

obligatory question, why are we adding new target macros instead of
using hooks?  Especially in a place like this where the caller is very
unlikely to be at all hot.

thanks!

Trev

  reply	other threads:[~2015-09-22  0:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-21 11:39 Dominik Vogt
2015-09-22  6:49 ` Trevor Saunders [this message]
2015-09-22 20:55 ` Jeff Law
2015-09-23 15:08   ` Dominik Vogt
2015-09-24 11:52     ` Bernd Schmidt
2015-09-24 14:18       ` Dominik Vogt
2015-09-25 14:56         ` Bernd Schmidt
2015-09-28 10:23           ` Dominik Vogt
2015-09-28 12:26             ` Bernd Schmidt
2015-10-01  6:30               ` Dominik Vogt
2015-10-01  9:27                 ` Bernd Schmidt
2015-10-16 10:49 ` Dominik Vogt
2015-10-16 10:52   ` Dominik Vogt

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=20150922002441.GB4050@tsaunders-iceball.corp.tor1.mozilla.com \
    --to=tbsaunde@tbsaunde.org \
    --cc=Ulrich.Weigand@de.ibm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=krebbel@linux.vnet.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).