[llvm-branch-commits] [llvm-branch] r246072 - Release Notes expansion for BPF

Hans Wennborg via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 26 13:28:56 PDT 2015

Author: hans
Date: Wed Aug 26 15:28:56 2015
New Revision: 246072

URL: http://llvm.org/viewvc/llvm-project?rev=246072&view=rev
Release Notes expansion for BPF

By Brenden Blanco!


Modified: llvm/branches/release_37/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/docs/ReleaseNotes.rst?rev=246072&r1=246071&r2=246072&view=diff
--- llvm/branches/release_37/docs/ReleaseNotes.rst (original)
+++ llvm/branches/release_37/docs/ReleaseNotes.rst Wed Aug 26 15:28:56 2015
@@ -72,6 +72,19 @@ Non-comprehensive list of changes in thi
   instruction set that can be dynamically loaded into the Linux kernel via the
   `bpf(2) <http://man7.org/linux/man-pages/man2/bpf.2.html>`_ syscall.
+  Support for BPF has been present in the kernel for some time, but starting
+  from 3.18 has been extended with such features as: 64-bit registers, 8
+  additional registers registers, conditional backwards jumps, call
+  instruction, shift instructions, map (hash table, array, etc.), 1-8 byte
+  load/store from stack, and more.
+  Up until now, users of BPF had to write bytecode by hand, or use
+  custom generators. This release adds a proper LLVM backend target for the BPF
+  bytecode architecture.
+  The BPF target is now available by default, and options exist in both Clang
+  (-target bpf) or llc (-march=bpf) to pick eBPF as a backend.
 * Switch-case lowering was rewritten to avoid generating unbalanced search trees
   (`PR22262 <http://llvm.org/pr22262>`_) and to exploit profile information
   when available. Some lowering strategies are now disabled when optimizations

More information about the llvm-branch-commits mailing list