x86: don't use REP_GOOD or ERMS for small memory copies
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Apr 2023 18:47:06 +0000 (11:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 19 Apr 2023 00:05:28 +0000 (17:05 -0700)
commit68674f94ffc9dddc45e7733963ecc35c5eda9efd
tree27fe62ec48867310577c31dcc5953d52944d3348
parent6a8f57ae2eb07ab39a6f0ccad60c760743051026
x86: don't use REP_GOOD or ERMS for small memory copies

The modern target to use is FSRM (Fast Short REP MOVS), and the other
cases should only be used for bigger areas (ie mainly things like page
copying and clearing).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/lib/memcpy_64.S