ARM specific library tuning

Registered by Michael Hope

There are many libraries out there such as libc, libgmp, and libmpr that could benefit from ARM specific versions or already have ARM specific versions that should be updated for ARMv7. List, compare notes with ARM, and talk about the relative worth.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Marcus Shawcroft
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Notes from the summit pulled out into:
 https://blueprints.launchpad.net/linaro-toolchain-misc/+spec/future-library-tuning

Agenda

   Which libraries do we care about, but more importantly, which libraries should we care about?

   Candidates that we are either already working on, or have on the radar include:

      eglibc:
        Optimization of various string functions for ARMV7-a is already in progress (or complete?)

        What other areas of eglibc will benefit from ARM specific optimization?

        String function optimization is one size fits all? We need tool chain support for STT_IFUNC to select algorithms
        dynamically?

        What is involved in getting pre-linking working and robust?

      libgmp:
         The multi-precision bignum library. The existing ARM customization looks to be reasonably complete, but there are some loose ends to clean up and the code should be reviewed to determine if it it can be improved for ARMV7-a. There are reasonable number of libgmp users, so work done here

      libmpfr:
        The Multiple Precision Floating-Point Reliable Library. The existing ARM customization needs to be reviewed for completeness and opportunities for ARMV7-a optimization.

(?)

Work Items