On 4/28/17 9:38 AM, David Miller wrote:
From: Alexei Starovoitov <a...@fb.com>
Date: Fri, 28 Apr 2017 09:22:32 -0700

On 4/28/17 9:17 AM, David Miller wrote:
Even if I give it -triple=bpfeb it emits immediates incorrectly.

The bug is certainly in the insn field fetcher of the disassembler.

got it. so the binary looks correct, but disasm output is wrong?

F.e.

      12:       07 70 00 00 00 00 00 06         r0 += 100663296

Should be "r0 += 6"

Pushed the fix into the llvm trunk:
https://reviews.llvm.org/rL301653

if buildbots don't yell at me in the next few hours then it's
probably good.

Reply via email to