/* SPDX-License-Identifier: GPL-2.0 */1/*2* ashrdi3.S: The filesystem code creates all kinds of references to3* this little routine on the sparc with gcc.4*5* Copyright (C) 1995 David S. Miller ([email protected])6*/78#include <linux/export.h>9#include <linux/linkage.h>1011.text12ENTRY(__ashrdi3)13tst %o214be 3f15or %g0, 32, %g21617sub %g2, %o2, %g21819tst %g220bg 1f21sra %o0, %o2, %o42223sra %o0, 31, %o424sub %g0, %g2, %g225ba 2f26sra %o0, %g2, %o527281:29sll %o0, %g2, %g330srl %o1, %o2, %g231or %g2, %g3, %o5322:33or %g0, %o4, %o034or %g0, %o5, %o1353:36jmpl %o7 + 8, %g037nop38ENDPROC(__ashrdi3)39EXPORT_SYMBOL(__ashrdi3)404142