S390: Use mvcle for copies > 1MB on 32bit with default memcpy variant.
authorStefan Liebler <stli@linux.vnet.ibm.com>
Tue, 24 May 2016 08:39:13 +0000 (10:39 +0200)
committerStefan Liebler <stli@linux.vnet.ibm.com>
Tue, 24 May 2016 08:39:13 +0000 (10:39 +0200)
commit04bb21ac93e90d7696bcaf8febe2b2dd2d83585a
tree5e4d119652c416d213685c8e1295855794bab80f
parentdea39b13e2958a7f0e75b5594a06d97d61cc439f
S390: Use mvcle for copies > 1MB on 32bit with default memcpy variant.

If more than 255 bytes should be copied, the algorithm jumps away.
Before this patch, it jumps to the mvc-loop (.L_G5_12).
Now it jumps first to the "> 1MB" check, which jumps away to
__memcpy_mvcle. Otherwise, the mvc-loop (.L_G5_12) copies the bytes.

ChangeLog:

* sysdeps/s390/s390-32/memcpy.S (memcpy):
Jump to 1MB check before executing mvc-loop.
ChangeLog
sysdeps/s390/s390-32/memcpy.S