Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98994 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70208 invoked from network); 10 May 2017 06:21:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 May 2017 06:21:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=andre.romcke@ez.no; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=andre.romcke@ez.no; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ez.no designates 104.47.0.128 as permitted sender) X-PHP-List-Original-Sender: andre.romcke@ez.no X-Host-Fingerprint: 104.47.0.128 mail-he1eur01on0128.outbound.protection.outlook.com Received: from [104.47.0.128] ([104.47.0.128:3527] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/62-41573-561B2195 for ; Wed, 10 May 2017 02:21:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ezno.onmicrosoft.com; s=selector1-ez-no; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yqvgMtWWg+bn97EyUcmJ6QGGO0wnGgP0+7zSxlSHItI=; b=hMYnkcFtnaTZPgd3TY1wndhneYTzFa85qi84PyFmKNaGxhgenmdAsZDV7QKiRPuSOXKDEiWrpx2JGVIbn+qyMM0UxFQT5ezH8hkRSxIpnH/02zQh9pfLl1BTV3vw/LPet1EcqXrYQ3bFUBXDsPap4KMBtSuRWZ7TwKLP0a1Ch38= Received: from VI1PR0701MB2527.eurprd07.prod.outlook.com (10.168.139.140) by VI1PR0701MB2527.eurprd07.prod.outlook.com (10.168.139.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.7; Wed, 10 May 2017 06:21:21 +0000 Received: from VI1PR0701MB2527.eurprd07.prod.outlook.com ([10.168.139.140]) by VI1PR0701MB2527.eurprd07.prod.outlook.com ([10.168.139.140]) with mapi id 15.01.1084.015; Wed, 10 May 2017 06:21:21 +0000 To: Dmitry Stogov CC: Matt Wilmas , Xinchen Hui , Nikita Popov , PHP internals list Thread-Topic: [PHP-DEV] HYBRID VM Thread-Index: AQHSxdsHvhswDLOcgEyBw+8L5vUvq6HtH5I2 Date: Wed, 10 May 2017 06:21:21 +0000 Message-ID: References: <9e1b46fe-82f1-4ce6-b799-6f0674e13fb1@email.android.com> In-Reply-To: <9e1b46fe-82f1-4ce6-b799-6f0674e13fb1@email.android.com> Accept-Language: nb-NO, de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: zend.com; dkim=none (message not signed) header.d=none;zend.com; dmarc=none action=none header.from=ez.no; x-originating-ip: [176.11.145.50] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR0701MB2527;7:/49G+ydIiRjvJkTzMxUax4+h3mqUFmZJt5H4fQLtJONLVMWfleprVBnEYXHLNIdhYeT6ky7+deQL19+HeRW9kb5rRgnBU5ukE/vRrMRvSnZy2Z9kL/iM9cMk3vi6yKjzPLjxQ2hCraK6met+Yi2mGHIkbuOJo6oSPAUKkHFBcGKhIvnVSZ8x6IIA/yBmUyIc/C1kDRRY4AIs0N9+QIJnN8nyw65aKy9YOvyl8lWLSz/0Kkyy/eCeglaYWb6J3AscJxEMV29VTUfXHAAwVpvDag7bZGI3AMxneRj1Ux4sj0PZwMmRGWfGIZj2GcDoBWnI4pxgLCNzLfr0I4ILiDSZ/w== x-ms-office365-filtering-correlation-id: 048ba6b3-5510-4ca8-f3a4-08d4976cc6da x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(201703131423075)(201702281549075);SRVR:VI1PR0701MB2527; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(2016111802025)(6043046)(6072148);SRVR:VI1PR0701MB2527;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0701MB2527; x-forefront-prvs: 03030B9493 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39450400003)(39850400002)(39840400002)(39410400002)(39400400002)(24454002)(377454003)(13464003)(83716003)(86362001)(6246003)(38730400002)(16799955002)(99286003)(2900100001)(50986999)(8656002)(66066001)(81166006)(76176999)(478600001)(3846002)(5660300001)(8936002)(36756003)(2906002)(6116002)(102836003)(82746002)(189998001)(110136004)(6306002)(54906002)(7736002)(305945005)(6512007)(74482002)(25786009)(53936002)(8676002)(6436002)(33656002)(54356999)(6506006)(3280700002)(77096006)(6916009)(6486002)(122556002)(2950100002)(53546009)(3660700001)(4326008);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0701MB2527;H:VI1PR0701MB2527.eurprd07.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: ez.no X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2017 06:21:21.2861 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f606c019-4e72-4e2e-8583-51197302e349 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB2527 Subject: Re: [PHP-DEV] HYBRID VM From: andre.romcke@ez.no (=?iso-8859-1?Q?Andr=E9_R=F8mcke?=) > On 5 May 2017, at 22:06, Dmitry Stogov wrote: >=20 > It provides comparabele improvement on smal benchmarks, without degradati= on on real apps. > It can be compiled in reasonale time (GOTO requres significant time anda = lot of memory). > Finally HYBRID fallbak to CALL if compiler doesn't provide necessary exte= nsions. While at it how does this compare to jit branch? >=20 > Thanks. Dmitry. >=20 > On May 5, 2017 10:26 PM, Matt Wilmas wrote: > Hi Dmitry, >=20 > ----- Original Message ----- > From: "Dmitry Stogov" > Sent: Wednesday, May 03, 2017 >=20 >> Hi, >>=20 >>=20 >> I propose a new VM instruction dispatch technique, that provides great >> speed up on small benchmarks (1.5 times on bench.php) >=20 > Interesting. :-) How does this compare to pure GOTO dispatch...? >=20 >> Please review https://github.com/php/php-src/pull/2507 >>=20 >> Take into account, that HYBRID VM is not enabled by default and VM has t= o >> be regenerated by "php zend_vm_gen.php --with-vm-kind=3DHYBRID" >>=20 >>=20 >> It doesn't work with phpdbg, out of the box, and may make some troubles = to >> xdebug and other system extensions. >>=20 >>=20 >> I'm going to commit this into master after review and then rise question >> about enabling it by default in PHP-7.2. >>=20 >>=20 >> Thanks. Dmitry. >=20 > - Matt >=20 >=20