📄 readme
字号:
Copyright 2002, 2005 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 modify itunder the terms of the GNU Lesser General Public License as published by theFree Software Foundation; either version 3 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 MERCHANTABILITY orFITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licensefor more details.You should have received a copy of the GNU Lesser General Public License alongwith the GNU MP Library. If not, see http://www.gnu.org/licenses/.This directory contains assembly code for nails-enabled 21264. The code is notvery well optimized.For addmul_N, as N grows larger, we could make multiple loads together, then doabout 3.3 i/c. 10 cycles after the last load, we can increase to 4 i/c. Thiswould surely allow addmul_4 to run at 2 c/l, but the same should be possiblealso for addmul_3 and perhaps even addmul_2. current fair bestRoutine c/l unroll c/l unroll c/l i/cmul_1 3.25 2.75 2.75 3.273addmul_1 4.0 4 3.5 4 14 3.25 3.385addmul_2 4.0 1 2.5 2 10 2.25 3.333addmul_3 3.0 1 2.33 2 14 2 3.333addmul_4 2.5 1 2.125 2 17 2 3.135addmul_5 2 1 10addmul_6 2 1 12addmul_7 2 1 14(The "best" column doesn't account for bookkeeping instructions andthereby assumes infinite unrolling.)Basecase usages:1 addmul_12 addmul_23 addmul_34 addmul_45 addmul_3 + addmul_2 2.39986 addmul_4 + addmul_27 addmul_4 + addmul_3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -