diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2025-01-08 17:27:03 +0300 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-01-13 11:50:17 +0300 |
commit | 90c5515dcb9c824db244f42a98c765bd0542f109 (patch) | |
tree | ab8d86595620040aaa46f7ed88c0a15f75f09da2 | |
parent | a88c26bb8e04ee5f2678225c0130a5fbc08eef85 (diff) | |
download | linux-90c5515dcb9c824db244f42a98c765bd0542f109.tar.xz |
s390/amode31: Use exrl instead of ex
exrl is present in all machines currently supported, therefore prefer
it over ex. This saves one instruction and doesn't need an additional
register to hold the address of the target instruction.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
-rw-r--r-- | arch/s390/kernel/text_amode31.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kernel/text_amode31.S b/arch/s390/kernel/text_amode31.S index c0a70efa2426..26f2981aa09e 100644 --- a/arch/s390/kernel/text_amode31.S +++ b/arch/s390/kernel/text_amode31.S @@ -18,8 +18,7 @@ * affects a few functions that are not performance-relevant. */ .macro BR_EX_AMODE31_r14 - larl %r1,0f - ex 0,0(%r1) + exrl 0,0f j . 0: br %r14 .endm |