Use __builtin_clzl on POWER
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php |
Unknown
|
Unknown
|
|||
php5 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Zend/zend_alloc.c uses __builtin_clzl in zend_mm_high_bit and zend_mm_low_but, but only if (defined(__arm__) || defined(
This causes a bump to speed on POWER systems: previously zend_mm_high_bit shows up on perf reports, with this patch the functions drop out of the profile entirely.
This bug has also been reported upstream (https:/
This patch was built and tested on Vivid, but is applicable to a range of PHP versions.
Changed in php5 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: patch vivid |
The attachment "__builtin_ clzl.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]