Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99043 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43302 invoked from network); 15 May 2017 14:43:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2017 14:43:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 104.47.36.138 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 104.47.36.138 mail-sn1nam02on0138.outbound.protection.outlook.com Received: from [104.47.36.138] ([104.47.36.138:13850] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/5A-15531-58EB9195 for ; Mon, 15 May 2017 10:43:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RWSoftware.onmicrosoft.com; s=selector1-zend-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1GJ2BuIGCDlXUB5mywPl8qsRV3p/KpNCn0ZtRAog1ZE=; b=hLBgaRK7+oMPoVfxIWJe3u0QnV+ydL/HRkD60AIp59VlVCuLj51rG2YjaulwK5ifBvp0ZqfR8aiAsfGzfQThIpRCnGCa+1LG/74X8OqN0nTpxyBRihetXksVhW7Z9UIQ0i7dEjLvGxXepi8HNqepZoii3e6kXRW8Q+MbFv7pKns= Received: from MWHPR02MB2477.namprd02.prod.outlook.com (10.168.204.147) by MWHPR02MB2510.namprd02.prod.outlook.com (10.168.205.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1084.16; Mon, 15 May 2017 14:43:13 +0000 Received: from MWHPR02MB2477.namprd02.prod.outlook.com ([10.168.204.147]) by MWHPR02MB2477.namprd02.prod.outlook.com ([10.168.204.147]) with mapi id 15.01.1084.029; Mon, 15 May 2017 14:43:12 +0000 To: PHP internals list CC: Nikita Popov , Xinchen Hui , Sara Golemon , Zeev Suraski Thread-Topic: HYBRID VM Thread-Index: AQHSzYUt8aN8f97/yE2fJzUT2zCciA== Date: Mon, 15 May 2017 14:43:11 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: php.net; dkim=none (message not signed) header.d=none;php.net; dmarc=none action=none header.from=zend.com; x-originating-ip: [25.173.117.4] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR02MB2510;7:+U6PfUuJaLBFuKOUPzgtslk9jkAPXXeG6Gj3U5YkKPBq82D6YmJEunjKunNiJaRqlw65bvCpuPIioWCA+M/1Pn60JLXAoNwWBOUFeicNHNRZbTy63/2Q90iL+9BT32k/tmmeiIJhJc681qP5MbtJEwjs8XwtiiDAMXfPQQBhomZvEqWoMdJzeztf2Acp9a7CZameY5z4fiWq7EC86SZWC8hed6cyhx5ly/aPRFG1P/QlJshi6qxwKiUf0oZv5U/RaECZShxCJ4D19ab3lFcb8NTmbzi+4MBHcd6bC7fGVVpcKMT5BCsUT/a2usgflmqP691Pkbgt5koDou7Z8pPYHw== x-forefront-antispam-report: SFV:SKI;SCL:-1SFV:NSPM;SFS:(10019020)(6009001)(39410400002)(39840400002)(39450400003)(39400400002)(25786009)(8936002)(2900100001)(54906002)(99286003)(8676002)(81166006)(53936002)(6916009)(54896002)(7696004)(7116003)(5660300001)(4326008)(66066001)(74316002)(3480700004)(7736002)(3280700002)(2906002)(221733001)(3660700001)(189998001)(33656002)(55016002)(86362001)(38730400002)(110136004)(107886003)(122556002)(478600001)(50986999)(54356999)(3846002)(9686003)(6506006)(19627405001)(6436002)(77096006)(102836003)(6116002)(16799955002)(215093002);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR02MB2510;H:MWHPR02MB2477.namprd02.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; x-ms-office365-filtering-correlation-id: 4e78a6d5-d1a1-4723-23e1-08d49ba0b63e x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(201703131423075)(201703031133081);SRVR:MWHPR02MB2510; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(6041248)(20161123564025)(20161123555025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148);SRVR:MWHPR02MB2510;BCL:0;PCL:0;RULEID:;SRVR:MWHPR02MB2510; x-forefront-prvs: 0308EE423E spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_MWHPR02MB247716356A3E07DB102DE761BFE10MWHPR02MB2477namp_" MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2017 14:43:11.6747 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR02MB2510 Subject: HYBRID VM From: dmitry@zend.com (Dmitry Stogov) --_000_MWHPR02MB247716356A3E07DB102DE761BFE10MWHPR02MB2477namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Recently, I committed HYBRID VM into master, but didn't enable it by defaul= t yet. It provides significant performance improvement on small benchmarks (1.5 ti= mes faster on bench.php) and slight improvement on real-life apps (1-2% on = wordpress). Currently it improves PHP only on x86, x86_64 and PPC compiled = with GCC. Now, after additional testing, I like to make HYBRID VM the default VM for = PHP-7.2 and above. I would glad to do this without RFC, because it's a self containing change = that doesn't affect anything except the VM itself. It may only break some "system" PHP extensions (debuggers, profilers), that= relay on CALL VM implementation. phpdbg and xdebug are not affected and work out of the box. Anyone may regenerate and test it. php zend_vm_gen.php --with-vm-kind=3DHYBRID make Thanks. Dmitry. --_000_MWHPR02MB247716356A3E07DB102DE761BFE10MWHPR02MB2477namp_--