Skip to content

Commit 90c5515

Browse files
svens-s390Alexander Gordeev
authored andcommitted
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>
1 parent a88c26b commit 90c5515

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/s390/kernel/text_amode31.S

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
* affects a few functions that are not performance-relevant.
1919
*/
2020
.macro BR_EX_AMODE31_r14
21-
larl %r1,0f
22-
ex 0,0(%r1)
21+
exrl 0,0f
2322
j .
2423
0: br %r14
2524
.endm

0 commit comments

Comments
 (0)