亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? e_logf.s

?? glibc 庫, 不僅可以學習使用庫函數(shù),還可以學習函數(shù)的具體實現(xiàn),是提高功力的好資料
?? S
?? 第 1 頁 / 共 3 頁
字號:
.file "logf.s"// Copyright (c) 2000 - 2005, Intel Corporation// All rights reserved.//// Contributed 2000 by the Intel Numerics Group, Intel Corporation//// Redistribution and use in source and binary forms, with or without// modification, are permitted provided that the following conditions are// met://// * Redistributions of source code must retain the above copyright// notice, this list of conditions and the following disclaimer.//// * Redistributions in binary form must reproduce the above copyright// notice, this list of conditions and the following disclaimer in the// documentation and/or other materials provided with the distribution.//// * The name of Intel Corporation may not be used to endorse or promote// products derived from this software without specific prior written// permission.// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR ITS// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR TORT (INCLUDING// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.//// Intel Corporation is the author of this code, and requests that all// problem reports or change requests be submitted to it directly at// http://www.intel.com/software/products/opensource/libraries/num.htm.//// History//==============================================================// 03/01/00 Initial version// 08/15/00 Bundle added after call to __libm_error_support to properly//          set [the previously overwritten] GR_Parameter_RESULT.// 01/10/01 Improved speed, fixed flags for neg denormals// 05/20/02 Cleaned up namespace and sf0 syntax// 05/23/02 Modified algorithm. Now only one polynomial is used//          for |x-1| >= 1/256 and for |x-1| < 1/256// 02/10/03 Reordered header: .section, .global, .proc, .align// 03/31/05 Reformatted delimiters between data tables//// API//==============================================================// float logf(float)// float log10f(float)////// Overview of operation//==============================================================// Background// ----------//// This algorithm is based on fact that// log(a b) = log(a) + log(b).//// In our case we have x = 2^N f, where 1 <= f < 2.// So//   log(x) = log(2^N f) = log(2^N) + log(f) = n*log(2) + log(f)//// To calculate log(f) we do following//   log(f) = log(f * frcpa(f) / frcpa(f)) =//          = log(f * frcpa(f)) + log(1/frcpa(f))//// According to definition of IA-64's frcpa instruction it's a// floating point that approximates 1/f using a lookup on the// top of 8 bits of the input number's significand with relative// error < 2^(-8.886). So we have following//// |(1/f - frcpa(f)) / (1/f))| = |1 - f*frcpa(f)| < 1/256//// and//// log(f) = log(f * frcpa(f)) + log(1/frcpa(f)) =//        = log(1 + r) + T//// The first value can be computed by polynomial P(r) approximating// log(1 + r) on |r| < 1/256 and the second is precomputed tabular// value defined by top 8 bit of f.//// Finally we have that  log(x) ~ (N*log(2) + T) + P(r)//// Note that if input argument is close to 1.0 (in our case it means// that |1 - x| < 1/256) we can use just polynomial approximation// because x = 2^0 * f = f = 1 + r and// log(x) = log(1 + r) ~ P(r)////// To compute log10(x) we just use identity:////  log10(x) = log(x)/log(10)//// so we have that////  log10(x) = (N*log(2) + T  + log(1+r)) / log(10) =//           = N*(log(2)/log(10)) + (T/log(10)) + log(1 + r)/log(10)////// Implementation// --------------// It can be seen that formulas for log and log10 differ from one another// only by coefficients and tabular values. Namely as log as log10 are// calculated as (N*L1 + T) + L2*Series(r) where in case of log//   L1 = log(2)//   T  = log(1/frcpa(x))//   L2 = 1.0// and in case of log10//   L1 = log(2)/log(10)//   T  = log(1/frcpa(x))/log(10)//   L2 = 1.0/log(10)//// So common code with two different entry points those set pointers// to the base address of coresponding data sets containing values// of L2,T and prepare integer representation of L1 needed for following// setf instruction can be used.//// Note that both log and log10 use common approximation polynomial// it means we need only one set of coefficients of approximation.//// 1. Computation of log(x) for |x-1| >= 1/256//   InvX = frcpa(x)//   r = InvX*x - 1//   P(r) = r*((1 - A2*r) + r^2*(A3 - A4*r)) = r*P2(r),//   A4,A3,A2 are created with setf inctruction.//   We use Taylor series and so A4 = 1/4, A3 = 1/3,//   A2 = 1/2 rounded to double.////   N = float(n) where n is true unbiased exponent of x////   T is tabular value of log(1/frcpa(x)) calculated in quad precision//   and rounded to double. To T we get bits from 55 to 62 of register//   format significand of x and calculate address//     ad_T = table_base_addr + 8 * index////   L2 (1.0 or 1.0/log(10) depending on function) is calculated in quad//   precision and rounded to double; it's loaded from memory////   L1 (log(2) or log10(2) depending on function) is calculated in quad//   precision and rounded to double; it's created with setf.////   And final result = P2(r)*(r*L2) + (T + N*L1)////// 2. Computation of log(x) for |x-1| < 1/256//   r = x - 1//   P(r) = r*((1 - A2*r) + r^2*(A3 - A4*r)) = r*P2(r),//   A4,A3,A2 are the same as in case |x-1| >= 1/256////   And final result = P2(r)*(r*L2)//// 3. How we define is input argument such that |x-1| < 1/256 or not.////    To do it we analyze biased exponent and significand of input argment.////      a) First we test is biased exponent equal to 0xFFFE or 0xFFFF (i.e.//         we test is 0.5 <= x < 2). This comparison can be performed using//         unsigned version of cmp instruction in such a way//         biased_exponent_of_x - 0xFFFE < 2//////      b) Second (in case when result of a) is true) we need to compare x//         with 1-1/256 and 1+1/256 or in register format representation with//         0xFFFEFF00000000000000 and 0xFFFF8080000000000000 correspondingly.//         As far as biased exponent of x here can be equal only to 0xFFFE or//         0xFFFF we need to test only last bit of it. Also signifigand always//         has implicit bit set to 1 that can be exluded from comparison.//         Thus it's quite enough to generate 64-bit integer bits of that are//         ix[63] = biased_exponent_of_x[0] and ix[62-0] = significand_of_x[62-0]//         and compare it with 0x7F00000000000000 and 0x80800000000000000 (those//         obtained like ix from register representatinos of 255/256 and//         257/256). This comparison can be made like in a), using unsigned//         version of cmp i.e. ix - 0x7F00000000000000 < 0x0180000000000000.//         0x0180000000000000 is difference between 0x80800000000000000 and//         0x7F00000000000000.////    Note: NaT, any NaNs, +/-INF, +/-0, negatives and unnormalized numbers are//          filtered and processed on special branches.////// Special values//==============================================================//// logf(+0)    = -inf// logf(-0)    = -inf//// logf(+qnan) = +qnan// logf(-qnan) = -qnan// logf(+snan) = +qnan// logf(-snan) = -qnan//// logf(-n)    = QNAN Indefinite// logf(-inf)  = QNAN Indefinite//// logf(+inf)  = +inf//// Registers used//==============================================================// Floating Point registers used:// f8, input// f12 -> f14,  f33 -> f39//// General registers used:// r8  -> r11// r14 -> r19//// Predicate registers used:// p6 -> p12// Assembly macros//==============================================================GR_TAG                 = r8GR_ad_T                = r8GR_N                   = r9GR_Exp                 = r10GR_Sig                 = r11GR_025                 = r14GR_05                  = r15GR_A3                  = r16GR_Ind                 = r17GR_dx                  = r15GR_Ln2                 = r19GR_de                  = r20GR_x                   = r21GR_xorg                = r22GR_SAVE_B0             = r33GR_SAVE_PFS            = r34GR_SAVE_GP             = r35GR_SAVE_SP             = r36GR_Parameter_X         = r37GR_Parameter_Y         = r38GR_Parameter_RESULT    = r39GR_Parameter_TAG       = r40FR_A2                  = f12FR_A3                  = f13FR_A4                  = f14FR_RcpX                = f33FR_r                   = f34FR_r2                  = f35FR_tmp                 = f35FR_Ln2                 = f36FR_T                   = f37FR_N                   = f38FR_NxLn2pT             = f38FR_NormX               = f39FR_InvLn10             = f40FR_Y                   = f1FR_X                   = f10FR_RESULT              = f8// Data tables//==============================================================RODATA.align 16LOCAL_OBJECT_START(logf_data)data8 0x3FF0000000000000 // 1.0//// ln(1/frcpa(1+i/256)), i=0...255data8 0x3F60040155D5889E // 0data8 0x3F78121214586B54 // 1data8 0x3F841929F96832F0 // 2data8 0x3F8C317384C75F06 // 3data8 0x3F91A6B91AC73386 // 4data8 0x3F95BA9A5D9AC039 // 5data8 0x3F99D2A8074325F4 // 6data8 0x3F9D6B2725979802 // 7data8 0x3FA0C58FA19DFAAA // 8data8 0x3FA2954C78CBCE1B // 9data8 0x3FA4A94D2DA96C56 // 10data8 0x3FA67C94F2D4BB58 // 11data8 0x3FA85188B630F068 // 12data8 0x3FAA6B8ABE73AF4C // 13data8 0x3FAC441E06F72A9E // 14data8 0x3FAE1E6713606D07 // 15data8 0x3FAFFA6911AB9301 // 16data8 0x3FB0EC139C5DA601 // 17data8 0x3FB1DBD2643D190B // 18data8 0x3FB2CC7284FE5F1C // 19data8 0x3FB3BDF5A7D1EE64 // 20data8 0x3FB4B05D7AA012E0 // 21data8 0x3FB580DB7CEB5702 // 22data8 0x3FB674F089365A7A // 23data8 0x3FB769EF2C6B568D // 24data8 0x3FB85FD927506A48 // 25data8 0x3FB9335E5D594989 // 26data8 0x3FBA2B0220C8E5F5 // 27data8 0x3FBB0004AC1A86AC // 28data8 0x3FBBF968769FCA11 // 29data8 0x3FBCCFEDBFEE13A8 // 30data8 0x3FBDA727638446A2 // 31data8 0x3FBEA3257FE10F7A // 32data8 0x3FBF7BE9FEDBFDE6 // 33data8 0x3FC02AB352FF25F4 // 34data8 0x3FC097CE579D204D // 35data8 0x3FC1178E8227E47C // 36data8 0x3FC185747DBECF34 // 37data8 0x3FC1F3B925F25D41 // 38data8 0x3FC2625D1E6DDF57 // 39data8 0x3FC2D1610C86813A // 40data8 0x3FC340C59741142E // 41data8 0x3FC3B08B6757F2A9 // 42data8 0x3FC40DFB08378003 // 43data8 0x3FC47E74E8CA5F7C // 44data8 0x3FC4EF51F6466DE4 // 45data8 0x3FC56092E02BA516 // 46data8 0x3FC5D23857CD74D5 // 47data8 0x3FC6313A37335D76 // 48data8 0x3FC6A399DABBD383 // 49data8 0x3FC70337DD3CE41B // 50data8 0x3FC77654128F6127 // 51data8 0x3FC7E9D82A0B022D // 52data8 0x3FC84A6B759F512F // 53data8 0x3FC8AB47D5F5A310 // 54data8 0x3FC91FE49096581B // 55data8 0x3FC981634011AA75 // 56data8 0x3FC9F6C407089664 // 57data8 0x3FCA58E729348F43 // 58data8 0x3FCABB55C31693AD // 59data8 0x3FCB1E104919EFD0 // 60data8 0x3FCB94EE93E367CB // 61data8 0x3FCBF851C067555F // 62data8 0x3FCC5C0254BF23A6 // 63data8 0x3FCCC000C9DB3C52 // 64data8 0x3FCD244D99C85674 // 65data8 0x3FCD88E93FB2F450 // 66data8 0x3FCDEDD437EAEF01 // 67data8 0x3FCE530EFFE71012 // 68data8 0x3FCEB89A1648B971 // 69data8 0x3FCF1E75FADF9BDE // 70data8 0x3FCF84A32EAD7C35 // 71data8 0x3FCFEB2233EA07CD // 72data8 0x3FD028F9C7035C1C // 73data8 0x3FD05C8BE0D9635A // 74data8 0x3FD085EB8F8AE797 // 75data8 0x3FD0B9C8E32D1911 // 76data8 0x3FD0EDD060B78081 // 77data8 0x3FD122024CF0063F // 78data8 0x3FD14BE2927AECD4 // 79data8 0x3FD180618EF18ADF // 80data8 0x3FD1B50BBE2FC63B // 81data8 0x3FD1DF4CC7CF242D // 82data8 0x3FD214456D0EB8D4 // 83data8 0x3FD23EC5991EBA49 // 84data8 0x3FD2740D9F870AFB // 85data8 0x3FD29ECDABCDFA04 // 86data8 0x3FD2D46602ADCCEE // 87data8 0x3FD2FF66B04EA9D4 // 88data8 0x3FD335504B355A37 // 89data8 0x3FD360925EC44F5D // 90data8 0x3FD38BF1C3337E75 // 91data8 0x3FD3C25277333184 // 92data8 0x3FD3EDF463C1683E // 93data8 0x3FD419B423D5E8C7 // 94data8 0x3FD44591E0539F49 // 95data8 0x3FD47C9175B6F0AD // 96data8 0x3FD4A8B341552B09 // 97data8 0x3FD4D4F3908901A0 // 98data8 0x3FD501528DA1F968 // 99data8 0x3FD52DD06347D4F6 // 100data8 0x3FD55A6D3C7B8A8A // 101data8 0x3FD5925D2B112A59 // 102data8 0x3FD5BF406B543DB2 // 103data8 0x3FD5EC433D5C35AE // 104data8 0x3FD61965CDB02C1F // 105data8 0x3FD646A84935B2A2 // 106data8 0x3FD6740ADD31DE94 // 107data8 0x3FD6A18DB74A58C5 // 108data8 0x3FD6CF31058670EC // 109

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91福利精品第一导航| 成人丝袜高跟foot| 国产亚洲精品免费| 欧美亚洲免费在线一区| 日本91福利区| 国产日本亚洲高清| 欧美日韩亚州综合| 粉嫩av一区二区三区| 午夜精品久久久久久不卡8050| 日韩欧美激情在线| 99久久精品国产导航| 蜜臀99久久精品久久久久久软件| 欧美亚洲丝袜传媒另类| 国产成人精品午夜视频免费| 亚洲国产综合视频在线观看| 国产夜色精品一区二区av| 欧美日韩成人一区二区| 成人精品视频一区二区三区| 日韩在线一二三区| 一色屋精品亚洲香蕉网站| 日韩一级视频免费观看在线| 91免费看`日韩一区二区| 老司机免费视频一区二区三区| 亚洲免费观看在线视频| 欧美mv日韩mv国产| 欧美无人高清视频在线观看| 国产suv精品一区二区883| 中文字幕中文字幕中文字幕亚洲无线| 欧美mv日韩mv| 欧美顶级少妇做爰| 欧美午夜精品免费| www.日韩av| 国产成人午夜高潮毛片| 亚洲国产精品一区二区www在线| 国产精品美女久久久久aⅴ| 日韩精品一区二区三区在线观看 | 日本道色综合久久| 国产精品一区二区三区四区| 石原莉奈在线亚洲三区| 亚洲精品久久久蜜桃| 国产精品国产三级国产三级人妇| 26uuu精品一区二区在线观看| 91精品国产一区二区| 欧美日韩大陆在线| 暴力调教一区二区三区| 国产综合色视频| 国产一区二区影院| 久久99精品久久只有精品| 国产精品一区专区| 亚洲精品一区二区三区蜜桃下载 | 亚洲青青青在线视频| 国产无遮挡一区二区三区毛片日本| 日韩精品一区国产麻豆| 日韩美一区二区三区| 欧美一级黄色大片| 欧美一区二区成人6969| 欧美一区永久视频免费观看| 777午夜精品视频在线播放| 欧美日韩亚洲综合一区| 欧美日韩国产高清一区| 91精品黄色片免费大全| 538prom精品视频线放| 5566中文字幕一区二区电影 | 国内外成人在线| 黑人巨大精品欧美一区| 国产一区二区不卡| 国产成人在线电影| www.亚洲精品| 色婷婷久久久综合中文字幕| 色婷婷久久久综合中文字幕| 欧美日韩一区高清| 欧美成人vr18sexvr| 久久在线观看免费| 国产欧美日本一区二区三区| 2020国产精品| 国产日韩欧美综合一区| 国产精品午夜春色av| 国产精品麻豆99久久久久久| 亚洲国产欧美日韩另类综合| 日本不卡视频一二三区| 国产在线视视频有精品| 成人va在线观看| 91精品福利视频| 欧美高清www午色夜在线视频| 日韩美一区二区三区| 久久久精品蜜桃| 亚洲美女一区二区三区| 蜜臀av国产精品久久久久| 国产成人av电影在线| 在线观看欧美日本| 精品国产欧美一区二区| 国产精品情趣视频| 一区二区三区资源| 国内精品自线一区二区三区视频| 床上的激情91.| 色88888久久久久久影院按摩| 日韩一区二区免费在线电影| 久久久夜色精品亚洲| 一区二区三区日韩欧美| 青青草成人在线观看| 成人av免费在线观看| 欧美精品三级在线观看| 亚洲国产精品精华液ab| 污片在线观看一区二区| 99久久国产综合精品女不卡| 日韩一级黄色片| 亚洲人成伊人成综合网小说| 美女视频黄频大全不卡视频在线播放| 成人精品视频网站| 久久婷婷久久一区二区三区| 午夜激情久久久| 色综合 综合色| 成人午夜激情视频| 国产精品1区2区3区| 欧美日韩午夜影院| 精品美女被调教视频大全网站| 综合久久久久久| 日本不卡视频一二三区| 9l国产精品久久久久麻豆| 欧美成人一级视频| 亚洲国产日韩av| 91在线精品一区二区三区| 精品精品欲导航| 日韩激情视频网站| 91麻豆国产福利精品| 久久久蜜臀国产一区二区| 日韩精品成人一区二区在线| eeuss鲁片一区二区三区| 久久亚洲一区二区三区明星换脸 | 久久午夜色播影院免费高清| 亚洲永久免费av| 精品一二三四区| 欧美日韩成人一区| 久久久久国产成人精品亚洲午夜 | 中文字幕第一页久久| 国产精品99久久久久久久vr| 日韩精品一区二| 蜜臀av在线播放一区二区三区| 欧美亚洲综合久久| 亚洲伊人伊色伊影伊综合网| 95精品视频在线| 国产精品乱码人人做人人爱| 蓝色福利精品导航| 在线91免费看| 日韩成人免费在线| 91精品国产色综合久久ai换脸| 亚洲精品高清视频在线观看| 九色综合狠狠综合久久| 日韩色在线观看| 日本亚洲天堂网| 欧美一区二区三区啪啪| 日本sm残虐另类| 日韩一区二区电影在线| 精品一区二区国语对白| 337p日本欧洲亚洲大胆精品 | 亚洲精品成a人| 97国产精品videossex| 亚洲品质自拍视频| 在线观看亚洲专区| 亚洲成人一区在线| 在线电影一区二区三区| 奇米精品一区二区三区在线观看一| 91麻豆精品国产综合久久久久久| 天天色 色综合| 久久久99精品久久| 91在线免费视频观看| 亚洲午夜视频在线| 欧美一级一区二区| 狠狠色丁香婷综合久久| 国产精品毛片大码女人| 91黄色免费观看| 日本午夜一区二区| 久久久久国产成人精品亚洲午夜 | 91丨九色丨尤物| 亚洲黄色录像片| 欧美麻豆精品久久久久久| 精品一区二区在线播放| 亚洲国产精品黑人久久久| 色综合久久久久综合| 国产精品视频在线看| 国产精品欧美综合在线| 成人免费视频免费观看| 亚洲成a人v欧美综合天堂| 日韩欧美久久久| 一本色道久久加勒比精品| 五月天精品一区二区三区| 中文字幕欧美日韩一区| 欧美性色综合网| 国产99久久久国产精品潘金网站| 亚洲黄色小视频| 国产欧美日韩在线视频| 欧美日韩亚洲另类| av中文字幕亚洲| 日韩制服丝袜av| 欧美三级资源在线| 福利一区在线观看| 奇米色777欧美一区二区| 亚洲激情成人在线| 久久精品亚洲精品国产欧美| 欧美日韩一区三区|