hi Dmitry, Nice improvements, thanks :)
Any reason not to have done the changes for windows as well? What's about putting the asm code in external file so it can used by more compilers? (some has issues with inline asm, like VC in x64 mode, other may have as well afair). Cheers, On Fri, May 20, 2011 at 11:28 AM, Dmitry Stogov <dmi...@zend.com> wrote: > Hi, > > The attached patch improves speed of numeric operations by inlining the most > probable paths directy into executor. It also optimizes some operations for > x86 CPU using assembler. > > The bench.php gets more than 10% speedup (2.5 sec instead of 2.9 sec) > Real-life applications are not affected. All the PHPT tests are passed. > > I'm going to commit the patch on next week if no objections. > Any related ideas are welcome. > > Thanks. Dmitry. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php