tanhl.S 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992
  1. /*
  2. * Math library
  3. *
  4. * Copyright (C) 2016 Intel Corporation. All rights reserved.
  5. *
  6. * Redistribution and use in source and binary forms, with or without
  7. * modification, are permitted provided that the following conditions
  8. * are met:
  9. *
  10. * * Redistributions of source code must retain the above copyright
  11. * notice, this list of conditions and the following disclaimer.
  12. * * Redistributions in binary form must reproduce the above copyright
  13. * notice, this list of conditions and the following disclaimer in
  14. * the documentation and/or other materials provided with the
  15. * distribution.
  16. * * Neither the name of Intel Corporation nor the names of its
  17. * contributors may be used to endorse or promote products derived
  18. * from this software without specific prior written permission.
  19. *
  20. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  21. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  22. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  23. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  24. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  25. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  26. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  28. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  29. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  30. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. *
  32. *
  33. * Author Name <jingwei.zhang@intel.com>
  34. * History:
  35. * 03-14-2016 Initial version. numerics svn rev. 12864
  36. */
  37. .file "tanhl.c"
  38. .text
  39. ..TXTST0:
  40. # -- Begin tanhl
  41. .text
  42. .align 16,0x90
  43. .globl tanhl
  44. tanhl:
  45. # parameter 1: 8 + %ebp
  46. ..B1.1:
  47. ..L1:
  48. pushl %ebp
  49. movl %esp, %ebp
  50. andl $-16, %esp
  51. pushl %esi
  52. pushl %edi
  53. pushl %ebx
  54. subl $68, %esp
  55. ..B1.2:
  56. fnstcw 54(%esp)
  57. ..B1.3:
  58. movzwl 16(%ebp), %eax
  59. andl $32767, %eax
  60. movzwl 54(%esp), %ecx
  61. cmpl $16388, %eax
  62. call ..L2
  63. ..L2:
  64. popl %edx
  65. lea _GLOBAL_OFFSET_TABLE_+[. - ..L2](%edx), %edx
  66. jge ..B1.56
  67. ..B1.4:
  68. cmpl $16382, %eax
  69. jge ..B1.46
  70. ..B1.5:
  71. cmpl $16376, %eax
  72. jge ..B1.39
  73. ..B1.6:
  74. cmpl $16371, %eax
  75. jge ..B1.32
  76. ..B1.7:
  77. cmpl $16365, %eax
  78. jge ..B1.25
  79. ..B1.8:
  80. cmpl $16308, %eax
  81. jge ..B1.18
  82. ..B1.9:
  83. movl %ecx, %ebx
  84. andl $768, %ebx
  85. cmpl $768, %ebx
  86. je ..B1.69
  87. ..B1.10:
  88. orl $-64768, %ecx
  89. movw %cx, 52(%esp)
  90. ..B1.11:
  91. fldcw 52(%esp)
  92. ..B1.12:
  93. movzwl 16(%ebp), %eax
  94. movl $1, %esi
  95. andl $32767, %eax
  96. ..B1.13:
  97. testl %eax, %eax
  98. jle ..B1.65
  99. ..B1.14:
  100. fldt 8(%ebp)
  101. fldl _TWO_75@GOTOFF(%edx)
  102. fmul %st(1), %st
  103. fsubp %st, %st(1)
  104. fmull 8+_TWO_75@GOTOFF(%edx)
  105. fstpt 16(%esp)
  106. ..B1.15:
  107. testl %esi, %esi
  108. je ..B1.17
  109. ..B1.16:
  110. fldcw 54(%esp)
  111. ..B1.17:
  112. fldt 16(%esp)
  113. addl $68, %esp
  114. popl %ebx
  115. popl %edi
  116. popl %esi
  117. movl %ebp, %esp
  118. popl %ebp
  119. ret
  120. ..B1.18:
  121. movl %ecx, %eax
  122. andl $768, %eax
  123. cmpl $768, %eax
  124. je ..B1.70
  125. ..B1.19:
  126. orl $-64768, %ecx
  127. movw %cx, 52(%esp)
  128. ..B1.20:
  129. fldcw 52(%esp)
  130. ..B1.21:
  131. movl $1, %eax
  132. ..B1.22:
  133. fldt 8(%ebp)
  134. testl %eax, %eax
  135. fldt _Q3@GOTOFF(%edx)
  136. fmul %st(1), %st
  137. fmul %st(1), %st
  138. fmul %st(1), %st
  139. faddp %st, %st(1)
  140. fstpt 16(%esp)
  141. je ..B1.24
  142. ..B1.23:
  143. fldcw 54(%esp)
  144. ..B1.24:
  145. fldt 16(%esp)
  146. addl $68, %esp
  147. popl %ebx
  148. popl %edi
  149. popl %esi
  150. movl %ebp, %esp
  151. popl %ebp
  152. ret
  153. ..B1.25:
  154. movl %ecx, %eax
  155. andl $768, %eax
  156. cmpl $768, %eax
  157. je ..B1.71
  158. ..B1.26:
  159. orl $-64768, %ecx
  160. movw %cx, 52(%esp)
  161. ..B1.27:
  162. fldcw 52(%esp)
  163. ..B1.28:
  164. movl $1, %eax
  165. ..B1.29:
  166. fldt 8(%ebp)
  167. testl %eax, %eax
  168. fld %st(0)
  169. fmul %st(1), %st
  170. fldt 12+_Q2@GOTOFF(%edx)
  171. fmul %st(1), %st
  172. fldt _Q2@GOTOFF(%edx)
  173. faddp %st, %st(1)
  174. fmulp %st, %st(1)
  175. fmul %st(1), %st
  176. faddp %st, %st(1)
  177. fstpt 16(%esp)
  178. je ..B1.31
  179. ..B1.30:
  180. fldcw 54(%esp)
  181. ..B1.31:
  182. fldt 16(%esp)
  183. addl $68, %esp
  184. popl %ebx
  185. popl %edi
  186. popl %esi
  187. movl %ebp, %esp
  188. popl %ebp
  189. ret
  190. ..B1.32:
  191. movl %ecx, %eax
  192. andl $768, %eax
  193. cmpl $768, %eax
  194. je ..B1.72
  195. ..B1.33:
  196. orl $-64768, %ecx
  197. movw %cx, 52(%esp)
  198. ..B1.34:
  199. fldcw 52(%esp)
  200. ..B1.35:
  201. movl $1, %eax
  202. ..B1.36:
  203. fldt 8(%ebp)
  204. testl %eax, %eax
  205. fld %st(0)
  206. fmul %st(1), %st
  207. fld %st(0)
  208. fmul %st(1), %st
  209. fldt 36+_Q1@GOTOFF(%edx)
  210. fmul %st(1), %st
  211. fldt 12+_Q1@GOTOFF(%edx)
  212. faddp %st, %st(1)
  213. fmul %st(1), %st
  214. fldt 24+_Q1@GOTOFF(%edx)
  215. fmulp %st, %st(2)
  216. fldt _Q1@GOTOFF(%edx)
  217. faddp %st, %st(2)
  218. fxch %st(2)
  219. fmulp %st, %st(1)
  220. faddp %st, %st(1)
  221. fmul %st(1), %st
  222. faddp %st, %st(1)
  223. fstpt 16(%esp)
  224. je ..B1.38
  225. ..B1.37:
  226. fldcw 54(%esp)
  227. ..B1.38:
  228. fldt 16(%esp)
  229. addl $68, %esp
  230. popl %ebx
  231. popl %edi
  232. popl %esi
  233. movl %ebp, %esp
  234. popl %ebp
  235. ret
  236. ..B1.39:
  237. movl %ecx, %eax
  238. andl $768, %eax
  239. cmpl $768, %eax
  240. je ..B1.73
  241. ..B1.40:
  242. orl $-64768, %ecx
  243. movw %cx, 52(%esp)
  244. ..B1.41:
  245. fldcw 52(%esp)
  246. ..B1.42:
  247. movl $1, %ecx
  248. ..B1.43:
  249. fldt 8(%ebp)
  250. fldl _TWO_52H@GOTOFF(%edx)
  251. fldt 180+_Q@GOTOFF(%edx)
  252. fldt 168+_Q@GOTOFF(%edx)
  253. fldt 156+_Q@GOTOFF(%edx)
  254. movzbl 17(%ebp), %eax
  255. andl $128, %eax
  256. shrl $7, %eax
  257. testl %ecx, %ecx
  258. fxch %st(4)
  259. fmull ones@GOTOFF(%edx,%eax,8)
  260. fld %st(0)
  261. fmul %st(1), %st
  262. fld %st(0)
  263. fmul %st(1), %st
  264. fmul %st, %st(4)
  265. fxch %st(6)
  266. faddp %st, %st(4)
  267. fxch %st(3)
  268. fmul %st(5), %st
  269. fxch %st(2)
  270. fmul %st(5), %st
  271. fxch %st(1)
  272. fmul %st, %st(4)
  273. fld %st(4)
  274. fadd %st(1), %st
  275. fsubp %st, %st(5)
  276. fld %st(4)
  277. fsubr %st(1), %st
  278. fxch %st(5)
  279. fstpt 16(%esp)
  280. fldt 16(%esp)
  281. fxch %st(1)
  282. fstpt 8(%ebp)
  283. fldt 8(%ebp)
  284. fldt 144+_Q@GOTOFF(%edx)
  285. faddp %st, %st(3)
  286. fxch %st(2)
  287. fmul %st(6), %st
  288. fldt 132+_Q@GOTOFF(%edx)
  289. faddp %st, %st(4)
  290. fxch %st(3)
  291. fmul %st(6), %st
  292. fldt 120+_Q@GOTOFF(%edx)
  293. faddp %st, %st(4)
  294. fxch %st(3)
  295. fmul %st(6), %st
  296. fldt 108+_Q@GOTOFF(%edx)
  297. faddp %st, %st(4)
  298. fxch %st(3)
  299. fmul %st(6), %st
  300. fldt 96+_Q@GOTOFF(%edx)
  301. faddp %st, %st(4)
  302. fxch %st(3)
  303. fmul %st(6), %st
  304. fldt 84+_Q@GOTOFF(%edx)
  305. faddp %st, %st(4)
  306. fxch %st(3)
  307. fmul %st(6), %st
  308. fldt 72+_Q@GOTOFF(%edx)
  309. faddp %st, %st(4)
  310. fxch %st(3)
  311. fmul %st(6), %st
  312. fldt 60+_Q@GOTOFF(%edx)
  313. faddp %st, %st(4)
  314. fxch %st(3)
  315. fmul %st(6), %st
  316. fldt 48+_Q@GOTOFF(%edx)
  317. faddp %st, %st(4)
  318. fxch %st(3)
  319. fmul %st(6), %st
  320. fldt 36+_Q@GOTOFF(%edx)
  321. faddp %st, %st(4)
  322. fxch %st(3)
  323. fmul %st(6), %st
  324. fldt 24+_Q@GOTOFF(%edx)
  325. faddp %st, %st(4)
  326. fxch %st(3)
  327. fmul %st(6), %st
  328. fldt 12+_Q@GOTOFF(%edx)
  329. faddp %st, %st(4)
  330. fxch %st(3)
  331. fmulp %st, %st(6)
  332. fld %st(0)
  333. fmul %st(5), %st
  334. fxch %st(1)
  335. fmul %st(0), %st
  336. fldt _Q@GOTOFF(%edx)
  337. faddp %st, %st(4)
  338. fxch %st(3)
  339. fmul %st(4), %st
  340. faddp %st, %st(6)
  341. fld %st(4)
  342. fmul %st(2), %st
  343. faddp %st, %st(1)
  344. fld %st(0)
  345. fmul %st(3), %st
  346. fxch %st(1)
  347. fmul %st, %st(4)
  348. fxch %st(4)
  349. faddp %st, %st(1)
  350. fld %st(2)
  351. fmul %st(3), %st
  352. fldt 204+_Q@GOTOFF(%edx)
  353. fmul %st, %st(2)
  354. fxch %st(2)
  355. faddp %st, %st(7)
  356. fmulp %st, %st(1)
  357. fldt 192+_Q@GOTOFF(%edx)
  358. fmul %st, %st(3)
  359. fxch %st(3)
  360. faddp %st, %st(1)
  361. fxch %st(2)
  362. fmulp %st, %st(3)
  363. fxch %st(2)
  364. faddp %st, %st(4)
  365. fld %st(2)
  366. fldl _TWO_48H@GOTOFF(%edx)
  367. fld %st(0)
  368. fadd %st(3), %st
  369. fsub %st, %st(1)
  370. fxch %st(1)
  371. fmul %st, %st(2)
  372. fsubr %st, %st(3)
  373. fxch %st(6)
  374. faddp %st, %st(3)
  375. fxch %st(3)
  376. fmulp %st, %st(2)
  377. faddp %st, %st(1)
  378. faddp %st, %st(2)
  379. fldt 16(%esp)
  380. fmul %st, %st(3)
  381. faddp %st, %st(3)
  382. fxch %st(1)
  383. fmull ones@GOTOFF(%edx,%eax,8)
  384. fxch %st(2)
  385. fmull ones@GOTOFF(%edx,%eax,8)
  386. faddp %st, %st(2)
  387. fxch %st(1)
  388. fstpt 16(%esp)
  389. je ..B1.83
  390. ..B1.44:
  391. fstpt 28(%esp)
  392. ..B1.82:
  393. fldcw 54(%esp)
  394. jmp ..B1.45
  395. ..B1.83:
  396. fstp %st(0)
  397. ..B1.45:
  398. fldt 16(%esp)
  399. addl $68, %esp
  400. popl %ebx
  401. popl %edi
  402. popl %esi
  403. movl %ebp, %esp
  404. popl %ebp
  405. ret
  406. ..B1.46:
  407. movl %ecx, %ebx
  408. andl $768, %ebx
  409. cmpl $768, %ebx
  410. je ..B1.74
  411. ..B1.47:
  412. orl $-64768, %ecx
  413. movw %cx, 52(%esp)
  414. ..B1.48:
  415. fldcw 52(%esp)
  416. ..B1.49:
  417. movzwl 16(%ebp), %eax
  418. movl $1, %ebx
  419. ..B1.50:
  420. fldt 8(%ebp)
  421. fldl _TWO_63H@GOTOFF(%edx)
  422. fldt .L_2il0floatpacket.0@GOTOFF(%edx)
  423. fldt .L_2il0floatpacket.1@GOTOFF(%edx)
  424. fldl _TWO_32@GOTOFF(%edx)
  425. movzbl 17(%ebp), %esi
  426. andl $128, %esi
  427. shrl $7, %esi
  428. fstl 56(%esp)
  429. shll $16, %eax
  430. fldl twos@GOTOFF(%edx,%esi,8)
  431. fmul %st, %st(5)
  432. fxch %st(3)
  433. fmul %st(5), %st
  434. fadd %st(4), %st
  435. fstpt 28(%esp)
  436. fldt 28(%esp)
  437. fsubp %st, %st(4)
  438. fxch %st(1)
  439. fmul %st(3), %st
  440. movl 28(%esp), %ecx
  441. fsubrp %st, %st(4)
  442. fld %st(3)
  443. fldt .L_2il0floatpacket.2@GOTOFF(%edx)
  444. fmulp %st, %st(4)
  445. movsbl %cl, %edi
  446. fsub %st(3), %st
  447. fldl _TWO_32P@GOTOFF(%edx)
  448. subl %edi, %ecx
  449. fmul %st(1), %st
  450. fxch %st(2)
  451. fmulp %st, %st(1)
  452. shll $4, %edi
  453. fsubrp %st, %st(1)
  454. fld %st(0)
  455. fxch %st(1)
  456. fsubr %st, %st(4)
  457. shrl $8, %ecx
  458. fxch %st(3)
  459. fsubrp %st, %st(4)
  460. shll $23, %ecx
  461. fadd %st(3), %st
  462. fld %st(0)
  463. addl $1065353216, %ecx
  464. fmul %st(1), %st
  465. fldt 48+_P@GOTOFF(%edx)
  466. fmul %st(1), %st
  467. fldt 36+_P@GOTOFF(%edx)
  468. fmul %st(2), %st
  469. fldt 24+_P@GOTOFF(%edx)
  470. movl %ecx, 12(%esp)
  471. faddp %st, %st(2)
  472. fxch %st(1)
  473. fmul %st(2), %st
  474. fldt 12+_P@GOTOFF(%edx)
  475. movzwl 14(%ebp), %ecx
  476. orl %ecx, %eax
  477. andl $2147483647, %eax
  478. faddp %st, %st(2)
  479. fxch %st(1)
  480. fmul %st(2), %st
  481. cmpl $1073845862, %eax
  482. fmulp %st, %st(3)
  483. fxch %st(2)
  484. faddp %st, %st(5)
  485. fldt _P@GOTOFF(%edx)
  486. faddp %st, %st(2)
  487. fmulp %st, %st(1)
  488. faddp %st, %st(3)
  489. fldl 2056+__libm_expl_table_256@GOTOFF(%edx,%edi)
  490. fldl 2048+__libm_expl_table_256@GOTOFF(%edx,%edi)
  491. fld %st(0)
  492. fmul %st(5), %st
  493. fxch %st(4)
  494. fadd %st, %st(5)
  495. fxch %st(2)
  496. fmul %st, %st(5)
  497. fxch %st(5)
  498. faddp %st, %st(4)
  499. fxch %st(3)
  500. fstpt 16(%esp)
  501. fmul %st(2), %st
  502. flds 12(%esp)
  503. fldt .L_2il0floatpacket.3@GOTOFF(%edx)
  504. jae ..B1.52
  505. ..B1.51:
  506. fldl 56(%esp)
  507. fld %st(5)
  508. fadd %st(4), %st
  509. fadd %st(1), %st
  510. fsubp %st, %st(1)
  511. fsubr %st, %st(5)
  512. fxch %st(3)
  513. faddp %st, %st(5)
  514. fxch %st(4)
  515. faddp %st, %st(5)
  516. fmul %st, %st(1)
  517. fxch %st(1)
  518. fadd %st(3), %st
  519. fld %st(0)
  520. fldt 16(%esp)
  521. faddp %st, %st(6)
  522. fxch %st(5)
  523. fmulp %st, %st(2)
  524. fld %st(0)
  525. fadd %st(2), %st
  526. fdivr %st(4), %st
  527. fmul %st, %st(2)
  528. fldl _TWO_32H@GOTOFF(%edx)
  529. fld %st(0)
  530. fadd %st(2), %st
  531. fstpt 28(%esp)
  532. fldt 28(%esp)
  533. fsubp %st, %st(1)
  534. fld %st(0)
  535. fsubr %st(2), %st
  536. fmul %st, %st(7)
  537. fxch %st(4)
  538. faddp %st, %st(7)
  539. fmul %st, %st(2)
  540. fxch %st(5)
  541. fsubrp %st, %st(2)
  542. fxch %st(5)
  543. faddp %st, %st(1)
  544. fmulp %st, %st(4)
  545. fsubp %st, %st(3)
  546. fmul %st, %st(1)
  547. fmulp %st, %st(2)
  548. fsubrl ones@GOTOFF(%edx,%esi,8)
  549. fsubp %st, %st(1)
  550. fstpt 40(%esp)
  551. jmp ..B1.53
  552. ..B1.52:
  553. fldt 16(%esp)
  554. faddp %st, %st(6)
  555. fxch %st(2)
  556. faddp %st, %st(5)
  557. fxch %st(3)
  558. faddp %st, %st(4)
  559. fxch %st(2)
  560. fmulp %st, %st(3)
  561. fxch %st(2)
  562. faddp %st, %st(1)
  563. fdivrp %st, %st(1)
  564. fsubrl ones@GOTOFF(%edx,%esi,8)
  565. fstpt 40(%esp)
  566. ..B1.53:
  567. testl %ebx, %ebx
  568. je ..B1.55
  569. ..B1.54:
  570. fldcw 54(%esp)
  571. ..B1.55:
  572. fldt 40(%esp)
  573. addl $68, %esp
  574. popl %ebx
  575. popl %edi
  576. popl %esi
  577. movl %ebp, %esp
  578. popl %ebp
  579. ret
  580. ..B1.56:
  581. movl %ecx, %ebx
  582. andl $768, %ebx
  583. cmpl $768, %ebx
  584. je ..B1.79
  585. ..B1.57:
  586. orl $-64768, %ecx
  587. movw %cx, 52(%esp)
  588. ..B1.58:
  589. fldcw 52(%esp)
  590. ..B1.59:
  591. movzwl 16(%ebp), %eax
  592. movl $1, %ecx
  593. andl $32767, %eax
  594. ..B1.60:
  595. cmpl $32767, %eax
  596. je ..B1.75
  597. ..B1.61:
  598. movzbl 17(%ebp), %esi
  599. andl $128, %esi
  600. shrl $7, %esi
  601. lea (,%esi,8), %eax
  602. lea (%eax,%esi,4), %ebx
  603. fldt _small_value_80@GOTOFF(%edx,%ebx)
  604. fsubrl ones@GOTOFF(%edx,%esi,8)
  605. fstpt 16(%esp)
  606. ..B1.62:
  607. testl %ecx, %ecx
  608. je ..B1.64
  609. ..B1.63:
  610. fldcw 54(%esp)
  611. ..B1.64:
  612. fldt 16(%esp)
  613. addl $68, %esp
  614. popl %ebx
  615. popl %edi
  616. popl %esi
  617. movl %ebp, %esp
  618. popl %ebp
  619. ret
  620. ..B1.65:
  621. cmpl $0, 12(%ebp)
  622. jne ..B1.67
  623. ..B1.66:
  624. cmpl $0, 8(%ebp)
  625. je ..B1.68
  626. ..B1.67:
  627. fldt _small_value_80@GOTOFF(%edx)
  628. fldt 8(%ebp)
  629. fldl _TWO_75@GOTOFF(%edx)
  630. fmul %st(1), %st
  631. movzbl 17(%ebp), %ecx
  632. fsubp %st, %st(1)
  633. fmull 8+_TWO_75@GOTOFF(%edx)
  634. andl $128, %ecx
  635. shrl $7, %ecx
  636. fstpt 16(%esp)
  637. lea (,%ecx,8), %eax
  638. lea (%eax,%ecx,4), %ebx
  639. fldt _small_value_80@GOTOFF(%edx,%ebx)
  640. fmulp %st, %st(1)
  641. fstpt (%esp)
  642. jmp ..B1.15
  643. ..B1.68:
  644. fldt 8(%ebp)
  645. fstpt 16(%esp)
  646. jmp ..B1.15
  647. ..B1.69:
  648. xorl %esi, %esi
  649. jmp ..B1.13
  650. ..B1.70:
  651. xorl %eax, %eax
  652. jmp ..B1.22
  653. ..B1.71:
  654. xorl %eax, %eax
  655. jmp ..B1.29
  656. ..B1.72:
  657. xorl %eax, %eax
  658. jmp ..B1.36
  659. ..B1.73:
  660. xorl %ecx, %ecx
  661. jmp ..B1.43
  662. ..B1.74:
  663. xorl %ebx, %ebx
  664. jmp ..B1.50
  665. ..B1.75:
  666. cmpl $-2147483648, 12(%ebp)
  667. jne ..B1.78
  668. ..B1.76:
  669. cmpl $0, 8(%ebp)
  670. jne ..B1.78
  671. ..B1.77:
  672. movzbl 17(%ebp), %eax
  673. andl $128, %eax
  674. shrl $7, %eax
  675. fldl ones@GOTOFF(%edx,%eax,8)
  676. fstpt 16(%esp)
  677. jmp ..B1.62
  678. ..B1.78:
  679. fldt 8(%ebp)
  680. fstpt 16(%esp)
  681. jmp ..B1.62
  682. ..B1.79:
  683. xorl %ecx, %ecx
  684. jmp ..B1.60
  685. .align 16,0x90
  686. .type tanhl,@function
  687. .size tanhl,.-tanhl
  688. .data
  689. # -- End tanhl
  690. .section .rodata, "a"
  691. .align 16
  692. .align 16
  693. .L_2il0floatpacket.0:
  694. .byte 0x00,0xf0,0x17,0x5c,0x29,0x3b,0xaa,0xb8,0x07,0x40,0x00,0x00
  695. .type .L_2il0floatpacket.0,@object
  696. .size .L_2il0floatpacket.0,12
  697. .space 4, 0x00 # pad
  698. .align 16
  699. .L_2il0floatpacket.1:
  700. .byte 0x00,0x00,0x00,0x00,0xf8,0x17,0x72,0xb1,0xf6,0x3f,0x00,0x00
  701. .type .L_2il0floatpacket.1,@object
  702. .size .L_2il0floatpacket.1,12
  703. .space 4, 0x00 # pad
  704. .align 16
  705. .L_2il0floatpacket.2:
  706. .byte 0x00,0x30,0x71,0xd8,0x50,0x19,0xc2,0xb8,0xd4,0xbf,0x00,0x00
  707. .type .L_2il0floatpacket.2,@object
  708. .size .L_2il0floatpacket.2,12
  709. .space 4, 0x00 # pad
  710. .align 16
  711. .L_2il0floatpacket.3:
  712. .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xff,0x3f,0x00,0x00
  713. .type .L_2il0floatpacket.3,@object
  714. .size .L_2il0floatpacket.3,12
  715. .space 4, 0x00 # pad
  716. .align 8
  717. ones:
  718. .long 0x00000000,0x3ff00000
  719. .long 0x00000000,0xbff00000
  720. .type ones,@object
  721. .size ones,16
  722. .align 8
  723. twos:
  724. .long 0x00000000,0x40000000
  725. .long 0x00000000,0xc0000000
  726. .type twos,@object
  727. .size twos,16
  728. .align 4
  729. _TWO_75:
  730. .long 0
  731. .long 1151336448
  732. .long 0
  733. .long 994050048
  734. .type _TWO_75,@object
  735. .size _TWO_75,16
  736. .align 4
  737. _TWO_52H:
  738. .long 0
  739. .long 1127743488
  740. .type _TWO_52H,@object
  741. .size _TWO_52H,8
  742. .align 4
  743. _TWO_48H:
  744. .long 0
  745. .long 1123549184
  746. .type _TWO_48H,@object
  747. .size _TWO_48H,8
  748. .align 4
  749. _TWO_63H:
  750. .long 0
  751. .long 1139277824
  752. .type _TWO_63H,@object
  753. .size _TWO_63H,8
  754. .align 4
  755. _TWO_32:
  756. .long 0
  757. .long 1106247680
  758. .type _TWO_32,@object
  759. .size _TWO_32,8
  760. .align 4
  761. _TWO_32P:
  762. .long 1048576
  763. .long 1106247680
  764. .type _TWO_32P,@object
  765. .size _TWO_32P,8
  766. .align 4
  767. _TWO_32H:
  768. .long 0
  769. .long 1106771968
  770. .type _TWO_32H,@object
  771. .size _TWO_32H,8
  772. .align 2
  773. _Q3:
  774. .word 21845
  775. .word 42325
  776. .word 43690
  777. .word 43690
  778. .word 49149
  779. .word 0
  780. .type _Q3,@object
  781. .size _Q3,12
  782. .align 2
  783. _Q2:
  784. .word 36147
  785. .word 43690
  786. .word 43690
  787. .word 43690
  788. .word 49149
  789. .word 0
  790. .word 55638
  791. .word 59918
  792. .word 34848
  793. .word 34952
  794. .word 16380
  795. .word 0
  796. .type _Q2,@object
  797. .size _Q2,24
  798. .align 2
  799. _Q1:
  800. .word 43688
  801. .word 43690
  802. .word 43690
  803. .word 43690
  804. .word 49149
  805. .word 0
  806. .word 48627
  807. .word 34947
  808. .word 34952
  809. .word 34952
  810. .word 16380
  811. .word 0
  812. .word 23872
  813. .word 38674
  814. .word 53460
  815. .word 56589
  816. .word 49146
  817. .word 0
  818. .word 33152
  819. .word 13396
  820. .word 6324
  821. .word 45860
  822. .word 16377
  823. .word 0
  824. .type _Q1,@object
  825. .size _Q1,48
  826. .align 2
  827. _Q:
  828. .word 43505
  829. .word 43690
  830. .word 43690
  831. .word 43690
  832. .word 49137
  833. .word 0
  834. .word 51768
  835. .word 34951
  836. .word 34952
  837. .word 34952
  838. .word 16368
  839. .word 0
  840. .word 53715
  841. .word 3536
  842. .word 53469
  843. .word 56589
  844. .word 49146
  845. .word 0
  846. .word 37274
  847. .word 24708
  848. .word 42049
  849. .word 45863
  850. .word 16377
  851. .word 0
  852. .word 51222
  853. .word 13677
  854. .word 6831
  855. .word 37175
  856. .word 49144
  857. .word 0
  858. .word 45961
  859. .word 31945
  860. .word 59504
  861. .word 60265
  862. .word 16374
  863. .word 0
  864. .word 5972
  865. .word 17449
  866. .word 45604
  867. .word 48849
  868. .word 49141
  869. .word 0
  870. .word 32816
  871. .word 2946
  872. .word 4564
  873. .word 39596
  874. .word 16372
  875. .word 0
  876. .word 14786
  877. .word 2112
  878. .word 44465
  879. .word 64190
  880. .word 49138
  881. .word 0
  882. .word 3031
  883. .word 16844
  884. .word 22916
  885. .word 52030
  886. .word 16369
  887. .word 0
  888. .word 47485
  889. .word 32270
  890. .word 51436
  891. .word 42167
  892. .word 49136
  893. .word 0
  894. .word 3071
  895. .word 14344
  896. .word 30185
  897. .word 34131
  898. .word 16367
  899. .word 0
  900. .word 24996
  901. .word 54454
  902. .word 53234
  903. .word 54781
  904. .word 49133
  905. .word 0
  906. .word 39193
  907. .word 24581
  908. .word 37984
  909. .word 42131
  910. .word 16364
  911. .word 0
  912. .word 5913
  913. .word 28127
  914. .word 47865
  915. .word 55395
  916. .word 49130
  917. .word 0
  918. .word 25952
  919. .word 54950
  920. .word 21582
  921. .word 44803
  922. .word 16360
  923. .word 0
  924. .word 0
  925. .word 0
  926. .word 0
  927. .word 43680
  928. .word 49149
  929. .word 0
  930. .word 0
  931. .word 0
  932. .word 0
  933. .word 34944
  934. .word 16380
  935. .word 0
  936. .type _Q,@object
  937. .size _Q,216
  938. .align 2
  939. _P:
  940. .word 0
  941. .word 0
  942. .word 0
  943. .word 32768
  944. .word 16382
  945. .word 0
  946. .word 10558
  947. .word 43680
  948. .word 43690
  949. .word 43690
  950. .word 16380
  951. .word 0
  952. .word 59664
  953. .word 43680
  954. .word 43690
  955. .word 43690
  956. .word 16378
  957. .word 0
  958. .word 56450
  959. .word 15979
  960. .word 35652
  961. .word 34952
  962. .word 16376
  963. .word 0
  964. .word 7105
  965. .word 47411
  966. .word 25657
  967. .word 46603
  968. .word 16373
  969. .word 0
  970. .type _P,@object
  971. .size _P,60
  972. .align 2
  973. _small_value_80:
  974. .word 0
  975. .word 0
  976. .word 0
  977. .word 32768
  978. .word 6383
  979. .word 0
  980. .word 0
  981. .word 0
  982. .word 0
  983. .word 32768
  984. .word 39151
  985. .word 0
  986. .type _small_value_80,@object
  987. .size _small_value_80,24
  988. .data
  989. .hidden __libm_expl_table_256
  990. .section .note.GNU-stack, ""
  991. # End