[php-src] jit-arm64: Fixed condition and avoid usage of non-temporary registers

From: Date: Fri, 23 Apr 2021 11:01:17 +0000
Subject: [php-src] jit-arm64: Fixed condition and avoid usage of non-temporary registers
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115786@lists.php.net to get a copy of this message
Author: Dmitry Stogov (dstogov) Date: 2021-04-23T14:00:44+03:00 Commit: https://github.com/php/php-src/commit/5c9d9c84c8400138cfe7371cf67ee7c732070865 Raw diff: https://github.com/php/php-src/commit/5c9d9c84c8400138cfe7371cf67ee7c732070865.diff Fixed condition and avoid usage of non-temporary registers Changed paths: M ext/opcache/jit/zend_jit_arm64.dasc Diff: diff --git a/ext/opcache/jit/zend_jit_arm64.dasc b/ext/opcache/jit/zend_jit_arm64.dasc index 8c30d95e6dc8..89985b469f03 100644 --- a/ext/opcache/jit/zend_jit_arm64.dasc +++ b/ext/opcache/jit/zend_jit_arm64.dasc @@ -2631,14 +2631,14 @@ static int zend_jit_set_valid_ip(dasm_State **Dst, const zend_op *opline) static int zend_jit_check_timeout(dasm_State **Dst, const zend_op *opline, const void *exit_addr) { - | MEM_LOAD_ZTS ldrb, REG0w, executor_globals, vm_interrupt, TMP1 + | MEM_LOAD_ZTS ldrb, TMP1w, executor_globals, vm_interrupt, TMP1 if (exit_addr) { - | NIY // cbnz REG0w, &exit_addr + | NIY // cbnz TMP1w, &exit_addr } else if (last_valid_opline == opline) { || zend_jit_use_last_valid_opline(); - | cbnz REG0w, ->interrupt_handler + | cbnz TMP1w, ->interrupt_handler } else { - | cbz REG0w, >1 + | cbnz TMP1w, >1 |.cold_code |1: | LOAD_IP_ADDR opline

« previous php.cvs (#115786) next »