[php-src] jit-arm64: Support for missed IS_NOT_IDENTICAL cases

From: Date: Thu, 22 Apr 2021 11:16:39 +0000
Subject: [php-src] jit-arm64: Support for missed IS_NOT_IDENTICAL cases
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-115755@lists.php.net to get a copy of this message
Author: Dmitry Stogov (dstogov) Date: 2021-04-22T14:16:28+03:00 Commit: https://github.com/php/php-src/commit/52642e8c0b6dc5502ddf9e9ce249b02b70b71208 Raw diff: https://github.com/php/php-src/commit/52642e8c0b6dc5502ddf9e9ce249b02b70b71208.diff Support for missed IS_NOT_IDENTICAL cases 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 8219dc19650f..136322647c52 100644 --- a/ext/opcache/jit/zend_jit_arm64.dasc +++ b/ext/opcache/jit/zend_jit_arm64.dasc @@ -5889,7 +5889,14 @@ static int zend_jit_cmp_double_common(dasm_State **Dst, const zend_op *opline, z |1: break; case ZEND_IS_NOT_IDENTICAL: - | NIY // TODO + if (exit_addr) { + | NIY // bvs &exit_addr + | NIY // bne &exit_addr + } else { + | bvs >1 + | beq => target_label + |1: + } break; case ZEND_IS_SMALLER: if (swap) { @@ -5948,7 +5955,14 @@ static int zend_jit_cmp_double_common(dasm_State **Dst, const zend_op *opline, z } break; case ZEND_IS_NOT_IDENTICAL: - | NIY // TODO + if (exit_addr) { + | bvs >1 + | NIY // beq &exit_addr + |1: + } else { + | bvs => target_label + | bne => target_label + } break; case ZEND_IS_SMALLER: if (swap) {

« previous php.cvs (#115755) next »