[php-src] jit-arm64: Fixed incorrect register usage

From: Date: Tue, 27 Apr 2021 18:31:04 +0000
Subject: [php-src] jit-arm64: Fixed incorrect register usage
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115901@lists.php.net to get a copy of this message
Author: Dmitry Stogov (dstogov) Date: 2021-04-27T21:30:39+03:00 Commit: https://github.com/php/php-src/commit/d8e097efa51c8c2451a055d30788eed122d09578 Raw diff: https://github.com/php/php-src/commit/d8e097efa51c8c2451a055d30788eed122d09578.diff Fixed incorrect register usage 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 a3ec4a303b58..34e70321fbde 100644 --- a/ext/opcache/jit/zend_jit_arm64.dasc +++ b/ext/opcache/jit/zend_jit_arm64.dasc @@ -1742,11 +1742,11 @@ static int zend_jit_leave_throw_stub(dasm_State **Dst) | b ->exception_handler } else { | GET_IP TMP1 - | ldrb TMP1w, OP:TMP1->opcode - | cmp TMP1w, #ZEND_HANDLE_EXCEPTION + | ldrb TMP2w, OP:TMP1->opcode + | cmp TMP2w, #ZEND_HANDLE_EXCEPTION | beq >5 | // EG(opline_before_exception) = opline; - | MEM_STORE_ZTS str, IP, executor_globals, opline_before_exception, TMP2 + | MEM_STORE_ZTS str, TMP1, executor_globals, opline_before_exception, TMP2 |5: | // opline = EG(exception_op); | LOAD_IP_ADDR_ZTS executor_globals, exception_op, TMP2

« previous php.cvs (#115901) next »