popham.asm

来自「大数运算库」· 汇编 代码 · 共 31 行

ASM
31
字号
dnl  Intel Pentium-III mpn_popcount, mpn_hamdist -- population count anddnl  hamming distance.dnl  Copyright 2000, 2002 Free Software Foundation, Inc.dnl dnl  This file is part of the GNU MP Library.dnl dnl  The GNU MP Library is free software; you can redistribute it and/ordnl  modify it under the terms of the GNU Lesser General Public License asdnl  published by the Free Software Foundation; either version 2.1 of thednl  License, or (at your option) any later version.dnl dnl  The GNU MP Library is distributed in the hope that it will be useful,dnl  but WITHOUT ANY WARRANTY; without even the implied warranty ofdnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUdnl  Lesser General Public License for more details.dnl dnl  You should have received a copy of the GNU Lesser General Publicdnl  License along with the GNU MP Library; see the file COPYING.LIB.  Ifdnl  not, write to the Free Software Foundation, Inc., 59 Temple Place -dnl  Suite 330, Boston, MA 02111-1307, USA.dnl  Haven't actually measured it, but the K7 code with the psadbw should bednl  good on P-III.include(`../config.m4')MULFUNC_PROLOGUE(mpn_popcount mpn_hamdist)include_mpn(`x86/k7/mmx/popham.asm')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?