Req #69703 [NEW]: Use __builtin_clzl on PowerPC

From: Date: Mon, 25 May 2015 01:53:04 +0000
Subject: Req #69703 [NEW]: Use __builtin_clzl on PowerPC
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192874@lists.php.net to get a copy of this message
From: dja at axtens dot net Operating system: Linux PHP version: 5.6Git-2015-05-25 (Git) Package: Performance problem Bug Type: Feature/Change Request Bug description:Use __builtin_clzl on PowerPC Description: ------------ Zend/zend_alloc.c uses __builtin_clzl in zend_mm_high_bit and zend_mm_low_but, but only if (defined(__arm__) || defined(__aarch64__)). This is overly restrictive: it's also usable if __defined__(__powerpc__). 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. -- Edit bug report at https://bugs.php.net/bug.php?id=69703&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69703&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69703&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69703&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=69703&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=69703&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=69703&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=69703&r=needscript Try newer version: https://bugs.php.net/fix.php?id=69703&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=69703&r=support Expected behavior: https://bugs.php.net/fix.php?id=69703&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=69703&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=69703&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=69703&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69703&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=69703&r=dst IIS Stability: https://bugs.php.net/fix.php?id=69703&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=69703&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=69703&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=69703&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=69703&r=mysqlcfg

« previous php.bugs (#192874) next »