Re: [PATCH 0/8] eBPF support for GCC

2019-08-15 Thread Jose E. Marchesi
Hi Richard. > . Dynamic stack allocation (alloca and VLAs) is achieved by using what > otherwise would be a perfectly normal general register, %r9, as a > pseudo stack pointer. This has the disadvantage of making the > register "fixed" and therefore not available for gener

Re: [PATCH 0/8] eBPF support for GCC

2019-08-15 Thread Richard Sandiford
"Jose E. Marchesi" writes: > . Dynamic stack allocation (alloca and VLAs) is achieved by using what > otherwise would be a perfectly normal general register, %r9, as a > pseudo stack pointer. This has the disadvantage of making the > register "fixed" and therefore not available for general

Re: [PATCH 0/8] eBPF support for GCC

2019-08-14 Thread Jose E. Marchesi
> The second patch adds the new GCC port proper. Machine description, > implementation of target hooks and macros, command-line options and > the like. Looks like [PATCH 2/8] didn't make it to the mailing list for some reason (maybe it exceeded a size limit?) Yeah the O

Re: [PATCH 0/8] eBPF support for GCC

2019-08-14 Thread David Malcolm
On Wed, 2019-08-14 at 23:36 +0200, Jose E. Marchesi wrote: > Hi people! > [...] > The second patch adds the new GCC port proper. Machine description, > implementation of target hooks and macros, command-line options and > the like. Looks like [PATCH 2/8] didn't make it to the mailing list for

[PATCH 0/8] eBPF support for GCC

2019-08-14 Thread Jose E. Marchesi
Hi people! This patch series introduces a port of GCC to eBPF, which is a virtual machine that resides in the Linux kernel. Initially intended for user-level packet capture and filtering, eBPF is nowadays generalized to serve as a general-purpose infrastructure also for non-networking purposes.