Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More int->size_t and string overflow fixes | Stanislav Malyshev | 2016-11-05 | 1 | -0/+13 |
| | |||||
* | rename publicly exposed symbol to avoid name conflicts | Anatol Belski | 2016-10-13 | 1 | -1/+1 |
| | |||||
* | Fix potential overflows in php_pcre_replace_impl | Stanislav Malyshev | 2016-10-12 | 1 | -0/+12 |
| | |||||
* | bump year which is missed in rev 49493a2 | Xinchen Hui | 2016-01-02 | 1 | -1/+1 |
| | |||||
* | Improve performance of PowerPC64 ZEND_SIGNED_MULTIPLY_LONG | Anton Blanchard | 2015-07-28 | 1 | -14/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | Detecting overflow with the XER is slow, partially because we have to clear it before use. We can do better by using a trick where we compare the high 64 bits of the result with the low 64 bits shifted right 63 bits. This is 7% faster on a POWER8 running a simple testcase: <?php function testcase($count = 100000000) { for ($i = 0; $i < $count; $i++) { $x = 1; $x = $x * 2; $x = $x * 2; $x = $x * 2; $x = $x * 2; } } testcase(); ?> | ||||
* | merge ZEND_SIGNED_MULTIPLY_LONG for i386 and x86_64 | Elan Ruusamäe | 2015-02-28 | 1 | -13/+1 |
| | | | | | as the definitions are identical refs b7eb3c1c5a858e98985adc2335df9b4a021ade51 | ||||
* | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | PowerPC64 support in safe_address function | Gustavo Frederico Temple Pedrosa | 2014-12-16 | 1 | -0/+24 |
| | | | | | Add a ppc64-specific implementation of the safe_address function with overflow checking. | ||||
* | PowerPC64 support in long multiplication | Gustavo Frederico Temple Pedrosa | 2014-12-01 | 1 | -0/+18 |
| | | | | | | In long integer multiplications, avoid casting both operands to long double and use an inline assembly-based overflow checking function instead. | ||||
* | Fix allocator for 64bit zend_long with 32bit long | Nikita Popov | 2014-10-16 | 1 | -1/+1 |
| | |||||
* | Drop zend_long64 in favor of int64_t | Nikita Popov | 2014-10-16 | 1 | -5/+5 |
| | | | | | Also drop ZEND_HAVE_LONG64, because we already require the presence of a int64_t type. | ||||
* | Expose zend_safe_address() and use it in zend_arena_calloc() | Dmitry Stogov | 2014-09-18 | 1 | -0/+138 |
| | |||||
* | Revert "Move safe_address into zend_multiply.h" | Nikita Popov | 2014-09-06 | 1 | -126/+0 |
| | | | | | | | This reverts commit 43b02e169c718335a82b8c90c3252194f988659a. I'm getting symbol resolution issues for zend_error_noreturn in the opcache.so, so reverting this for now. | ||||
* | Move safe_address into zend_multiply.h | Nikita Popov | 2014-09-06 | 1 | -0/+126 |
| | | | | | | | This allows reuse in zend_arena_calloc. Also renamed the function to zend_safe_address as it's no longer private to the allocator. | ||||
* | Fixed constants in Zend/zend_multiply.h | Andrea Faulds | 2014-08-27 | 1 | -1/+1 |
| | | | | | Conflicts: Zend/zend_multiply.h | ||||
* | master renamings phase 5 | Anatol Belski | 2014-08-25 | 1 | -1/+1 |
| | |||||
* | master renames phase 1 | Anatol Belski | 2014-08-25 | 1 | -12/+12 |
| | |||||
* | further fixes on core | Anatol Belski | 2014-08-16 | 1 | -1/+1 |
| | |||||
* | first shot on merging the core fro the int64 branch | Anatol Belski | 2014-08-16 | 1 | -11/+24 |
| | |||||
* | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Merge branch 'PHP-5.4' into PHP-5.5 | Gustavo Lopes | 2013-04-30 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | * PHP-5.4: Fix bug #64729: compilation failure on x32 Conflicts: Zend/zend_alloc.c | ||||
| * | Fix bug #64729: compilation failure on x32 | Gustavo Lopes | 2013-04-30 | 1 | -2/+2 |
| | | |||||
| * | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | | |||||
| * | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | |||||
| * | MFH: Arithmetic speedup. Inlined most probable code-paths for arithmetic ↵ | Dmitry Stogov | 2011-05-31 | 1 | -0/+12 |
| | | | | | | | | operations directly into executor. | ||||
* | | Low-level ARM optimizations | Ard Biesheuvel | 2013-02-11 | 1 | -10/+35 |
| | | | | | | | | | | - added ARM versions of zend_mm_high_bit()/zend_mm_low_bit() - improved safe_address() | ||||
* | | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | | |||||
* | | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | |||||
* | | Arithmetic speedup. Inlined most probable code-paths for arithmetic ↵ | Dmitry Stogov | 2011-05-23 | 1 | -0/+12 |
|/ | | | | operations directly into executor. | ||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-05 | 1 | -1/+1 |
| | |||||
* | Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | Optimized ZEND_SIGNED_MULTIPLY_LONG() (Matt) | Dmitry Stogov | 2008-07-24 | 1 | -0/+13 |
| | |||||
* | Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | MFB:- Fixed ZEND_SIGNED_MULTIPLY_LONG() so that ext/filter/tests/046.phpt ↵ | foobar | 2007-04-10 | 1 | -2/+2 |
| | | | | wont fail. (Integer overflow) | ||||
* | Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | - Update copyright notices to 2006 | Andi Gutmans | 2006-01-04 | 1 | -1/+1 |
| | |||||
* | Bump up the year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | Readd x86 implementation | Sascha Schumann | 2004-03-17 | 1 | -1/+18 |
| | |||||
* | - Improved patch for support multiplication on 64bit machines | Andi Gutmans | 2004-03-17 | 1 | -15/+6 |
| | |||||
* | - Apply Ard's patch to support multiplication & overflow on both 32bit | Andi Gutmans | 2004-03-17 | 1 | -27/+19 |
| | | | | | and 64bit machines | ||||
* | - Happy new year and PHP 5 for rest of the files too.. | foobar | 2004-01-08 | 1 | -1/+1 |
| | | | | | # Should the LICENSE and Zend/LICENSE dates be updated too? | ||||
* | - Missing $Id$ tag | foobar | 2003-06-10 | 1 | -0/+2 |
| | |||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -1/+1 |
| | |||||
* | mfb #24025 fix | Sascha Schumann | 2003-06-06 | 1 | -1/+3 |
| | |||||
* | Fix the *= operator | Sascha Schumann | 2003-04-29 | 1 | -2/+3 |
| | | | | | Slightly modified patch by Wez Furlong | ||||
* | add safe_emalloc | Sascha Schumann | 2003-04-24 | 1 | -0/+42 |