public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110781] New: bpf: make use of the V4 long-range jump instruction (jal/gotol)
@ 2023-07-23 23:38 jemarch at gcc dot gnu.org
  2023-07-27 15:25 ` [Bug target/110781] " jemarch at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: jemarch at gcc dot gnu.org @ 2023-07-23 23:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110781

            Bug ID: 110781
           Summary: bpf: make use of the V4 long-range jump instruction
                    (jal/gotol)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jemarch at gcc dot gnu.org
  Target Milestone: ---

The BPF V4 ISA introduces a new unconditional jump instruction (jal/gotol) that
has a much wide target range compared to the previous jal/goto instruction:
from PC-relative 16-bit to PC-relative 32-bit.

We shall make GCC to generate this instruction when it needs to emit jumps that
would be too long for the regular ja/goto instruction.  But only if -mcpu=v4 is
used.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/110781] bpf: make use of the V4 long-range jump instruction (jal/gotol)
  2023-07-23 23:38 [Bug target/110781] New: bpf: make use of the V4 long-range jump instruction (jal/gotol) jemarch at gcc dot gnu.org
@ 2023-07-27 15:25 ` jemarch at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: jemarch at gcc dot gnu.org @ 2023-07-27 15:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110781

Jose E. Marchesi <jemarch at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Jose E. Marchesi <jemarch at gcc dot gnu.org> ---
This is actually the assembler's business.  Moved to
https://sourceware.org/bugzilla/show_bug.cgi?id=30690

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-27 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-23 23:38 [Bug target/110781] New: bpf: make use of the V4 long-range jump instruction (jal/gotol) jemarch at gcc dot gnu.org
2023-07-27 15:25 ` [Bug target/110781] " jemarch at gcc dot gnu.org

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).