dnl AMD64 mpn_mul_2 -- Multiply an n-limb vector with a 2-limb vector and
dnl store the result in a third limb vector.
dnl Copyright 2008, 2011, 2012, 2016 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 AMD K8,K9 4.53
C AMD K10 4.53
C AMD bull 9.76 10.37
C AMD pile 9.22
C AMD steam
C AMD excavator
C AMD bobcat 11.3
C AMD jaguar 11.9
C Intel P4 25.0
C Intel core2 8.05
C Intel NHM 7.72
C Intel SBR 6.33
C Intel IBR 6.15
C Intel HWL 6.00
C Intel BWL 4.44
C Intel SKL 4.54
C Intel atom 39.0
C Intel SLM 24.0
C VIA nano
C Thiscode is the result of running a code generation and optimization tool
C suite written by David Harvey and Torbjorn Granlund.
C TODO
C * Work on feed-in and wind-down code.
C * Convert "mov $0" to "xor".
C * Adjust initial lea to save some bytes.
C * Perhaps adjust n from n_param&3 value?
C * Replace with 2.25 c/l sequence.
C INPUT PARAMETERS
define(`rp', `%rdi')
define(`up', `%rsi')
define(`n_param',`%rdx')
define(`vp', `%rcx')
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.