From: Richard Henderson <richard.henderson@linaro.org>
To: Yao Zi <ziyao@disroot.org>, qemu-devel@nongnu.org
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: Re: [PATCH] host/include/loongarch64: Fix inline assembly compatibility with Clang
Date: Fri, 14 Mar 2025 13:32:03 -0700 [thread overview]
Message-ID: <0bc6c77d-d091-43d1-aff1-df836ea827e0@linaro.org> (raw)
In-Reply-To: <20250314033150.53268-3-ziyao@disroot.org>
On 3/13/25 20:31, Yao Zi wrote:
> Clang on LoongArch only accepts fp register names in the dollar-prefixed
> form, while GCC allows omitting the dollar. Change registers in ASM
> clobbers to the dollar-prefixed form to make user emulators buildable
> with Clang on loongarch64. No functional change invovled.
>
> Signed-off-by: Yao Zi<ziyao@disroot.org>
> ---
> host/include/loongarch64/host/atomic128-ldst.h.inc | 4 ++--
> host/include/loongarch64/host/bufferiszero.c.inc | 6 ++++--
> host/include/loongarch64/host/load-extract-al16-al8.h.inc | 2 +-
> 3 files changed, 7 insertions(+), 5 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
next prev parent reply other threads:[~2025-03-14 20:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-14 3:31 [PATCH] host/include/loongarch64: Fix inline assembly compatibility with Clang Yao Zi
2025-03-14 20:32 ` Richard Henderson [this message]
2025-03-17 1:06 ` bibo mao
2025-03-20 9:39 ` gaosong
2025-03-21 2:06 ` bibo mao
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=0bc6c77d-d091-43d1-aff1-df836ea827e0@linaro.org \
--to=richard.henderson@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=ziyao@disroot.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 NNTP newsgroup(s).