From owner-cvs-src@FreeBSD.ORG Mon Aug 25 19:07:00 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77B951065670; Mon, 25 Aug 2008 19:07:00 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5AD098FC1F; Mon, 25 Aug 2008 19:07:00 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7PJ70xV076037; Mon, 25 Aug 2008 19:07:00 GMT (envelope-from jkim@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7PJ70wc076032; Mon, 25 Aug 2008 19:07:00 GMT (envelope-from jkim@repoman.freebsd.org) Message-Id: <200808251907.m7PJ70wc076032@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jkim@repoman.freebsd.org using -f From: Jung-uk Kim Date: Mon, 25 Aug 2008 19:06:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h src/sys/i386/i386 bpf_jit_machdep.c bpf_jit_machdep.h src/sys/net bpf_jitter.c bpf_jitter.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2008 19:07:00 -0000 jkim 2008-08-25 19:06:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h sys/i386/i386 bpf_jit_machdep.c bpf_jit_machdep.h sys/net bpf_jitter.c bpf_jitter.h Log: SVN rev 182170 on 2008-08-25 19:06:02Z by jkim MFC: Sync. BPF JIT compiler with HEAD. - r179967, r179968, r179977, r179978: Rehash and clean up BPF JIT compiler macros to emit opcodes closer to GNU as(1) generated codes and micro-optimize. - r181644, r181645: Replace number of stack usages with registers. Note amd64 version does not use stack any more because it has more registers. - r181697: Remove unnecessary jump instructions of zero offsets. - r181700, r181848, r181853: Correctly check unsignedness of all registers used for load instructions with (in)direct offsets and sync. with sys/net/bpf_filter.c - r181648, r181649, 181846: Update copyrights, fix style(9) nits, remove unused macros, and make JIT compilers compilable on user land. Revision Changes Path 1.4.2.1 +204 -173 src/sys/amd64/amd64/bpf_jit_machdep.c 1.3.2.1 +179 -167 src/sys/amd64/amd64/bpf_jit_machdep.h 1.4.2.1 +182 -148 src/sys/i386/i386/bpf_jit_machdep.c 1.3.2.1 +139 -144 src/sys/i386/i386/bpf_jit_machdep.h 1.3.2.1 +52 -9 src/sys/net/bpf_jitter.c 1.2.2.1 +4 -2 src/sys/net/bpf_jitter.h