Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84263 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86682 invoked from network); 3 Mar 2015 19:55:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2015 19:55:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.175 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.217.175 mail-lb0-f175.google.com Received: from [209.85.217.175] ([209.85.217.175:41582] helo=mail-lb0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4C/A5-03783-EC116F45 for ; Tue, 03 Mar 2015 14:55:59 -0500 Received: by lbvp9 with SMTP id p9so16618910lbv.8 for ; Tue, 03 Mar 2015 11:55:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hrOiavGohJWYtqaIzmGyuj7E02vhR/3wBPRsTOT8hZA=; b=MXITp4kMpuMPvE3iIs6yfUZ8qjgzRZ+OBXVM4ECg55k84ZzQQ5D+ND41c5KpiZmbgm /NiN/NP3CPsCJBfbhUeOXovY6RkAmbGL/vkaMJG7ncWfp4Zq9DHdTXXSSvdLbl++urn1 8QMfA0LDPYqOXgt6Xl5Isnb3bQqOSUtqNDwVgjPiAfFnMOMgl8fmgyukcLQV78g2qmK3 EfLeDjaS74fVeVbfrLbH3v12xt2JyEd2ud6UONLEswBbvrBHBatPI40KzKzyxxVfA9pP QKWhsaotoiah0Yug/kI1w0Mxltuya02c9sre0Eh2iuUs0+tFsh/5ZQ0vhU3RUqg0Mg3y ecnw== MIME-Version: 1.0 X-Received: by 10.152.37.2 with SMTP id u2mr411614laj.45.1425412555902; Tue, 03 Mar 2015 11:55:55 -0800 (PST) Received: by 10.25.43.9 with HTTP; Tue, 3 Mar 2015 11:55:55 -0800 (PST) In-Reply-To: References: <54F08FF3.3040404@seld.be> <63262a9c0edd51bbf38df2a00c87340e@mail.gmail.com> <9977a20c9d756489f41e666d23c89e3f@mail.gmail.com> <9656140ae786d42e7b0da11dbd416a61@mail.gmail.com> Date: Tue, 3 Mar 2015 14:55:55 -0500 Message-ID: To: Dmitry Stogov Cc: Zeev Suraski , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced From: ircmaxell@gmail.com (Anthony Ferrara) Dmitry, >> So, let's put that to the test, shall we. I compiled and ran the "JIT" >> compiler (can we please stop calling it that, it's not). > > > This is JIT! My apologies. I interpreted your reply to an earlier email that you were doing all of the code generation at compile time, not at runtime. I should have dug into the code a bit more earlier, but what I looked at briefly before supported that interpretation. However after digging through zend_jit_llvm.cpp a bit more I can see what you're doing now. You're basically AOT compiling from PHP directly to LLVM bytecode (a file at a time), then using LLVM's VM and jit compile to compile to native at runtime. Is that the correct interpretation? Thanks, Anthony