public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Jan Beulich <jbeulich@suse.com>
To: Palmer Dabbelt <palmer@rivosinc.com>
Cc: binutils@sourceware.org
Subject: Re: [PATCH 1/2] gas: RISC-V: Add a test for near->far branch conversion
Date: Tue, 31 Jan 2023 09:57:06 +0100	[thread overview]
Message-ID: <d1c86c30-9fbd-f0a6-3115-2e604b83b9f5@suse.com> (raw)
In-Reply-To: <20230130210642.7579-1-palmer@rivosinc.com>

On 30.01.2023 22:06, Palmer Dabbelt wrote:
> --- /dev/null
> +++ b/gas/testsuite/gas/riscv/far-branch.d
> @@ -0,0 +1,13 @@
> +#as: -march=rv32i
> +#objdump: -d
> +
> +.*:[ 	]+file format .*
> +
> +
> +Disassembly of section .text:
> +
> +0+000 <target>:
> +[^:]+:[ 	]+00b51063[ 	]+bne[ 	]+a0,a1,0 <target>
> +#...
> +[^:]+:[ 	]+00b50463[ 	]+beq[ 	]+a0,a1,.*

Isn't the target of this branch kind of relevant here, and hence shouldn't
be "anything" in the expectations?

Jan

      parent reply	other threads:[~2023-01-31  8:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30 21:06 Palmer Dabbelt
2023-01-30 21:06 ` [PATCH 2/2] ld: RISC-V: Test R_RISCV_BRANCH truncation errors Palmer Dabbelt
2023-01-31  3:37 ` [PATCH 1/2] gas: RISC-V: Add a test for near->far branch conversion Nelson Chu
2023-01-31  8:57 ` Jan Beulich [this message]

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=d1c86c30-9fbd-f0a6-3115-2e604b83b9f5@suse.com \
    --to=jbeulich@suse.com \
    --cc=binutils@sourceware.org \
    --cc=palmer@rivosinc.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).