Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121065 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 44551 invoked from network); 15 Sep 2023 10:15:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Sep 2023 10:15:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BBEA71804FF for ; Fri, 15 Sep 2023 03:15:40 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 15 Sep 2023 03:15:40 -0700 (PDT) Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-529fb04a234so2319194a12.3 for ; Fri, 15 Sep 2023 03:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694772938; x=1695377738; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=+EBQ1vpoSLJFLXokhH64LiTEEmz17blE2JdCfx4DN4w=; b=eMrfPSmlCyqA1XyUXg0Ps3rFKcYumJIWkEiRpYpmz+tAYCbPxMQI4CCgc24otkAL3u uCdXCSQjgpMdPH0OgEiZTOcxtHXzZ33dRFX3QUsljdiua4IQJQwgJp+1m/h5ugSytIPA MDNV78Lvg34Ky8CRSHRWWe79YfMKV+jGeIQ1TYO4jZKHOj0vqyZ7o4MJoDnwGbCrxlxH IwX1z0A9yxm88oSA2EOigE/6VRTq7bkbBgqEEjTc+LQ4WGMNrmfW15WrCtQgfB/iSlS3 COWnJevH+786uOrUMb05+Ih0MuSV8kKTJ2y1Iq/mBeX9S3lJyhZPk6U2bfduDcWZNwDq 7hJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694772938; x=1695377738; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+EBQ1vpoSLJFLXokhH64LiTEEmz17blE2JdCfx4DN4w=; b=gWYWnwLuzNLMk9MoWND+Q/80aSyLqj304hDrqY69fOhRLDbXtafTKIPkawv+Xwsn/7 0ce/iRSEUkAhA1/snN4vEKgRc81q6zZVMdplRECSAXyrSQfpEfSt3q+tJ3yHpFHHEQhY K8c0F1iaNfTfeUR20qP/2SGdhMjYr6DgjSbyu9a/623xeIerDNcQnxCyd6muD6pVAwI9 xPv6472Qfy52GfzmnW7RaFb/JEYY9J4oC9uhinNR0hq+ZKvKWBT/GjH2gpypVaBcvXSP xGl1plOkFPR+5Fpyh9Uhmk+6QT8FN4zsl1cj94zCcvvmijikssm72kWeeipjPzL3qb37 Dv/Q== X-Gm-Message-State: AOJu0Yzi79DkEIUixGV1+rg7s02SFVElwNxAcQ0q2/s37tpO+y2Ems5N qxsVfeYGPneGAmJcCqJaUgQ4etXGvxdHp4awDQgfBCcNX1s= X-Google-Smtp-Source: AGHT+IGEdsZsI+kUzf23dz6RU7rNBRMZBGNke9Bv9V3dvNNkiERNr6beuEdpgJf8xQX9zqqTko5wjHqYwVrLZHE/qdk= X-Received: by 2002:a05:6402:1c0f:b0:530:a61f:ed1 with SMTP id ck15-20020a0564021c0f00b00530a61f0ed1mr79884edb.42.1694772937967; Fri, 15 Sep 2023 03:15:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 15 Sep 2023 13:15:26 +0300 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary="000000000000f14b980605631245" Subject: Re: [PHP-DEV] A new JIT engine for PHP-8.4/9 From: dmitrystogov@gmail.com (Dmitry Stogov) --000000000000f14b980605631245 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, After the code-review feedback, one of the most questionable decisions was changed. Instead of including IR Framework as a git submodule, now its part is embedded into php-src. This will complicate the IR/JIT development a bit, but will simplify things for everyone else. I'm going to merge https://github.com/php/php-src/pull/12079 into master next week. If someone likes to take a look before, please do it now. After the merge, I don't plan to do active PHP-JIT development for 1-2 months (I'll wait for problems, bugs, etc and work on general IR improvements). Then, in case of no major problems, I'm going to remove the old JIT implementation and make a PHP-JIT code-cleanup pass. Thanks. Dmitry. On Mon, Sep 11, 2023 at 12:28=E2=80=AFPM Dmitry Stogov wrote: > Hi internals, > > I'm glad to present a new JIT engine that is going to be used in the next > major PHP version. Now it's a real optimizing compiler with Intermediate > Representation similar to Java HotSpot server compiler. > > It makes a base for future improvements and eliminates many low-level > details of the existing PHP JIT. Instead of supporting assembler code for > different CPUs, now PHP generates a single IR and passes it to a > PHP-independent JIT engine. > > The old JIT implementation is going to be kept for a while. > > Everybody are welcome to take a look over tne code > https://github.com/php/php-src/pull/12079 > > Thanks. Dmitry. > --000000000000f14b980605631245--