WIP FPC-III support
[linux/fpc-iii.git] / arch / c6x / lib / pop_rts.S
blobf129e32943c57b370f5f3bcbc66ad92f10ba81a2
1 ;; SPDX-License-Identifier: GPL-2.0-or-later
2 ;;  Copyright 2010  Free Software Foundation, Inc.
3 ;;  Contributed by Bernd Schmidt <bernds@codesourcery.com>.
4 ;;
6 #include <linux/linkage.h>
8         .text
10 ENTRY(__c6xabi_pop_rts)
11         lddw    .d2t2   *++B15, B3:B2
12         lddw    .d2t1   *++B15, A11:A10
13         lddw    .d2t2   *++B15, B11:B10
14         lddw    .d2t1   *++B15, A13:A12
15         lddw    .d2t2   *++B15, B13:B12
16         lddw    .d2t1   *++B15, A15:A14
17 ||      b       .s2     B3
18         ldw     .d2t2   *++B15[2], B14
19         nop     4
20 ENDPROC(__c6xabi_pop_rts)