RE: [PHP-DEV] Make PHP JIT to generate AVX2/AVX3 for performance improvement?

2023-10-31 Thread Su, Tao
> > > Hi Guys, > > > > > > A quick question: is it possible to enable AVX2/AVX3 in PHP JIT > generated > > > code, and hence can get some performance improvement? > > > Just check the community first: if anyone has already tried that or > got > > > some experiences? before we dive into this invest

[PHP-DEV] Make PHP JIT to generate AVX2/AVX3 for performance improvement?

2023-10-31 Thread Su, Tao
Hi Guys, A quick question: is it possible to enable AVX2/AVX3 in PHP JIT generated code, and hence can get some performance improvement? Just check the community first: if anyone has already tried that or got some experiences? before we dive into this investigation. We are discussing if we coul

[PHP-DEV] ZEND_VM_HOT is ZEND_COLD?

2022-03-30 Thread Su, Tao
ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_JMP_SPEC_HANDLER(ZEND_OPCODE_HANDLER_ARGS) === Tony Su (Su, Tao) make a 'lazy' programmer diligently with efficiency

[PHP-DEV] pls ignore this email. we are troubleshooting the email blockign issue by our email system

2022-01-23 Thread Su, Tao
=== Tony Su (Su, Tao) make a 'lazy' programmer diligently with efficiency

RE: [PHP-DEV] [Help] Reason on when to declare and protect ZEND_API function

2022-01-20 Thread Su, Tao
> On Thu, Jan 20, 2022 at 1:56 AM Su, Tao wrote: > > > > Hello internals, > > > > I am trying to read Zend header files to understand its functional > > interfaces, > > but have got confusion and anybody knows why zend_startup_system_id() > and zend_

[PHP-DEV] [Help] Reason on when to declare and protect ZEND_API function

2022-01-20 Thread Su, Tao
zend_add_system_entropy(const char *module_name, const char *hook_name, const void *data, size_t size); END_EXTERN_C() void zend_startup_system_id(void); void zend_finalize_system_id(void); === Tony Su (Su, Tao) make a 'lazy' programmer diligently with efficiency

[PHP-DEV] pls ignore this email. I am troubleshooting blocking issue to php maillist

2022-01-17 Thread Su, Tao
=== Tony Su (Su, Tao) make a 'lazy' programmer diligently with efficiency

[PHP-DEV] pls ignore this email. I am troubleshooting the maillist block issue.

2022-01-17 Thread Su, Tao

[PHP-DEV] Please ignore this email. I am troubleshooting our email system.

2022-01-17 Thread Su, Tao
=== Tony Su (Su, Tao) make a 'lazy' programmer diligently with efficiency

RE: [PHP-DEV] Reason for ZEND_JIT_COUNTER_INIT set to 32531?

2022-01-17 Thread Su, Tao
to add a few comments into the source code file for records. From: Dmitry Stogov Sent: Monday, January 17, 2022 8:12 PM To: Su, Tao Cc: PHP internals Subject: Re: [PHP-DEV] Reason for ZEND_JIT_COUNTER_INIT set to 32531? Oh, probably this is just the biggest prime number that fits into a sign

RE: [PHP-DEV] Reason for ZEND_JIT_COUNTER_INIT set to 32531?

2022-01-16 Thread Su, Tao
Thanks Dmitry for the information. With a few debug sessions, I found that 32531 is working well for any thresholds, and is also a big prime number :-). -Original Message- From: Dmitry Stogov Sent: Monday, January 17, 2022 1:37 PM To: Su, Tao Cc: PHP internals Subject: Re: [PHP-DEV

[PHP-DEV] Reason for ZEND_JIT_COUNTER_INIT set to 32531?

2022-01-13 Thread Su, Tao
LL_EX(zend_jit_trace_counter_helper, ((ZEND_JIT_COUNTER_INIT + JIT_G(hot_func) - 1) / JIT_G(hot_func))); === Tony Su (Su, Tao) make a 'lazy' programmer diligently with efficiency