From mboxrd@z Thu Jan 1 00:00:00 1970 From: illusionist.neo@gmail.com (Shubham Bansal) Date: Wed, 29 Mar 2017 02:19:54 +0530 Subject: arch: arm: bpf: Converting cBPF to eBPF for arm 32 bit In-Reply-To: <20170315.145512.1542025976162251828.davem@davemloft.net> References: <20170315.145512.1542025976162251828.davem@davemloft.net> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Thanks David. It helped a lot. Hi Daniel, Do you have any document to understand the working of tail calls? I looked at your presentations but it seemed confusing to me. Anything simple would be great, just about the tail calls. I don't think I need examples, I can get them from your presentations. I just need a very general idea. May be you know the code in kernel where it is implemented. Thanks for the help Daniel. Best, Shubham Bansal On Thu, Mar 16, 2017 at 3:25 AM, David Miller wrote: > From: Shubham Bansal > Date: Wed, 15 Mar 2017 17:43:44 +0530 > >>> You can't truncate, but you'll have to build 64-bit ops using 32-bit registers. >> >> A small example would help a lot. > > You can simply perform 64-bit operations in C code and see what gcc > outputs for that code on this 32-bit target.