1 Star 1 Fork 1

life/RISC-V-math-library

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
log10.S 20.25 KB
一键复制 编辑 原始数据 按行查看 历史
life 提交于 2022-07-06 09:26 . function
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859
.section .rodata, "a", "progbits"
.align 4
.section .text, "ax", "progbits"
.align 4
.section .rodata
.align 4
$databegin:
.dword 0xbfcbcb7b1526e50f
.dword 0x3fc287a7636acbca
.dword 0xbfbbcb7b151b5acc
.dword 0x3fb63c7a4a63b0ab
.dword 0xbfb287bf36836213
.dword 0x3fdbcb7b1526e50e
.dword 0xbfbbcb7b1526ea01
.dword 0x3fa8b45e30087fd5
.dword 0x3fc287a7636f447a
.dword 0xbfabcb7b93339239
.dword 0x3fafc3fac4d3771e
.dword 0xbfa2d4a8ac1e9152
.dword 0xbfb287a763543b99
.dword 0x3fa483d8a969b405
.dword 0x3fb63c627740fa65
.dword 0xbfa63bd406249938
.dword 0x3fdbcb7b18000000
.dword 0xbe26c8d78e6ac800
.word 0x5a000000
.word 0x4e000000
.word 0x3f000000
.word 0x00000000
.dword 0x8000000000019902
.dword 0x8000000000039909
.dword 0x3fd34413509f8000
.dword 0xbd380433b83b532a
.dword 0x3ff0000000000000
.dword 0x3ff0000000000000
.dword 0x0000000000000000
.dword 0x0000000000000000
.dword 0x3ff0200000000000
.dword 0x3fefc07f01fc07f0
.dword 0x3f6bafd472200000
.dword 0x3d2ed2665c1ba949
.dword 0x3ff0400000000000
.dword 0x3fef81f81f81f820
.dword 0x3f7b9476a4fc0000
.dword 0x3d2a21db136b482e
.dword 0x3ff0600000000000
.dword 0x3fef44659e4a4271
.dword 0x3f849b0851440000
.dword 0x3d1b41e70df8592f
.dword 0x3ff0800000000000
.dword 0x3fef07c1f07c1f08
.dword 0x3f8b5e908eb20000
.dword 0xbd390dfe0d1601ca
.dword 0x3ff0a00000000000
.dword 0x3feecc07b301ecc0
.dword 0x3f910a83a8440000
.dword 0x3d3b1de84602abd8
.dword 0x3ff0c00000000000
.dword 0x3fee9131abf0b767
.dword 0x3f945f4f5acc0000
.dword 0xbd3d07e22587685b
.dword 0x3ff0e00000000000
.dword 0x3fee573ac901e574
.dword 0x3f97adc3df3b0000
.dword 0x3d1ff81b980714c6
.dword 0x3ff1000000000000
.dword 0x3fee1e1e1e1e1e1e
.dword 0x3f9af5f92b010000
.dword 0xbd19f05921f59258
.dword 0x3ff1200000000000
.dword 0x3fede5d6e3f8868a
.dword 0x3f9e3806acbd0000
.dword 0x3cf63c35e7d67688
.dword 0x3ff1400000000000
.dword 0x3fedae6076b981db
.dword 0x3fa0ba01a8170000
.dword 0x3c35f1d45244f437
.dword 0x3ff1600000000000
.dword 0x3fed77b654b82c34
.dword 0x3fa25502c0fc0000
.dword 0x3d38a5c00ed6bef7
.dword 0x3ff1800000000000
.dword 0x3fed41d41d41d41d
.dword 0x3fa3ed1199a60000
.dword 0xbd2bdafc8ad828b8
.dword 0x3ff1a00000000000
.dword 0x3fed0cb58f6ec074
.dword 0x3fa58238eeb38000
.dword 0xbd3612c205756103
.dword 0x3ff1c00000000000
.dword 0x3fecd85689039b0b
.dword 0x3fa71483427d0000
.dword 0x3d354c670f088030
.dword 0x3ff1e00000000000
.dword 0x3feca4b3055ee191
.dword 0x3fa8a3fadeb88000
.dword 0xbd3c063628960c25
.dword 0x3ff2000000000000
.dword 0x3fec71c71c71c71c
.dword 0x3faa30a9d60a0000
.dword 0xbd20163d7e67d282
.dword 0x3ff2200000000000
.dword 0x3fec3f8f01c3f8f0
.dword 0x3fabba9a058e0000
.dword 0xbcf3df2b4349e5dc
.dword 0x3ff2400000000000
.dword 0x3fec0e070381c0e0
.dword 0x3fad41d5164f8000
.dword 0x3d3659d00c475908
.dword 0x3ff2600000000000
.dword 0x3febdd2b899406f7
.dword 0x3faec6647eb58000
.dword 0x3d10108fa031185a
.dword 0x3ff2800000000000
.dword 0x3febacf914c1bad0
.dword 0x3fb02428c1f08000
.dword 0x3cb5ea6bc2bc8c2c
.dword 0x3ff2a00000000000
.dword 0x3feb7d6c3dda338b
.dword 0x3fb0e3d29d810000
.dword 0x3d365e62559618f2
.dword 0x3ff2c00000000000
.dword 0x3feb4e81b4e81b4f
.dword 0x3fb1a23445500000
.dword 0x3d3815c0cde7a7f0
.dword 0x3ff2e00000000000
.dword 0x3feb2036406c80d9
.dword 0x3fb25f5215eb4000
.dword 0x3d3949df2a5fb46c
.dword 0x3ff3000000000000
.dword 0x3feaf286bca1af28
.dword 0x3fb31b3055c48000
.dword 0xbd2dcffc97be8c9c
.dword 0x3ff3200000000000
.dword 0x3feac5701ac5701b
.dword 0x3fb3d5d335c54000
.dword 0xbd2d0e6a0f629bae
.dword 0x3ff3400000000000
.dword 0x3fea98ef606a63be
.dword 0x3fb48f3ed1df4000
.dword 0x3d21f6bc109076d0
.dword 0x3ff3600000000000
.dword 0x3fea6d01a6d01a6d
.dword 0x3fb5477731974000
.dword 0xbcf7b786f3ec11dc
.dword 0x3ff3800000000000
.dword 0x3fea41a41a41a41a
.dword 0x3fb5fe80488b0000
.dword 0xbd2606adb567e739
.dword 0x3ff3a00000000000
.dword 0x3fea16d3f97a4b02
.dword 0x3fb6b45df6f40000
.dword 0xbd3d36a6f1f2ab39
.dword 0x3ff3c00000000000
.dword 0x3fe9ec8e951033d9
.dword 0x3fb769140a254000
.dword 0xbd39036b130dc2b9
.dword 0x3ff3e00000000000
.dword 0x3fe9c2d14ee4a102
.dword 0x3fb81ca63d05c000
.dword 0xbd3bb67d8e7b2c03
.dword 0x3ff4000000000000
.dword 0x3fe999999999999a
.dword 0x3fb8cf1838864000
.dword 0x3d2019365163f2fc
.dword 0x3ff4200000000000
.dword 0x3fe970e4f80cb872
.dword 0x3fb9806d9414c000
.dword 0xbd3df68df8cd708a
.dword 0x3ff4400000000000
.dword 0x3fe948b0fcd6e9e0
.dword 0x3fba30a9d60a0000
.dword 0xbd30163d7e67d282
.dword 0x3ff4600000000000
.dword 0x3fe920fb49d0e229
.dword 0x3fbadfd07416c000
.dword 0xbcff902891596119
.dword 0x3ff4800000000000
.dword 0x3fe8f9c18f9c18fa
.dword 0x3fbb8de4d3ab4000
.dword 0xbd0340511b402e0a
.dword 0x3ff4a00000000000
.dword 0x3fe8d3018d3018d3
.dword 0x3fbc3aea4a5c8000
.dword 0xbd310162e464084c
.dword 0x3ff4c00000000000
.dword 0x3fe8acb90f6bf3aa
.dword 0x3fbce6e41e464000
.dword 0xbd02d85bc180e427
.dword 0x3ff4e00000000000
.dword 0x3fe886e5f0abb04a
.dword 0x3fbd91d5866ac000
.dword 0xbd366473a1327abc
.dword 0x3ff5000000000000
.dword 0x3fe8618618618618
.dword 0x3fbe3bc1ab0e0000
.dword 0x3d39fe3d562a53f0
.dword 0x3ff5200000000000
.dword 0x3fe83c977ab2bedd
.dword 0x3fbee4aba6110000
.dword 0xbd2bf71dec67fbef
.dword 0x3ff5400000000000
.dword 0x3fe8181818181818
.dword 0x3fbf8c9683468000
.dword 0x3cf9084e03494e7d
.dword 0x3ff5600000000000
.dword 0x3fe7f405fd017f40
.dword 0x3fc019c2a064c000
.dword 0xbd36f31d0b132f8f
.dword 0x3ff5800000000000
.dword 0x3fe7d05f417d05f4
.dword 0x3fc06cbd67a6c000
.dword 0x3d1db2a2c6287ec0
.dword 0x3ff5a00000000000
.dword 0x3fe7ad2208e0ecc3
.dword 0x3fc0bf3d0937c000
.dword 0x3d2070f0bd0341b7
.dword 0x3ff5c00000000000
.dword 0x3fe78a4c8178a4c8
.dword 0x3fc11142f0812000
.dword 0xbd395237189e3611
.dword 0x3ff5e00000000000
.dword 0x3fe767dce434a9b1
.dword 0x3fc162d082aca000
.dword 0xbd17838c72e86b79
.dword 0x3ff6000000000000
.dword 0x3fe745d1745d1746
.dword 0x3fc1b3e71ec94000
.dword 0x3d3ef57776664942
.dword 0x3ff6200000000000
.dword 0x3fe724287f46debc
.dword 0x3fc204881dee8000
.dword 0x3d2ddd54b04da9d8
.dword 0x3ff6400000000000
.dword 0x3fe702e05c0b8170
.dword 0x3fc254b4d35e8000
.dword 0xbd161f143538008c
.dword 0x3ff6600000000000
.dword 0x3fe6e1f76b4337c7
.dword 0x3fc2a46e8ca7c000
.dword 0xbd2759aa8c8a1f1c
.dword 0x3ff6800000000000
.dword 0x3fe6c16c16c16c17
.dword 0x3fc2f3b691c5a000
.dword 0x3c77c697e103ceaa
.dword 0x3ff6a00000000000
.dword 0x3fe6a13cd1537290
.dword 0x3fc3428e25400000
.dword 0x3d32da76c67c08c3
.dword 0x3ff6c00000000000
.dword 0x3fe6816816816817
.dword 0x3fc390f6844a0000
.dword 0x3d3706053aaa4995
.dword 0x3ff6e00000000000
.dword 0x3fe661ec6a5122f9
.dword 0x3fc3def0e6dfe000
.dword 0xbceec57bfda94556
.dword 0x3ff7000000000000
.dword 0x3fe642c8590b2164
.dword 0x3fc42c7e7fe40000
.dword 0xbd1ff1d22abd8abe
.dword 0x3ff7200000000000
.dword 0x3fe623fa77016240
.dword 0x3fc479a07d3b6000
.dword 0x3d20450b28e96c14
.dword 0x3ff7400000000000
.dword 0x3fe6058160581606
.dword 0x3fc4c65807e94000
.dword 0xbd398fbcd3a858d1
.dword 0x3ff7600000000000
.dword 0x3fe5e75bb8d015e7
.dword 0x3fc512a644296000
.dword 0x3d3879612de8e4ac
.dword 0x3ff7800000000000
.dword 0x3fe5c9882b931057
.dword 0x3fc55e8c518b2000
.dword 0xbd3e0f4c81f915f7
.dword 0x3ff7a00000000000
.dword 0x3fe5ac056b015ac0
.dword 0x3fc5aa0b4b098000
.dword 0x3d31f31e96f66aaf
.dword 0x3ff7c00000000000
.dword 0x3fe58ed2308158ed
.dword 0x3fc5f52447256000
.dword 0xbd1b6d8c8cb53340
.dword 0x3ff7e00000000000
.dword 0x3fe571ed3c506b3a
.dword 0x3fc63fd857fc4000
.dword 0x3d33754f819a20ce
.dword 0x3ff8000000000000
.dword 0x3fe5555555555555
.dword 0x3fc68a288b60c000
.dword 0xbd3007a93bb79e35
.dword 0x3ff8200000000000
.dword 0x3fe5390948f40feb
.dword 0x3fc6d415eaf0a000
.dword 0xbd3f2ac2ac5d9a1d
.dword 0x3ff8400000000000
.dword 0x3fe51d07eae2f815
.dword 0x3fc71da17c2b8000
.dword 0xbd08015b1f860180
.dword 0x3ff8600000000000
.dword 0x3fe5015015015015
.dword 0x3fc766cc4088a000
.dword 0xbd07b5dd900fd0f3
.dword 0x3ff8800000000000
.dword 0x3fe4e5e0a72f0539
.dword 0x3fc7af97358ba000
.dword 0xbd0fc334a3bb76f1
.dword 0x3ff8a00000000000
.dword 0x3fe4cab88725af6e
.dword 0x3fc7f80354d96000
.dword 0xbd3ac0da193d2d10
.dword 0x3ff8c00000000000
.dword 0x3fe4afd6a052bf5b
.dword 0x3fc84011944bc000
.dword 0x3d36ea58b7326001
.dword 0x3ff8e00000000000
.dword 0x3fe49539e3b2d067
.dword 0x3fc887c2e605e000
.dword 0x3d0189c603f25d8f
.dword 0x3ff9000000000000
.dword 0x3fe47ae147ae147b
.dword 0x3fc8cf1838864000
.dword 0x3d3019365163f2fc
.dword 0x3ff9200000000000
.dword 0x3fe460cbc7f5cf9a
.dword 0x3fc9161276ba2000
.dword 0x3d32f0749ec0f970
.dword 0x3ff9400000000000
.dword 0x3fe446f86562d9fb
.dword 0x3fc95cb2880f4000
.dword 0x3d26e9bab6cd5214
.dword 0x3ff9600000000000
.dword 0x3fe42d6625d51f87
.dword 0x3fc9a2f95085a000
.dword 0x3d216e49f9800e41
.dword 0x3ff9800000000000
.dword 0x3fe4141414141414
.dword 0x3fc9e8e7b0c0e000
.dword 0xbd3683bf843502cc
.dword 0x3ff9a00000000000
.dword 0x3fe3fb013fb013fb
.dword 0x3fca2e7e8618c000
.dword 0x3d1692441527cef3
.dword 0x3ff9c00000000000
.dword 0x3fe3e22cbce4a902
.dword 0x3fca73beaaaa2000
.dword 0x3d179c70251bd10e
.dword 0x3ff9e00000000000
.dword 0x3fe3c995a47babe7
.dword 0x3fcab8a8f5668000
.dword 0xbd30079349e34bf1
.dword 0x3ffa000000000000
.dword 0x3fe3b13b13b13b14
.dword 0x3fcafd3e3a23c000
.dword 0xbd32ffe15737a891
.dword 0x3ffa200000000000
.dword 0x3fe3991c2c187f63
.dword 0x3fcb417f49ab8000
.dword 0x3d300d792a8702f4
.dword 0x3ffa400000000000
.dword 0x3fe3813813813814
.dword 0x3fcb856cf1ca4000
.dword 0xbd3df5278123b292
.dword 0x3ffa600000000000
.dword 0x3fe3698df3de0748
.dword 0x3fcbc907fd5d2000
.dword 0xbd1dfcb663006e8f
.dword 0x3ffa800000000000
.dword 0x3fe3521cfb2b78c1
.dword 0x3fcc0c5134610000
.dword 0x3d3c4cf7f5011f09
.dword 0x3ffaa00000000000
.dword 0x3fe33ae45b57bcb2
.dword 0x3fcc4f495c000000
.dword 0x3d1512f74d4387ea
.dword 0x3ffac00000000000
.dword 0x3fe323e34a2b10bf
.dword 0x3fcc91f1369ec000
.dword 0xbd306ca4ea10498c
.dword 0x3ffae00000000000
.dword 0x3fe30d190130d190
.dword 0x3fccd44983e9e000
.dword 0x3d2ef287b478325c
.dword 0x3ffb000000000000
.dword 0x3fe2f684bda12f68
.dword 0x3fcd165300e34000
.dword 0xbd3812c7faeb8777
.dword 0x3ffb200000000000
.dword 0x3fe2e025c04b8097
.dword 0x3fcd580e67edc000
.dword 0x3d20f33e836bc8c1
.dword 0x3ffb400000000000
.dword 0x3fe2c9fb4d812ca0
.dword 0x3fcd997c70daa000
.dword 0xbd22e5ea0e7cbdc7
.dword 0x3ffb600000000000
.dword 0x3fe2b404ad012b40
.dword 0x3fcdda9dd0f4a000
.dword 0x3d19489b423eeb4a
.dword 0x3ffb800000000000
.dword 0x3fe29e4129e4129e
.dword 0x3fce1b733b0c8000
.dword 0xbd38fded60e7bd40
.dword 0x3ffba00000000000
.dword 0x3fe288b01288b013
.dword 0x3fce5bfd5f83e000
.dword 0xbd397bf79fb50d27
.dword 0x3ffbc00000000000
.dword 0x3fe27350b8812735
.dword 0x3fce9c3cec590000
.dword 0xbd2fe37d9fe9c353
.dword 0x3ffbe00000000000
.dword 0x3fe25e22708092f1
.dword 0x3fcedc328d318000
.dword 0x3d22bc72e86dd193
.dword 0x3ffc000000000000
.dword 0x3fe2492492492492
.dword 0x3fcf1bdeeb654000
.dword 0x3d3201b2d9a69efc
.dword 0x3ffc200000000000
.dword 0x3fe23456789abcdf
.dword 0x3fcf5b42ae08c000
.dword 0x3d201c2f24601376
.dword 0x3ffc400000000000
.dword 0x3fe21fb78121fb78
.dword 0x3fcf9a5e79f76000
.dword 0x3d358922e9176c80
.dword 0x3ffc600000000000
.dword 0x3fe20b470c67c0d9
.dword 0x3fcfd932f1ddc000
.dword 0xbd36541a3b0e99a7
.dword 0x3ffc800000000000
.dword 0x3fe1f7047dc11f70
.dword 0x3fd00be05b218000
.dword 0xbd3eefa78796e483
.dword 0x3ffca00000000000
.dword 0x3fe1e2ef3b3fb874
.dword 0x3fd02b0432c97000
.dword 0xbccf2d67c6e5df05
.dword 0x3ffcc00000000000
.dword 0x3fe1cf06ada2811d
.dword 0x3fd04a054e139000
.dword 0x3cb0269e0296ce68
.dword 0x3ffce00000000000
.dword 0x3fe1bb4a4046ed29
.dword 0x3fd068e3fa283000
.dword 0xbd1c312ccdbd8b36
.dword 0x3ffd000000000000
.dword 0x3fe1a7b9611a7b96
.dword 0x3fd087a0832fa000
.dword 0x3d3eb13e6ade14fa
.dword 0x3ffd200000000000
.dword 0x3fe19453808ca29c
.dword 0x3fd0a63b3456d000
.dword 0xbd3f9c308922a0cd
.dword 0x3ffd400000000000
.dword 0x3fe1811811811812
.dword 0x3fd0c4b457d32000
.dword 0xbd3b0b00166b91d2
.dword 0x3ffd600000000000
.dword 0x3fe16e0689427379
.dword 0x3fd0e30c36e72000
.dword 0xbd3602b159471c79
.dword 0x3ffd800000000000
.dword 0x3fe15b1e5f75270d
.dword 0x3fd1014319e66000
.dword 0x3d1bc87f6e8c7fde
.dword 0x3ffda00000000000
.dword 0x3fe1485f0e0acd3b
.dword 0x3fd11f594839a000
.dword 0x3d36f4ebb13a9f12
.dword 0x3ffdc00000000000
.dword 0x3fe135c81135c811
.dword 0x3fd13d4f0862b000
.dword 0x3d270b39225274cc
.dword 0x3ffde00000000000
.dword 0x3fe12358e75d3033
.dword 0x3fd15b24a0005000
.dword 0xbd35b6daa94c4b17
.dword 0x3ffe000000000000
.dword 0x3fe1111111111111
.dword 0x3fd178da53d1f000
.dword 0xbd1fec384c1692de
.dword 0x3ffe200000000000
.dword 0x3fe0fef010fef011
.dword 0x3fd1967067bb9000
.dword 0x3d32dffaa9563cbc
.dword 0x3ffe400000000000
.dword 0x3fe0ecf56be69c90
.dword 0x3fd1b3e71ec95000
.dword 0xbd00a888999b6be0
.dword 0x3ffe600000000000
.dword 0x3fe0db20a88f4696
.dword 0x3fd1d13ebb32d000
.dword 0x3d3fe21945e08f48
.dword 0x3ffe800000000000
.dword 0x3fe0c9714fbcda3b
.dword 0x3fd1ee777e5f1000
.dword 0xbd21e56cb8e1fe3e
.dword 0x3ffea00000000000
.dword 0x3fe0b7e6ec259dc8
.dword 0x3fd20b91a8e76000
.dword 0x3d1050d250ea2a7f
.dword 0x3ffec00000000000
.dword 0x3fe0a6810a6810a7
.dword 0x3fd2288d7a9b3000
.dword 0xbd326fb35f1fa3f7
.dword 0x3ffee00000000000
.dword 0x3fe0953f39010954
.dword 0x3fd2456b3282f000
.dword 0x3d3e18205ce91121
.dword 0x3fff000000000000
.dword 0x3fe0842108421084
.dword 0x3fd2622b0ee3b000
.dword 0x3d3e73b8afd3f23a
.dword 0x3fff200000000000
.dword 0x3fe073260a47f7c6
.dword 0x3fd27ecd4d41f000
.dword 0xbd3262b4b3e7baba
.dword 0x3fff400000000000
.dword 0x3fe0624dd2f1a9fc
.dword 0x3fd29b522a64b000
.dword 0x3d3825d17a15ec7a
.dword 0x3fff600000000000
.dword 0x3fe05197f7d73404
.dword 0x3fd2b7b9e258e000
.dword 0x3d3089afc1217eac
.dword 0x3fff800000000000
.dword 0x3fe0410410410410
.dword 0x3fd2d404b073e000
.dword 0x3d23ed2834e56b76
.dword 0x3fffa00000000000
.dword 0x3fe03091b51f5e1a
.dword 0x3fd2f032cf56a000
.dword 0x3d36f902ebb6e692
.dword 0x3fffc00000000000
.dword 0x3fe0204081020408
.dword 0x3fd30c4478f08000
.dword 0x3d2afb67b8bdfb39
.dword 0x3fffe00000000000
.dword 0x3fe0101010101010
.dword 0x3fd32839e6820000
.dword 0xbd2cee48b706129b
.dword 0x4000000000000000
.dword 0x3fe0000000000000
.dword 0x3fd34413509f8000
.dword 0xbd380433b83b532a
.section .text
.align 4
.globl _rv_log10
_rv_log10:
fmv.x.d a0,fa0
li s5,262144
sext.w t2,s5
li t3,0x6d
lui t0,%hi($databegin)
addi t0,t0,%lo($databegin)
slli t3,t3,0x2b
addi t2,t2,-291
addi sp,sp,-176
slli t2,t2,0x2c
sd ra,0(sp)
li a7,2046
li t1,4080
srai t5,a0,0x34
sub t2,a0,t2
srai t4,a0,0x28
fld ft0,192(t0)
sltu t2,t2,t3
addi t6,t5,-1
and t4,t4,t1
bnez t2,L$1
sltu t6,t6,a7
li t2,8160
addi t4,t4,16
beqz t6,L$2
and t4,t4,t2
addi t5,t5,-1023
fmv.x.d a2,ft0
li a3,0xFFF0000000000000
and a2,a2,a3
li a4,0x000FFFFFFFFFFFFF
fmv.x.d a7,fa0
and a3,a7,a4
or a2,a2,a3
fmv.d.x fs1,a2
j L$3
.align 4
L$2:
fmv.x.d a2,fa0
li a3,-1
li a4,2047
srli a1,a0,0x3f
srli a3,a3,0xc
ld ra,0(sp)
slli a4,a4,0x34
fmv.d fa7,fa0
andi a1,a1,0x1
beqz a1,L$4
and a3,a2,a3
and a2,a2,a4
seqz a3,a3
sub a2,a2,a4
seqz a2,a2
not a3,a3
and a2,a2,a3
andi a2,a2,0x1
beqz a2,L$5
fmv.d fa0,fa7
addi sp,sp,176
ret
.align 4
L$5:
ld a5,160(t0)
addi a1,sp,8
sd a5,8(sp)
fld fa0,40(sp)
ld ra,0(sp)
addi sp,sp,176
ret
.align 4
L$4:
li t1,2047
addi a1,sp,8
flw fs1,144(t0)
fmv.x.d a4,fs1
li a2,0x20000000
and a2,a2,a4
beqz a2,life_1
li a2,0x30000000
slli a2,a2,0x2
and a3,a2,a4
slli a3,a3,0x3
li a2,0x1c0000000
or a3,a2,a3
li a2,0x3FFFFFFF
and a4,a2,a4
or a4,a3,a4
slli a4,a4,0x1D
fmv.d.x fs1,a4
j life_2
life_1:
li a2,0x30000000
slli a2,a2,0x2
and a3,a2,a4
slli a3,a3,0x3
li a2,0x3FFFFFFF
and a4,a2,a4
or a4,a3,a4
slli a4,a4,0x1D
fmv.d.x fs1,a4
life_2:
slli t1,t1,0x34
and a0,a0,t1
ld t2,168(t0)
bnez a0,L$6
fmv.x.d a2,fs1
li a3,0xFFF0000000000000
and a2,a2,a3
li a4,0x000FFFFFFFFFFFFF
fmv.x.d a7,fa0
and a3,a7,a4
or a2,a2,a3
fmv.d.x fs2,a2
fsub.d fs2,fs2,fs1
li a7,0x0
fmv.d.x ft3,a7
feq.d a7,fs2,ft3
beqz a7,L$7
sd t2,8(sp)
fld fa0,40(sp)
ld ra,0(sp)
addi sp,sp,176
ret
.align 4
L$7:
fmv.x.d t1,fs2
li t3,4080
li t4,8160
srai t2,t1,0x28
fmv.x.d a2,ft0
li a3,0xFFF0000000000000
and a2,a2,a3
li a4,0x000FFFFFFFFFFFFF
fmv.x.d a7,fs2
and a3,a7,a4
or a2,a2,a3
fmv.d.x fs1,a2
srai t1,t1,0x34
and t2,t2,t3
li a7,-2098
add t5,t1,a7
addi t2,t2,16
and t4,t2,t4
.align 4
L$3:
add t4,t0,t4
fld ft8,184(t0)
fld fs3,192(t4)
fld fs4,200(t4)
fld ft9,216(t4)
fld ft11,176(t0)
fld fa6,208(t4)
fld fs5,8(t0)
fld fa2,0(t0)
fmv.d.x fa4,t5
fld fs6,32(t0)
fld fa3,24(t0)
fld fa1,16(t0)
fsub.d fs1,fs1,fs3
fld ft10,40(t0)
ld ra,0(sp)
fmv.x.d a7,fa4
fcvt.d.l fa4,a7
fmul.d fs1,fs1,fs4
fmadd.d ft8,ft8,fa4,ft9
fmadd.d fa4,fa4,ft11,fa6
fmul.d fa0,fs1,fs1
fmadd.d fs5,fs1,fs5,fa2
fmadd.d fs6,fs1,fs6,fa3
fmul.d fa5,fs1,fa0
fmadd.d fs5,fa0,fa1,fs5
fmadd.d fs1,fs1,ft10,ft8
fmadd.d fs5,fa5,fs6,fs5
fmadd.d fs1,fa0,fs5,fs1
fadd.d fa0,fs1,fa4
addi sp,sp,176
ret
.align 4
L$6:
ld ra,0(sp)
fmv.d fa7,fa0
fmv.d fa0,fa7
addi sp,sp,176
ret
.align 4
L$1:
fsub.d ft0,fa0,ft0
flw fs7,148(t0)
fmv.x.d a4,fs7
li a2,0x20000000
and a2,a2,a4
beqz a2,life_3
li a2,0x30000000
slli a2,a2,0x2
and a3,a2,a4
slli a3,a3,0x3
li a2,0x1c0000000
or a3,a2,a3
li a2,0x3FFFFFFF
and a4,a2,a4
or a4,a3,a4
slli a4,a4,0x1D
fmv.d.x fs7,a4
j life_4
life_3:
li a2,0x30000000
slli a2,a2,0x2
and a3,a2,a4
slli a3,a3,0x3
li a2,0x3FFFFFFF
and a4,a2,a4
or a4,a3,a4
slli a4,a4,0x1D
fmv.d.x fs7,a4
life_4:
addi a7,t0,48
vsetvli a5,a6,e64,m1
vle64.v v29,(a7)
addi a7,t0,64
vle64.v v19,(a7)
addi a7,t0,80
vle64.v v11,(a7)
vfmv.v.f v0,ft0
addi a7,t0,96
vle64.v v15,(a7)
addi a7,t0,112
vle64.v v17,(a7)
vfmul.vv v12,v0,v0
flw fs5,152(t0)
fmv.x.d a4,fs5
li a2,0x20000000
and a2,a2,a4
beqz a2,life_10
li a2,0x30000000
slli a2,a2,0x2
and a3,a2,a4
slli a3,a3,0x3
li a2,0x1c0000000
or a3,a2,a3
li a2,0x3FFFFFFF
and a4,a2,a4
or a4,a3,a4
slli a4,a4,0x1D
fmv.d.x fs5,a4
j life_11
life_10:
li a2,0x30000000
slli a2,a2,0x2
and a3,a2,a4
slli a3,a3,0x3
li a2,0x3FFFFFFF
and a4,a2,a4
or a4,a3,a4
slli a4,a4,0x1D
fmv.d.x fs5,a4
life_11:
fsgnj.d fs8,fs7,ft0
fld fa4,40(t0)
vfmacc.vv v19,v0,v29
fld fa7,136(t0)
fld fa0,128(t0)
ld ra,0(sp)
vfmadd.vv v11,v0,v15
fadd.d fs4,ft0,fs8
vfmul.vv v25,v0,v12
vfmadd.vv v17,v12,v19
vfmv.f.s fs3,v12
fmul.d fs3,fs3,fs3
fsub.d fs4,fs4,fs8
vfmul.vv v15,v25,v11
vfadd.vv v15,v15,v17
fmul.d ft8,fs4,fs4
fsub.d fa6,ft0,fs4
fadd.d fs4,ft0,fs4
fmul.d fs3,fs3,fs3
vslidedown.vi v1,v15,1
vfmv.f.s fs2,v1
fneg.d ft3,ft8
fmadd.d ft0,ft3,fs5,ft0
fmul.d fs4,fs4,fa6
vfmv.f.s fs6,v15
vfmv.f.s ft11,v25
fmul.d fs6,ft11,fs6
fmul.d fs4,fs4,fs5
li a2,0xfffffffff0000000
fmv.x.d a3,ft0
and a2,a2,a3
fmv.d.x fs1,a2
fmadd.d fs2,fs3,fs2,fs6
fneg.d ft3,fs4
fmadd.d fs2,ft3,fa4,fs2
fsub.d ft0,ft0,fs1
fmadd.d ft0,ft0,fa4,fs2
fmadd.d fa7,fs1,fa7,ft0
fmadd.d fa0,fs1,fa0,fa7
addi sp,sp,176
ret
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Assembly
1
https://gitee.com/li-fei-abc/risc-v-math-library.git
git@gitee.com:li-fei-abc/risc-v-math-library.git
li-fei-abc
risc-v-math-library
RISC-V-math-library
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385