https://sourceware.org/bugzilla/show_bug.cgi?id=30690

            Bug ID: 30690
           Summary: bpf: relax short jumps to V4 long jumps
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: jose.marchesi at oracle dot com
  Target Milestone: ---

The BPF assembler shall be expanded to support relaxing short (16-bit disp)
jump instructions to 32-bit disp long jump instructions.

The V4 BPF ISA introduces an unconditional jump instruction that uses a 32-bit
displacement immediate.

These relaxations are possible:

Unconditional jump:

  ja disp16 -> jal disp32

Conditional jumps:

  jXX disp16 -> jXX +1; ja +1; jal disp32

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to