From: Richard Henderson <richard.henderson@linaro.org>
To: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>,
qemu-devel@nongnu.org
Cc: bcain@quicinc.com, sidneym@quicinc.com, ale@rev.ng, anjo@rev.ng,
ltaylorsimpson@gmail.com, Laurent Vivier <laurent@vivier.eu>
Subject: Re: [PATCH v3] Hexagon: add PC alignment check and exception
Date: Tue, 30 Apr 2024 08:52:36 -0700 [thread overview]
Message-ID: <29135846-744f-471b-9e21-ec5a6309bacc@linaro.org> (raw)
In-Reply-To: <5c90567ec28723865e144f386b36f5b676b7a5d3.1714486874.git.quic_mathbern@quicinc.com>
On 4/30/24 07:25, Matheus Tavares Bernardino wrote:
> +void test_multi_cof(void)
> +{
> + asm volatile(
> + "p0 = cmp.eq(r0, r0)\n"
> + "{\n"
> + " if (p0) jump test_multi_cof_unaligned\n"
> + " jump 1f\n"
> + "}\n"
> + "1: nop\n"
> + : : : "p0");
> +}
I will say you could just add the label to the end of the asm here, like
.byte 0
test_multi_cof_unaligned:
rather than use a separate source file.
r~
next prev parent reply other threads:[~2024-04-30 15:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 14:25 [PATCH v3] Hexagon: add PC alignment check and exception Matheus Tavares Bernardino
2024-04-30 15:45 ` Richard Henderson
2024-04-30 15:52 ` Richard Henderson [this message]
2024-04-30 18:31 ` Brian Cain
2024-05-02 14:35 ` Matheus Tavares Bernardino
2024-04-30 19:41 ` ltaylorsimpson
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=29135846-744f-471b-9e21-ec5a6309bacc@linaro.org \
--to=richard.henderson@linaro.org \
--cc=ale@rev.ng \
--cc=anjo@rev.ng \
--cc=bcain@quicinc.com \
--cc=laurent@vivier.eu \
--cc=ltaylorsimpson@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=quic_mathbern@quicinc.com \
--cc=sidneym@quicinc.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 NNTP newsgroup(s).