Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / c6x / lib / negll.S
blob9ba434db5366308a1e0c2e19b2b8c3df503ae791
1 ;; SPDX-License-Identifier: GPL-2.0-or-later
2 ;;  Copyright (C) 2010 Texas Instruments Incorporated
3 ;;  Contributed by Mark Salter <msalter@redhat.com>.
4 ;;
6 ;;  int64_t __c6xabi_negll(int64_t val)
8 #include <linux/linkage.h>
10         .text
11 ENTRY(__c6xabi_negll)
12         b       .s2     B3
13         mvk     .l1     0,A0
14         subu    .l1     A0,A4,A3:A2
15         sub     .l1     A0,A5,A0
16 ||      ext     .s1     A3,24,24,A5
17         add     .l1     A5,A0,A5
18         mv      .s1     A2,A4
19 ENDPROC(__c6xabi_negll)