summaryrefslogtreecommitdiff
path: root/Zend/zend_cpuinfo.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.4'Nikita Popov2019-07-011-3/+0
|\
| * Disable RTLD_DEEPBIND under memory sanitizerNikita Popov2019-07-011-3/+0
| | | | | | | | This was already done for address sanitizer.
* | Merge branch 'PHP-7.4'Nikita Popov2019-06-281-5/+1
|\ \ | |/
| * Disable ifunc resolvers if memory sanitizer is usedNikita Popov2019-06-281-5/+1
| | | | | | | | | | | | Just marking them as no_sanitize("memory") is unforunately not sufficient, as the function still gets instrumented -- the attribute only disables reporting.
| * Add support for MemorySanitizerStanislav Malyshev2019-03-061-1/+12
| |
| * Fix shifting signed values too farStanislav Malyshev2019-03-061-1/+1
| | | | | | | | | | | | | | | | Signed shift of 31 for int and 63 for long is flagged as undefined behavior by UBSan (-fsanitize=undefined) and seems to be indeed so according to the standard. The patch converts such cases to use unsigned.
* | Change to php.net mail addressXinchen Hui2019-04-081-1/+1
| |
* | Add support for MemorySanitizerStanislav Malyshev2019-03-061-1/+12
| |
* | Fix shifting signed values too farStanislav Malyshev2019-03-051-1/+1
|/ | | | | | | | Signed shift of 31 for int and 63 for long is flagged as undefined behavior by UBSan (-fsanitize=undefined) and seems to be indeed so according to the standard. The patch converts such cases to use unsigned.
* Fix typos in code comments in Zend/ [skip ci]Tyson Andre2019-02-181-2/+2
|
* Update and fix remaining year ranges (2019)Peter Kokot2019-02-081-1/+1
| | | | | | This patch follows previous license year ranges updates. With new approach source code files now have simplified headers with license information without year ranges.
* Remove local variablesPeter Kokot2019-02-031-8/+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.
* Fixed bug #77447Nikita Popov2019-01-141-0/+16
| | | | By disabling asan for CPU support helpers used in ifunc resolvers.
* Added SSE3 detectionXinchen Hui2018-02-131-0/+11
|
* Optimized base64_encode/decode with SIMD instructionsXinchen Hui2018-02-121-16/+15
|
* Fixed cpuinfo in LLVM GCC & Added AVX2 detectionXinchen Hui2018-02-101-4/+20
| | | | | Seems it only defines __builtin_cpu_supports but no __builtin_cpu_init (Apple LLVM version 9.0.0 (clang-900.0.38))
* Fixed cpu feature check in reslover functionsXinchen Hui2018-02-101-1/+66
|
* Separate the cpuinfo initialization part and call it at startupAnatol Belski2018-01-161-0/+2
|
* Added missed header fileXinchen Hui2018-01-161-0/+104