From: Florian Weimer <fweimer@redhat.com>
To: "Paul A. Clarke via Libc-alpha" <libc-alpha@sourceware.org>
Cc: "Paul A. Clarke" <pc@us.ibm.com>
Subject: Re: [PATCH] [powerpc] Tighten contraints for asm constant parameters
Date: Tue, 19 Oct 2021 17:26:36 +0200 [thread overview]
Message-ID: <871r4h11eb.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <20211019151413.123039-1-pc@us.ibm.com> (Paul A. Clarke via Libc-alpha's message of "Tue, 19 Oct 2021 10:14:13 -0500")
* Paul A. Clarke via Libc-alpha:
> There are a few places where only constants are acceptable for `asm`
> parameters, yet the constraint "i" is used. "i" is for "any integer"
> including variables.
>
> Use "n" instead of "i" where constant integers are required.
This doesn't seem to match the GCC documentation:
| 'i'
| An immediate integer operand (one with constant value) is allowed.
| This includes symbolic constants whose values will be known only at
| assembly time or later.
And the RS6000 documentation does not override that.
Thanks,
Florian
next prev parent reply other threads:[~2021-10-19 15:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-19 15:14 Paul A. Clarke
2021-10-19 15:26 ` Florian Weimer [this message]
2021-10-19 15:58 ` Paul A. Clarke
2021-10-19 15:59 ` Florian Weimer
2021-10-29 19:26 ` Tulio Magno Quites Machado Filho
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=871r4h11eb.fsf@oldenburg.str.redhat.com \
--to=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=pc@us.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).