mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 02:15:21 +07:00
f8739b71f4
Based on 1 normalized pattern(s): gnu cc 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 or at your option any later version gnu cc 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 gnu cc see the file copying if not write to the free software foundation 59 temple place suite 330 boston ma 02111 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 3 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Jilayne Lovejoy <opensource@jilayne.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190519154041.940713800@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
67 lines
1.3 KiB
ArmAsm
67 lines
1.3 KiB
ArmAsm
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
|
|
|
|
This file is part of GNU CC.
|
|
|
|
*/
|
|
|
|
#include <asm/export.h>
|
|
.text
|
|
.align 4
|
|
.globl __muldi3
|
|
__muldi3:
|
|
save %sp, -104, %sp
|
|
wr %g0, %i1, %y
|
|
sra %i3, 0x1f, %g2
|
|
and %i1, %g2, %g2
|
|
andcc %g0, 0, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, %i3, %g1
|
|
mulscc %g1, 0, %g1
|
|
add %g1, %g2, %l2
|
|
rd %y, %o1
|
|
mov %o1, %l3
|
|
mov %i1, %o0
|
|
mov %i2, %o1
|
|
umul %o0, %o1, %o0
|
|
mov %o0, %l0
|
|
mov %i0, %o0
|
|
mov %i3, %o1
|
|
umul %o0, %o1, %o0
|
|
add %l0, %o0, %l0
|
|
mov %l2, %i0
|
|
add %l2, %l0, %i0
|
|
ret
|
|
restore %g0, %l3, %o1
|
|
EXPORT_SYMBOL(__muldi3)
|