swh:1:snp:49cd9498d6cccc5e78252c27dcb645bcf7bf0c91
Raw File
Tip revision: 69973b830859bc6529a7a0468ba0d80ee5117826 authored by Linus Torvalds on 11 December 2016, 19:17:54 UTC
Linux 4.9
Tip revision: 69973b8
negll.S
;;  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)
back to top