summaryrefslogtreecommitdiff
path: root/Zend/zend_multiply.h
Commit message (Collapse)AuthorAgeFilesLines
* More int->size_t and string overflow fixesStanislav Malyshev2016-11-051-0/+13
|
* rename publicly exposed symbol to avoid name conflictsAnatol Belski2016-10-131-1/+1
|
* Fix potential overflows in php_pcre_replace_implStanislav Malyshev2016-10-121-0/+12
|
* bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
|
* Improve performance of PowerPC64 ZEND_SIGNED_MULTIPLY_LONGAnton Blanchard2015-07-281-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_64Elan Ruusamäe2015-02-281-13/+1
| | | | | as the definitions are identical refs b7eb3c1c5a858e98985adc2335df9b4a021ade51
* bump yearXinchen Hui2015-01-151-1/+1
|
* PowerPC64 support in safe_address functionGustavo Frederico Temple Pedrosa2014-12-161-0/+24
| | | | | Add a ppc64-specific implementation of the safe_address function with overflow checking.
* PowerPC64 support in long multiplicationGustavo Frederico Temple Pedrosa2014-12-011-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 longNikita Popov2014-10-161-1/+1
|
* Drop zend_long64 in favor of int64_tNikita Popov2014-10-161-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 Stogov2014-09-181-0/+138
|
* Revert "Move safe_address into zend_multiply.h"Nikita Popov2014-09-061-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.hNikita Popov2014-09-061-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.hAndrea Faulds2014-08-271-1/+1
| | | | | Conflicts: Zend/zend_multiply.h
* master renamings phase 5Anatol Belski2014-08-251-1/+1
|
* master renames phase 1Anatol Belski2014-08-251-12/+12
|
* further fixes on coreAnatol Belski2014-08-161-1/+1
|
* first shot on merging the core fro the int64 branchAnatol Belski2014-08-161-11/+24
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Merge branch 'PHP-5.4' into PHP-5.5Gustavo Lopes2013-04-301-2/+2
|\ | | | | | | | | | | | | | | * PHP-5.4: Fix bug #64729: compilation failure on x32 Conflicts: Zend/zend_alloc.c
| * Fix bug #64729: compilation failure on x32Gustavo Lopes2013-04-301-2/+2
| |
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * MFH: Arithmetic speedup. Inlined most probable code-paths for arithmetic ↵Dmitry Stogov2011-05-311-0/+12
| | | | | | | | operations directly into executor.
* | Low-level ARM optimizationsArd Biesheuvel2013-02-111-10/+35
| | | | | | | | | | - added ARM versions of zend_mm_high_bit()/zend_mm_low_bit() - improved safe_address()
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Arithmetic speedup. Inlined most probable code-paths for arithmetic ↵Dmitry Stogov2011-05-231-0/+12
|/ | | | operations directly into executor.
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Optimized ZEND_SIGNED_MULTIPLY_LONG() (Matt)Dmitry Stogov2008-07-241-0/+13
|
* Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFB:- Fixed ZEND_SIGNED_MULTIPLY_LONG() so that ext/filter/tests/046.phpt ↵foobar2007-04-101-2/+2
| | | | wont fail. (Integer overflow)
* Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* Readd x86 implementationSascha Schumann2004-03-171-1/+18
|
* - Improved patch for support multiplication on 64bit machinesAndi Gutmans2004-03-171-15/+6
|
* - Apply Ard's patch to support multiplication & overflow on both 32bitAndi Gutmans2004-03-171-27/+19
| | | | | and 64bit machines
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* - Missing $Id$ tagfoobar2003-06-101-0/+2
|
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* mfb #24025 fixSascha Schumann2003-06-061-1/+3
|
* Fix the *= operatorSascha Schumann2003-04-291-2/+3
| | | | | Slightly modified patch by Wez Furlong
* add safe_emallocSascha Schumann2003-04-241-0/+42