⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 a very popular packet of cryptography tools,it encloses the most common used algorithm and protocols
💻
字号:
Copyright 1999, 2000, 2001 Free Software Foundation, Inc.This file is part of the GNU MP Library.The GNU MP Library is free software; you can redistribute it and/or modifyit under the terms of the GNU Lesser General Public License as published bythe Free Software Foundation; either version 2.1 of the License, or (at youroption) any later version.The GNU MP Library is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITYor FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General PublicLicense for more details.You should have received a copy of the GNU Lesser General Public Licensealong with the GNU MP Library; see the file COPYING.LIB.  If not, write tothe Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA02111-1307, USA.PPC630 (aka Power3) pipeline information:Decoding is 4-way and issue is 8-way with some out-of-order capability.Branches are handled separately, and are not part of the 4-way issue limit.Functional units:LS1  - ld/st unit 1LS2  - ld/st unit 2FXU1 - integer unit 1, handles any simple integer instructionFXU2 - integer unit 2, handles any simple integer instructionFXU3 - integer unit 3, handles integer multiply and divideFPU1 - floating-point unit 1FPU2 - floating-point unit 2Memory:		  Any two memory operations can issue, but memory subsystem		  can sustain just one store per cycle.  No need for data		  prefetch; the hardware has very sophisticated prefetch logic.Simple integer:	  2 operations (such as add, rl*)Integer multiply: 1 operation every 9th cycle worst case; exact timing depends		  on 2nd operand most significant bit position (10 bits per		  cycle).  Multiply unit is not pipelined, only one multiply		  operation in progress is allowed.Integer divide:	  ?Floating-point:	  Any plain 2 arithmetic instructions (such as fmul, fadd, fmadd)		  Latency = 4.Floating-point divide:		  ?Floating-point square root:		  ?Best possible times for the main loops:shift:	      1.5 cycles limited by integer unit contention.	      With 63 special loops, one for each shift count, we could	      reduce the needed integer instructions to 2, which would	      reduce the best possible time to 1 cycle.add/sub:      1.5 cycles, limited by ld/st unit contention.mul:	      18 cycles (average) unless floating-point operations are used,	      but that would only help for multiplies of perhaps 10 and more	      limbs.addmul/submul:Same situation as for mul.IDEAS*mul_1: Handling one limb using mulld/mulhdu and two limbs usingfloating-point operations should give a performance of about 20 cyclesfor 3 limbs, or 7 cycles/limb.We should probably split the single-limb operand in 32-bit chunks, andthe multi-limb operand in 16-bit chunks, allowing us to accumulatewell in fp registers.Problem is to get 32-bit or 16-bit words to the fp registers.  Only64-bit fp memops copies bits without fiddling with them.  We mighttherefore need to load to integer registers with zero extension, storeas 64 bits into temp space, and then load to fp regs.  Alternatively,load directly to fp space and add well-chosen constants to getcancelation.  (Other part after given by subsequent subtraction.)Possible code mix for load-via-intregs variant:lwz,std,lfdfmadd,fmadd,fmul,fmulfctidz,stfd,ld,fctidz,stfd,ldadd,addelwz,std,lfdfmadd,fmadd,fmul,fmulfctidz,stfd,ld,fctidz,stfd,ldadd,addesrd,sld,add,adde,add,adde

⌨️ 快捷键说明

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