s390/lib: Use exrl instead of ex in string functions
authorSven Schnelle <svens@linux.ibm.com>
Thu, 12 Dec 2024 09:55:03 +0000 (10:55 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 17 Dec 2024 11:46:13 +0000 (12:46 +0100)
commit807e39ed4da2cd7e6fe2c38a8d41d36f4c59e861
tree645ffad04b84b125607b180cb5cd22e2dc8cea23
parentf8107a8be0b2e92798ded4aff45e3a94b763ce61
s390/lib: Use exrl instead of ex in string functions

exrl is present in all machines currently supported in the linux
kernel, therefore prefer it over ex. This saves one instruction
and doesn't need an additional register to hold the address of the
target instruction.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/lib/mem.S