com php-src: JMP optimization: ext/opcache/jit/zend_jit_x 86.dasc

From: Date: Fri, 17 Jul 2020 08:07:22 +0000
Subject: com php-src: JMP optimization: ext/opcache/jit/zend_jit_x 86.dasc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-112199@lists.php.net to get a copy of this message
Commit: 6b2c4be48a7ed6eb6c4a1dea051bd01fc7fbed8c Author: Dmitry Stogov <dmitry@zend.com> Fri, 17 Jul 2020 11:07:22 +0300 Parents: e0af92c16e42bafe542f08268be73b807d550be0 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6b2c4be48a7ed6eb6c4a1dea051bd01fc7fbed8c Log: JMP optimization Changed paths: M ext/opcache/jit/zend_jit_x86.dasc Diff: diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 75f7131f80..6a2fa0a7c8 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -7649,7 +7649,9 @@ static int zend_jit_bool_jmpznz(dasm_State **Dst, const zend_op *opline, const z if (!jmp_done) { if (exit_addr) { if (branch_opcode == ZEND_JMPNZ || branch_opcode == ZEND_JMPNZ_EX) { - | jmp >9 + if (op1_info & MAY_BE_LONG) { + | jmp >9 + } } else if (op1_info & MAY_BE_LONG) { | jmp &exit_addr }

« previous php.cvs (#112199) next »