[Bug libc/19765] New: s390 needs an optimized mempcpy

carlos at redhat dot com sourceware-bugzilla@sourceware.org
Fri Mar 4 14:29:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=19765

            Bug ID: 19765
           Summary: s390 needs an optimized mempcpy
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

On s390 we have an optimized memcpy, but no optimized mempcpy.

Without an optimized mempcpy it has been shown that transformation via inline
to memcpy + addition yields performance improvements.

That performance improvement generally comes at the cost of a callee saved
register, see this bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=19759

On s390 mempcpy should be implemented (perhaps using memcpy as x86_64 does),
and the generated code compared versus the inlined memcpy + addition.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list