All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiong Wang <jiong.wang@netronome.com>
To: Yonghong Song <yhs@fb.com>
Cc: Jiong Wang <jiong.wang@netronome.com>,
	"alexei.starovoitov\@gmail.com" <alexei.starovoitov@gmail.com>,
	"daniel\@iogearbox.net" <daniel@iogearbox.net>,
	"bpf\@vger.kernel.org" <bpf@vger.kernel.org>,
	"oss-drivers\@netronome.com" <oss-drivers@netronome.com>
Subject: Re: [PATCH LLVM v2 0/3] bpf: improvements on XADD semantics check and code-gen
Date: Thu, 28 Feb 2019 19:37:12 +0000	[thread overview]
Message-ID: <87sgw7u2l3.fsf@netronome.com> (raw)
In-Reply-To: <1a4bf225-2f41-aa35-cf28-3ddf5cc23a9d@fb.com>


Yonghong Song writes:
<snip>
>
> The change looks good. Tested with unit tests and kernel selftests.
> I added something like below to one of test_progs bpf programs:
>    (void)__sync_fetch_and_add(value_p, 1);
> and the generated code is correct for alu32 mode and the objdump
> is able to disassemble correctly with -mattr=+alu32.
>
> You can add my ack:
>    Acked-by: Yonghong Song <yhs@fb.com>
>
> Could you go ahead to push to llvm trunk? Thanks!

Done, thanks.

Regards,
Jiong

>
>> 
>>   lib/Target/BPF/BPFInstrInfo.td                  | 28 ++++++-
>>   lib/Target/BPF/BPFMIChecking.cpp                | 97 ++++++++++++++++++++++++-
>>   lib/Target/BPF/Disassembler/BPFDisassembler.cpp |  3 +-
>>   test/CodeGen/BPF/xadd.ll                        |  2 +
>>   test/CodeGen/BPF/xadd_legal.ll                  | 26 +++++++
>>   test/MC/BPF/insn-unit.s                         |  3 +-
>>   test/MC/BPF/load-store-32.s                     |  3 +
>>   7 files changed, 154 insertions(+), 8 deletions(-)
>>   create mode 100644 test/CodeGen/BPF/xadd_legal.ll
>> 


      reply	other threads:[~2019-02-28 19:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-28  9:59 [PATCH LLVM v2 0/3] bpf: improvements on XADD semantics check and code-gen Jiong Wang
2019-02-28  9:59 ` [PATCH LLVM v2 1/3] bpf: improve dead Defs check for XADD Jiong Wang
2019-02-28  9:59 ` [PATCH LLVM v2 2/3] bpf: enable sub-register code-gen " Jiong Wang
2019-02-28  9:59 ` [PATCH LLVM v2 3/3] bpf: disassembler support for XADD under sub-register mode Jiong Wang
2019-02-28 18:50 ` [PATCH LLVM v2 0/3] bpf: improvements on XADD semantics check and code-gen Yonghong Song
2019-02-28 19:37   ` Jiong Wang [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=87sgw7u2l3.fsf@netronome.com \
    --to=jiong.wang@netronome.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=oss-drivers@netronome.com \
    --cc=yhs@fb.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.