Files
linux/arch/s390/lib/tishift.h
Heiko Carstens 51746fc082 s390/tishift: Convert __ashlti3(), __ashrti3(), __lshrti3() to C
There is no reason to have __ashlti3(), __ashrti3(), and __lshrti3()
implemented in assembler. Convert them all to C, which allows the
compiler to optimize the code if newer instructions allow that.

Reviewed-by: Juergen Christ <jchrist@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2026-06-10 16:55:22 +02:00

10 lines
259 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _S390_LIB_TISHIFT_H
#define _S390_LIB_TISHIFT_H
__int128_t __ashlti3(__int128_t a, int b);
__int128_t __ashrti3(__int128_t a, int b);
__int128_t __lshrti3(__int128_t a, int b);
#endif /* _S390_LIB_TISHIFT_H */