Ubuntu 11.04: Support AMD Bulldozer processor - glibc (memset)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Feature description:
Backport patch to pick SSE2 version of x86-64 memset on AMD Bulldozer to Ubuntu 11.04 glibc.
Partner benefit:
memset shows up significantly in the profile of major apps and benchmarks.
Since several Linux compilers like gcc, open64 etc rely on distribution glibc for string routines, this would make a significant difference to software performance readiness of AMD's upcoming Bulldozer processors.
We are observing a 14% to 54% improvement in cycle counts for the SSE2 version of x86-64 memset compared to the integer version, for blocks between 144B and 8K. glibc trunk dispatches to integer version of memset on Bulldozer currently in trunk. The patch below fixes that.
This patch also fixes the following bug in x86-64 memset - Currently for misaligned blocks > 144B, based on the misalignment, memset code jumps into the integer code path even if the startup code explicitly chooses SSE2 for a processor.
Development status:
Submitted to mailing list.
Upstream submission link with upstream submission status:
Submitted at http://
affects: | glibc (Ubuntu) → eglibc (Ubuntu) |
This bug was fixed in the package eglibc - 2.13-0ubuntu5
---------------
eglibc (2.13-0ubuntu5) natty; urgency=low
* Enable SSE2 memset for AMD's upcoming Orochi processor and bugfix.
LP: #735020.
-- Matthias Klose <email address hidden> Mon, 14 Mar 2011 21:35:41 +0100