diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2016-12-07 13:45:38 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-12-12 12:11:32 +0100 |
commit | b4623d4e5b2370fcf1200cbf832aaa53f6e96ef3 (patch) | |
tree | 23f0a9923f2f77cafc9ac097b1c9dd350ec0a55b /Documentation/i2c/ten-bit-addresses | |
parent | 82897ede9235d31c50074ce1da81828aa2f3d70c (diff) | |
download | talos-obmc-linux-b4623d4e5b2370fcf1200cbf832aaa53f6e96ef3.tar.gz talos-obmc-linux-b4623d4e5b2370fcf1200cbf832aaa53f6e96ef3.zip |
s390: provide memmove implementation
Provide an s390 specific memmove implementation which is faster than
the generic implementation which copies byte-wise.
For non-destructive (as defined by the mvc instruction) memmove
operations the following table compares the old default implementation
versus the new s390 specific implementation:
size old new
1 1ns 8ns
2 2ns 8ns
4 4ns 8ns
8 7ns 8ns
16 17ns 8ns
32 35ns 8ns
64 65ns 9ns
128 146ns 10ns
256 298ns 11ns
512 537ns 11ns
1024 1193ns 19ns
2048 2405ns 36ns
So only for very small sizes the old implementation is faster. For
overlapping memmoves, where the mvc instruction can't be used, the new
implementation is as slow as the old one.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'Documentation/i2c/ten-bit-addresses')
0 files changed, 0 insertions, 0 deletions