mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 20:53:00 +07:00
09831ca734
Original port to early 2.6 kernel using TI COFF toolchain. Brought up to date by Mark Salter <msalter@redhat.com> Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com> Signed-off-by: Mark Salter <msalter@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
32 lines
1.0 KiB
ArmAsm
32 lines
1.0 KiB
ArmAsm
;; Copyright (C) 2010 Texas Instruments Incorporated
|
|
;; Contributed by Mark Salter <msalter@redhat.com>.
|
|
;;
|
|
;; This program is free software; you can redistribute it and/or modify
|
|
;; it under the terms of the GNU General Public License as published by
|
|
;; the Free Software Foundation; either version 2 of the License, or
|
|
;; (at your option) any later version.
|
|
;;
|
|
;; This program is distributed in the hope that it will be useful,
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;; GNU General Public License for more details.
|
|
;;
|
|
;; You should have received a copy of the GNU General Public License
|
|
;; along with this program; if not, write to the Free Software
|
|
;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
;; int64_t __c6xabi_negll(int64_t val)
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
.text
|
|
ENTRY(__c6xabi_negll)
|
|
b .s2 B3
|
|
mvk .l1 0,A0
|
|
subu .l1 A0,A4,A3:A2
|
|
sub .l1 A0,A5,A0
|
|
|| ext .s1 A3,24,24,A5
|
|
add .l1 A5,A0,A5
|
|
mv .s1 A2,A4
|
|
ENDPROC(__c6xabi_negll)
|