Hello all,
Some of the senior citizens in this community may remember me.
I used to be involved in PHP development (and went to some
conferences) in 2002-2005.
I am now working for Linaro (www.linaro.org), trying to engineer
the best LAMP stack possible for ARM servers (32 and 64 bit).
I would like to contribute a patch to Zend/zend_multiply.h. I was
already co-author of this code, and I would like to contribute
ARM accelerated implementations for ZEND_SIGNED_MULTIPLY_LONG().
I have implemented them for both 32 and 64 bit, but the 64-bit
one is especially important as it falls back to floating point
calculations at the moment. I noticed a speed up of about 10%
running Zend/bench.php for the 64-bit version.
Patch is attached.
Cheers,
Ard.
Gmail ate my attachment the 1st time, trying Thunderbird instead ...
Welcome back Ard. Looks good to me, but I don't have an ARM box to test
on. Go to http://php.net/git-php.php and fill in the form at the bottom
there and we will get you set up with a git account unless you already
have one. I did a quick search and couldn't find it.
-Rasmus
Welcome back Ard. Looks good to me, but I don't have an ARM box to test
Thanks!
I have done some manual testing on the corner cases, both on the 64-bit
ARMv8 emulator and a 32-bit TI Beaglebone, and have also run the test
cases in the Zend/ folder, and everything appears to work just fine.
I will add a couple of simple test cases for both 32 and 64 bit targets, and
make sure the various implementations are aligned.
on. Go to http://php.net/git-php.php and fill in the form at the bottom
there and we will get you set up with a git account unless you already
have one. I did a quick search and couldn't find it.
Done,
Cheers,
Ard.