path: root/arch/s390/include/asm/string.h
diff options
authorHeiko Carstens <heiko.carstens@de.ibm.com>2017-10-04 19:27:08 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-10-09 11:18:07 +0200
commit993fef95b9c1858894d14b221e04f1161e4f4ed9 (patch)
treeb0c768f991a44cf09d660c322fec49ce36753742 /arch/s390/include/asm/string.h
parent41879ff65d8b025eace44610be0b07f678fb3224 (diff)
s390: optimize memset implementation
Like for the memset16/32/64 variants avoid that subsequent mvc instructions depend on each other since that might have negative performance impacts. This patch is currently hardly relevant since at least gcc 7.1 generates only inline memset code and not a single memset call. However there is no reason to not provide an optimized version just in case gcc generates memset calls again, like it did in the past. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/string.h')
0 files changed, 0 insertions, 0 deletions

Privacy Policy