search for: starovoitov

Displaying 20 results from an estimated 36 matches for "starovoitov".

2015 Aug 05
2
[LLVMdev] Cc llvmdev: Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
Hi, Alexei On 2015/7/30 1:13, Alexei Starovoitov wrote: > On 7/29/15 2:38 AM, He Kuang wrote: >> Hi, Alexei >> >> On 2015/7/28 10:18, Alexei Starovoitov wrote: >>> On 7/25/15 3:04 AM, He Kuang wrote: >>>> I noticed that for 64-bit elf format, the reloc sections have >>>> 'Addend' in th...
2015 Jun 04
2
[LLVMdev] [llvm] r239035 - Include BPF target in CMake builds.
On Thu, Jun 4, 2015 at 5:51 AM, Daniel Sanders <daniel.sanders at imgtec.com> wrote: > Author: dsanders > Date: Thu Jun 4 07:51:20 2015 > New Revision: 239035 > > Include BPF target in CMake builds. > > Modified: > llvm/trunk/CMakeLists.txt > > --- llvm/trunk/CMakeLists.txt (original) > +++ llvm/trunk/CMakeLists.txt Thu Jun 4 07:51:20 2015 > @@
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...ttps://godbolt.org/z/NPcn22 ________________________________________ From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Doerfert, Johannes via llvm-dev <llvm-dev at lists.llvm.org> Sent: Wednesday, October 30, 2019 20:18 To: LLVM Developers Mailing List; Y Song Cc: Alexei Starovoitov Subject: Re: [llvm-dev] pointer arithmetic with address space attribute not working What clang version is that? I tried to reproduce it but failed: https://godbolt.org/z/AM1tPp ________________________________________ From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Y So...
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...k that has more clang experience. @Matt Do you want to take this or ping the right person? Cheers, Johannes ________________________________________ From: Y Song <ys114321 at gmail.com> Sent: Thursday, October 31, 2019 01:03 To: Doerfert, Johannes Cc: LLVM Developers Mailing List; Alexei Starovoitov Subject: Re: [llvm-dev] pointer arithmetic with address space attribute not working The latest trunk. I am using llvm mono repo. The top two commits are: b1209d74e3426e7aaa6e5f657d8b2a7554218767 (HEAD -> master, origin/master, origin/HEAD) gn build: Merge 33a745e6fe7 33a745e6fe7e81d3793f7831d28...
2015 Sep 10
2
how to link clang generated obj targeting BPF
Dear there, I was trying to use clang to cross compile executable directly on my mac to bpf ISA: clang -target bpf-linux-gnu aaa.c But I guess maybe the linker does not support BPF? (with -c clang can generate unlinked objs) Unexpected arch UNREACHABLE executed at llvm/tools/clang/lib/Driver/Tools.cpp:8113 Should I use other linkers to link clang generated BPF objs? Thanks, Xiaochu
2015 Sep 18
2
Fwd: buildbot failure in LLVM on clang-cmake-aarch64-full
...for a week - could we disable it? or at least move it off the main master list/stop it sending email? ---------- Forwarded message ---------- From: <llvm.buildmaster at lab.llvm.org> Date: Thu, Sep 17, 2015 at 11:48 PM Subject: buildbot failure in LLVM on clang-cmake-aarch64-full To: Alexei Starovoitov <alexei.starovoitov at gmail.com>, Charles Davis < cdavis5x at gmail.com>, David Blaikie <dblaikie at gmail.com>, David Majnemer < david.majnemer at gmail.com>, Davide Italiano <davide at freebsd.org>, Douglas Katzman <dougk at google.com>, Joerg Sonnenberger &lt...
2015 May 08
2
[LLVMdev] Contributing a buildbot for the BPF backend
Hi everyone, I am working with Alexei Starovoitov to contribute an LLVM buildbot for the experimental BPF backend. I am following the steps at [1] to setup a buildbot and I was mostly successful: I was able to setup a slave and a temporary master to check its base config. Now I'm not sure about the next step: patching the "slaves.py&quot...
2016 Feb 10
2
[RFC] Lanai backend
On Wed, Feb 10, 2016 at 12:40 PM, Renato Golin via llvm-dev <llvm-dev at lists.llvm.org> wrote: > On 10 February 2016 at 06:44, Chandler Carruth via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> But I also see another option, which someone else mentioned up-thread: >> simply make only the regression tests be supported. Without a regression >> test case that
2015 Aug 02
2
[LLVMdev] Unable to generate obj file using llc for bpf
Dear there, I wasn't able to generate obj file for bpf using llc: llc -march bpf -filetype=obj foo.bc Anyone knows what is the missing part in their backend? I want to make it work for my project. Thanks, Xiaochu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150802/e0b55467/attachment.html>
2015 Aug 03
2
[LLVMdev] Unable to generate obj file using llc for bpf
...VMContext&) + 10755 19 llc 0x0000000104276996 main + 230 20 libdyld.dylib 0x00007fff907f25c9 start + 1 Stack dump: 0. Program arguments: ../build/Debug/bin/llc -march bpf -filetype=obj arith.bc Illegal instruction: 4 On Sun, Aug 2, 2015 at 5:57 PM Alexei Starovoitov < alexei.starovoitov at gmail.com> wrote: > On Sun, Aug 2, 2015 at 12:24 AM, Xiaochu Liu <xiaochu1122 at gmail.com> > wrote: > > Dear there, > > > > I wasn't able to generate obj file for bpf using llc: > > > > llc -march bpf -filetype=obj foo.bc...
2015 Jun 05
2
[LLVMdev] Make BPF backend non-experimental?
Hi All, I'd like to propose to upgrade BPF backend to first class citizen. Current status of it: - used with linux kernel on x64, arm64, s390 architectures - projects that use it: perf, tc, ovs - there are few front-ends in the works: . one is translating custom language to C and then using clang/llvm . another is generating llvm IR directly . yet another is using clang rewriter to
2016 Jun 16
2
[iovisor-dev] [PATCH, BPF 1/5] BPF: Use a provisional ELF e_machine value
On Wed, Jun 15, 2016 at 2:37 PM, Richard Henderson via iovisor-dev <iovisor-dev at lists.iovisor.org> wrote: > This same value for EM_BPF is being propagated to glibc, > elfutils, and binutils. great! Can you share the link to glibc and the other patches? > diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h > index 352fd8a..fb8ff71 100644 > ---
2015 Aug 06
2
[LLVMdev] Cc llvmdev: Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
On Wed, Aug 05, 2015 at 04:28:13PM +0800, Wangnan (F) wrote: > > It doesn't work for me at first since in my llvm there's only > llvm.bpf.load.*. > > I think llvm.bpf.store.* belone to some patches you haven't posted yet? nope. only loads have special instructions ld_abs/ld_ind which are represented by these intrinsics. stores, so far, are done via single
2015 Jun 10
2
[LLVMdev] Contributing a buildbot for the BPF backend
...de > > Sent by a carbon-based life form; hence, it may contain repetitions, > inaccuracies, logical fallacies and repetitions. > > > On Thu, May 7, 2015 at 8:56 PM, Marco Leogrande <marcol at plumgrid.com> > wrote: > > Hi everyone, > > I am working with Alexei Starovoitov to contribute an LLVM buildbot > > for the experimental BPF backend. > > I am following the steps at [1] to setup a buildbot and I was mostly > > successful: I was able to setup a slave and a temporary master to > > check its base config. > > > > Now I'm not...
2019 Oct 30
2
pointer arithmetic with address space attribute not working
Hi, I have a case that for pointer with address space attribute, pointer arithmetic is not work. For example, -bash-4.4$ cat test.c #define __user __attribute__((address_space(1))) void __user * test(void __user *arg) { #ifdef ADD return arg + 4; #else return arg; #endif } -bash-4.4$ -bash-4.4$ clang -g -c test.c -bash-4.4$ clang -g -c -DADD test.c clang-10: ../lib/IR/Instructions.cpp:2749:
2015 Jun 17
2
[LLVMdev] Contributing a buildbot for the BPF backend
...may contain repetitions, >>> inaccuracies, logical fallacies and repetitions. >>> >>> >>> On Thu, May 7, 2015 at 8:56 PM, Marco Leogrande <marcol at plumgrid.com> >>> wrote: >>> > Hi everyone, >>> > I am working with Alexei Starovoitov to contribute an LLVM buildbot >>> > for the experimental BPF backend. >>> > I am following the steps at [1] to setup a buildbot and I was mostly >>> > successful: I was able to setup a slave and a temporary master to >>> > check its base config. >...
2015 Jun 18
2
[LLVMdev] Contributing a buildbot for the BPF backend
...ogical fallacies and repetitions. >> >>> >> >>> >> >>> On Thu, May 7, 2015 at 8:56 PM, Marco Leogrande <marcol at plumgrid.com> >> >>> wrote: >> >>> > Hi everyone, >> >>> > I am working with Alexei Starovoitov to contribute an LLVM buildbot >> >>> > for the experimental BPF backend. >> >>> > I am following the steps at [1] to setup a buildbot and I was mostly >> >>> > successful: I was able to setup a slave and a temporary master to >> >>&...
2015 Aug 05
2
[LLVMdev] Cc llvmdev: Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
...rf information generated by BPF backend lost all DW_AT_name field; >> >> 2. How to get typeid from local variable? I tried llvm.eh_typeid_for >> but it support global variable only. >> >> Following is my response to Alexei. >> >> On 2015/8/4 3:44, Alexei Starovoitov wrote: >>> On 7/31/15 3:18 AM, Wangnan (F) wrote: >>> >> >> [SNIP] >> >>> didn't have time to look at it. >>> from your llvm patches looks like you've got quite experienced >>> with it already :) >>> >>>> I&...
2015 Aug 12
2
llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
On 2015/8/4 3:44, Alexei Starovoitov wrote: [SNIP] >> I'll post 2 LLVM patches by replying this mail. Please have a look and >> help me >> send them to LLVM if you think my code is correct. > > [SNIP] > patch 2: > do we really need to hack clang? > Can you just define a function that aliases to in...
2017 Jan 25
0
[PATCH v2] virtio_net: fix PAGE_SIZE > 64k
On Tue, Jan 24, 2017 at 08:07:40PM -0800, Alexei Starovoitov wrote: > On Tue, Jan 24, 2017 at 7:48 PM, John Fastabend > <john.fastabend at gmail.com> wrote: > > > > It is a concern on my side. I want XDP and Linux stack to work > > reasonably well together. > > btw the micro benchmarks showed that page per packet approach...