summaryrefslogtreecommitdiff
path: root/ext/standard/crc32.c
Commit message (Collapse)AuthorAgeFilesLines
* crc32 module, clang spurious warning removal.David CARLIER2021-02-251-3/+7
| | | | Closes GH-6725.
* crc32 mac build fixDavid CARLIER2021-02-011-0/+1
| | | | Closes GH-6651.
* Mac M1 crc32 detection supportDavid CARLIER2021-01-041-0/+6
| | | | Closes GH-6556.
* X86: Fast CRC32 computation using PCLMULQDQ instructionFrank Du2020-09-021-1/+8
| | | | | | | | | | Based on: "Fast CRC Computation for Generic Polynomials Using PCLMULQDQ Instruction" V. Gopal, E. Ozturk, et al., 2009, http://intel.ly/2ySEwL0 Signed-off-by: Frank Du <frank.du@intel.com> Closes GH-6018
* Remove proto comments from C filesMax Semenik2020-07-061-2/+1
| | | | Closes GH-5758
* Merge branch 'PHP-7.4'Nikita Popov2020-05-141-2/+2
|\ | | | | | | | | | | * PHP-7.4: Fix lcov genhtml: ERROR: cannot read [file] Properly detect CRC32 APIs on aarch64 from configure
| * Properly detect CRC32 APIs on aarch64 from configureOndřej Surý2020-05-141-2/+2
| | | | | | | | | | | | | | The CRC32 APIs are optional for armv8-a. They became mandatory since armv8.1-a. Closes GH-5564.
* | Merge branch 'PHP-7.4'Nikita Popov2020-03-101-2/+2
|\ \ | |/ | | | | | | * PHP-7.4: Check for sys/auxv.h before using it.
| * Check for sys/auxv.h before using it.Peter Seiderer2020-03-101-2/+2
| | | | | | | | | | | | | | | | | | Fixes aarch64 compile with uclibc-ng (does not provide sys/auxv.h header file). Closes GH-5248. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
* | Avoid used of "named fn" in ext/standardNikita Popov2020-02-251-1/+1
| |
* | Merge branch 'PHP-7.4'Nikita Popov2019-10-231-2/+2
|\ \ | |/ | | | | | | * PHP-7.4: Fix aarch64 crc32 implementation
| * Fix aarch64 crc32 implementationNikita Popov2019-10-231-2/+2
| | | | | | | | | | RETVAL vs RETURN mixup resulted in the fallback implementation running as well.
* | Merge branch 'PHP-7.4'Nikita Popov2019-10-021-21/+28
|\ \ | |/
| * Fix AArch64 buildNikita Popov2019-10-021-21/+28
| |
* | Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
|/ | | | Closes GH-4732.
* [AArch64] Use crc32 instructions when availableSebastian Pop2019-07-111-0/+50
| | | | | | | | | | | | | The time goes from 0.838s down to 0.029s (a 28x speedup) on a Graviton A1 instance and the following benchmark: function simple_crc32() { $a = "foo"; for ($i = 0; $i < 10000; $i++) { crc32($a); $a .= "o".$i; } }
* Remove local variablesPeter Kokot2019-02-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Use new param API in standardSara Golemon2016-12-301-3/+4
|
* Replace usage of php_int32 and php_uint32 with int32_t and uint32_tRouven Weßling2016-02-041-2/+2
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-1/+1
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | first show to make 's' work with size_tAnatol Belski2014-08-271-1/+1
| |
* | master renames phase 1Anatol Belski2014-08-251-1/+1
| |
* | fix macros in the 5 basic extensionsAnatol Belski2014-08-161-1/+1
| |
* | Fixed compilation warningsDmitry Stogov2014-04-221-2/+2
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - protosPierre Joye2006-02-091-0/+3
|
* - revert last fixPierre Joye2006-02-091-9/+7
| | | | | | | - ensure that we are in 32bit - do not try to compare the decimal values but hex, php does not have unsigned integer
* - #36306, crc32() function result differs on 32-bit and 64-bit platformsPierre Joye2006-02-071-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|