xref: /kernel/linux/linux-5.10/arch/c6x/lib/negll.S
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/c6x/lib/
18c2ecf20Sopenharmony_ci;; SPDX-License-Identifier: GPL-2.0-or-later
28c2ecf20Sopenharmony_ci;;  Copyright (C) 2010 Texas Instruments Incorporated
38c2ecf20Sopenharmony_ci;;  Contributed by Mark Salter <msalter@redhat.com>.
48c2ecf20Sopenharmony_ci;;
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci;;  int64_t __c6xabi_negll(int64_t val)
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#include <linux/linkage.h>
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci	.text
118c2ecf20Sopenharmony_ciENTRY(__c6xabi_negll)
128c2ecf20Sopenharmony_ci	b	.s2	B3
138c2ecf20Sopenharmony_ci	mvk	.l1	0,A0
148c2ecf20Sopenharmony_ci	subu	.l1	A0,A4,A3:A2
158c2ecf20Sopenharmony_ci	sub	.l1	A0,A5,A0
168c2ecf20Sopenharmony_ci||	ext	.s1	A3,24,24,A5
178c2ecf20Sopenharmony_ci	add	.l1	A5,A0,A5
188c2ecf20Sopenharmony_ci	mv	.s1	A2,A4
198c2ecf20Sopenharmony_ciENDPROC(__c6xabi_negll)
20

Indexes created Thu Nov 07 10:32:03 CST 2024