Re: [Fwd: [PHP-DEV] PATCH: zend_alloc.c x86_64 optimization]

2007-12-20 Thread Brian Shire
ssage Subject: [PHP-DEV] PATCH: zend_alloc.c x86_64 optimization Date: Wed, 28 Nov 2007 14:27:29 -0800 From: Brian Shire <[EMAIL PROTECTED]> To: internals@lists.php.net I noticed that there where some x86_64 assembly optimizations missing from Zend/zend_alloc.c, it only accounts for i386. Th

Re: [Fwd: [PHP-DEV] PATCH: zend_alloc.c x86_64 optimization]

2007-12-20 Thread Dmitry Stogov
Hi Brain, I've committed your patch into all branches, because it not only improve performance on x86_64, but also fixes a bug in x86 code. Thank you very much. Dmitry. Original Message Subject: [PHP-DEV] PATCH: zend_alloc.c x86_64 optimization Date: Wed, 28 Nov 20

[PHP-DEV] PATCH: zend_alloc.c x86_64 optimization

2007-11-28 Thread Brian Shire
I noticed that there where some x86_64 assembly optimizations missing from Zend/zend_alloc.c, it only accounts for i386. The following patch should add x86_64 support (I don't have karma for Zend of course, patch is against 5.2.5), I've included a bench mark with a simple test script to