This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]