public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jojo R <rjiejie@linux.alibaba.com>
To: GCC Development <gcc@gcc.gnu.org>, Peter Bergner <bergner@linux.ibm.com>
Subject: Re: How to describe ‘earlyclobber’ explicitly for specific source operand ?
Date: Mon, 22 Nov 2021 14:40:16 +0800	[thread overview]
Message-ID: <63f7d2b4-16f3-4f2b-b846-cc6d5a55601c@Spark> (raw)
In-Reply-To: <0a17063d-9c7b-718c-ddae-7a5d96016953@linux.ibm.com>


— Jojo
在 2021年11月20日 +0800 AM6:11,Peter Bergner <bergner@linux.ibm.com>,写道:
> On 11/19/21 1:28 AM, Jojo R via Gcc wrote:
> > We know gcc supply earlyclobber function to avoid register overlap,
> >
> > but it can not describe explicitly for specific source operand, is it right ?
>
> You add the early clobber to the OUTPUT operand(s) that can clobber any of the
> input source operands. You don't mark the source operands that could be clobbered.
Yes, so we need to enhance the early clobber to cover this scene ?
>
> Peter

  reply	other threads:[~2021-11-22  6:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <eb109969-0133-49eb-b392-b35a065f12ba@Spark>
2021-11-19  7:28 ` Jojo R
2021-11-19 21:54   ` Peter Bergner
2021-11-22  6:40     ` Jojo R [this message]
2021-11-23 12:22       ` Richard Earnshaw

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=63f7d2b4-16f3-4f2b-b846-cc6d5a55601c@Spark \
    --to=rjiejie@linux.alibaba.com \
    --cc=bergner@linux.ibm.com \
    --cc=gcc@gcc.gnu.org \
    /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).