SSL aorsmul_1.asm
Interaktion und PortierbarkeitMasm
dnl ARM64 mpn_addmul_1 and mpn_submul_1.
dnl Contributed to the GNU project by Torbjörn Granlund.
dnl Copyright 2020 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as published by the Free
dnl Software Foundation; either version 3 of the License, or (at your
dnl option) any later version.
dnl
dnl or
dnl
dnl * the GNU General Public License as published by the Free Software
dnl Foundation; either version 2 of the License, or (at your option) any
dnl later version.
dnl
dnl or both in parallel, as here.
dnl
dnl The GNU MP Library is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
dnl for more details.
dnl
dnl You should have received copies of the GNU General Public License and the
dnl GNU Lesser General Public License along with the GNU MP Library. If not,
dnl see https://www.gnu.org/licenses/.
include(`../config.m4')
C cycles/limb
C Cortex-A53
C Cortex-A55
C Cortex-A57
C Cortex-A72
C Cortex-A73
C X-Gene
C Apple M1 1.25
L(top): ldp x4,x5, [up], #16 C W0 W1
ldp x6,x7, [up], #16 C W2 W3
ldp x12,x13, [rp] C W0 W1
ldp x14,x15, [rp,#16] C W2 W3 mul x8, x4, v0 C W0
umulh x4, x4, v0 C W1 mul x9, x5, v0 C W1
umulh x5, x5, v0 C W2 mul x10, x6, v0 C W2
umulh x6, x6, v0 C W3 mul x11, x7, v0 C W3
umulh x7, x7, v0 C W4
ADDSUB x8, x12, x8 C W0
ADDSUBC x4, x13, x4 C W1
ADDSUBC x5, x14, x5 C W2
ADDSUBC x6, x15, x6 C W3
csinc x7, x7, x7, COND C W4
ADDSUB x8, x8, CY C W0 carry-in
ADDSUBC x4, x4, x9 C W1
ADDSUBC x5, x5, x10 C W2
ADDSUBC x6, x6, x11 C W2
csinc CY, x7, x7, COND C W3 carry-out
stp x8, x4, [rp], #16
stp x5, x6, [rp], #16 sub x16, x16, #1
cbnz x16, L(top)
L(done):mov x0, CY ret
EPILOGUE()
Messung V0.5 in Prozent
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.10Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-10-03)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.