summaryrefslogtreecommitdiff
path: root/arch/c6x/lib/pop_rts.S
blob: f129e32943c57b370f5f3bcbc66ad92f10ba81a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;; SPDX-License-Identifier: GPL-2.0-or-later
;;  Copyright 2010  Free Software Foundation, Inc.
;;  Contributed by Bernd Schmidt <bernds@codesourcery.com>.
;;

#include <linux/linkage.h>

	.text

ENTRY(__c6xabi_pop_rts)
	lddw	.d2t2	*++B15, B3:B2
	lddw	.d2t1	*++B15, A11:A10
	lddw	.d2t2	*++B15, B11:B10
	lddw	.d2t1	*++B15, A13:A12
	lddw	.d2t2	*++B15, B13:B12
	lddw	.d2t1	*++B15, A15:A14
||	b	.s2	B3
	ldw	.d2t2	*++B15[2], B14
	nop	4
ENDPROC(__c6xabi_pop_rts)