<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - BPF target: implement support for emitting BPF_ALU ops (32 bit variants)"
   href="https://bugs.llvm.org/show_bug.cgi?id=34156">34156</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>BPF target: implement support for emitting BPF_ALU ops (32 bit variants)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>daniel@iogearbox.net
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Currently the BPF target only supports emitting BPF_ALU64 alu instructions, but
it doesn't support generating BPF_ALU (32 bit) alu instructions. It would be
really great if this could be implemented so that LLVM can potentially generate
more efficient code (e.g. doesn't need to do shifts to potentially clear upper
bits). The JITs could also emit smaller opcode images by using their 32bit ALU
mappings. There are also 32bit JITs that could translate the BPF insns into
more efficient code when LLVM can choose 32 over 64bit.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>