Skip to content

Commit dc89a2d

Browse files
committed
Fixed ZTS build.
1 parent 60436b3 commit dc89a2d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ext/opcache/jit/zend_jit_arm64.dasc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
|.define TMP1w, w15
7474
|.define TMP2, x16
7575
|.define TMP2w, w16
76-
|.define TMP3, x17
76+
|.define TMP3, x17 // TODO: remember about hard-coded: mrs TMP3, tpidr_el0
7777
|.define TMP3w, w17
7878
|.define FPTMP, v16
7979
|.define FPTMPd, d16
@@ -440,8 +440,7 @@ static int logical_immediate_p (uint64_t value, uint32_t reg_size)
440440
|.endmacro
441441

442442
|.macro LOAD_TSRM_CACHE, reg
443-
| //.byte 0x4d, 0xd0, 0x3b, 0xd5 // TODO: hard-coded: mrs TMP3, tpidr_el0
444-
| .long 0xd53bd04d // TODO: hard-coded: mrs TMP3, tpidr_el0
443+
| .long 0xd53bd051 // TODO: hard-coded: mrs TMP3, tpidr_el0
445444
|| ZEND_ASSERT(tsrm_ls_cache_tcb_offset <= LDR_STR_PIMM64);
446445
| ldr reg, [TMP3, #tsrm_ls_cache_tcb_offset]
447446
|.endmacro

0 commit comments

Comments
 (0)