ctanhl.S 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975
  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 "ctanhl.c"
  38. .text
  39. ..TXTST0:
  40. # -- Begin ctanhl
  41. .text
  42. .align 16,0x90
  43. .globl ctanhl
  44. ctanhl:
  45. # parameter 1: 12 + %ebp
  46. ..B1.1:
  47. ..L1:
  48. pushl %ebp
  49. movl %esp, %ebp
  50. andl $-64, %esp
  51. pushl %esi
  52. pushl %edi
  53. pushl %ebx
  54. subl $308, %esp
  55. call ..L2
  56. ..L2:
  57. popl %ebx
  58. lea _GLOBAL_OFFSET_TABLE_+[. - ..L2](%ebx), %ebx
  59. movl %gs:20, %edx
  60. movl 8(%ebp), %esi
  61. xorl %esp, %edx
  62. fldt .L_2il0floatpacket.8@GOTOFF(%ebx)
  63. movl %edx, 304(%esp)
  64. fstpt 280(%esp)
  65. fldt 280(%esp)
  66. fstpt 292(%esp)
  67. ..B1.2:
  68. fnstcw 94(%esp)
  69. ..B1.3:
  70. movzwl 94(%esp), %ecx
  71. movl %ecx, %edx
  72. andl $768, %edx
  73. cmpl $768, %edx
  74. je ..B1.81
  75. ..B1.4:
  76. orl $-64768, %ecx
  77. movw %cx, 92(%esp)
  78. ..B1.5:
  79. fldcw 92(%esp)
  80. ..B1.6:
  81. movl $1, %edi
  82. ..B1.7:
  83. movzwl 20(%ebp), %edx
  84. andl $32767, %edx
  85. cmpl $32767, %edx
  86. jge ..B1.50
  87. ..B1.8:
  88. movzwl 32(%ebp), %ecx
  89. andl $32767, %ecx
  90. cmpl $32767, %ecx
  91. jge ..B1.50
  92. ..B1.9:
  93. cmpl $0, 16(%ebp)
  94. jne ..B1.11
  95. ..B1.10:
  96. cmpl $0, 12(%ebp)
  97. je ..B1.50
  98. ..B1.11:
  99. cmpl $16396, %edx
  100. jl ..B1.22
  101. ..B1.12:
  102. fldt 24+_CONSTANTS@GOTOFF(%ebx)
  103. movzbl 21(%ebp), %eax
  104. andl $128, %eax
  105. shrl $7, %eax
  106. cmpl $0, 28(%ebp)
  107. lea (,%eax,8), %edx
  108. lea (%edx,%eax,4), %edx
  109. fldt _CONSTANTS@GOTOFF(%ebx,%edx)
  110. fsub %st(1), %st
  111. fstpt 280(%esp)
  112. jne ..B1.14
  113. ..B1.13:
  114. cmpl $0, 24(%ebp)
  115. je ..B1.15
  116. ..B1.14:
  117. fmul %st(0), %st
  118. fstpt 292(%esp)
  119. jmp ..B1.16
  120. ..B1.15:
  121. fstp %st(0)
  122. fldt 60+_CONSTANTS@GOTOFF(%ebx)
  123. fstpt 292(%esp)
  124. ..B1.16:
  125. testl %ecx, %ecx
  126. jle ..B1.74
  127. ..B1.17:
  128. fldt 24(%ebp)
  129. addl $-16, %esp
  130. fstpt (%esp)
  131. call tanl@PLT
  132. ..B1.84:
  133. addl $16, %esp
  134. fstpt 172(%esp)
  135. movzbl 301(%esp), %edx
  136. movzbl 181(%esp), %ecx
  137. andl $127, %edx
  138. andl $-128, %ecx
  139. orl %ecx, %edx
  140. ..B1.18:
  141. movb %dl, 301(%esp)
  142. testl %edi, %edi
  143. je ..B1.20
  144. ..B1.19:
  145. fldcw 94(%esp)
  146. ..B1.20:
  147. movl 280(%esp), %edx
  148. movl %edx, (%esi)
  149. movl 292(%esp), %edx
  150. movl %edx, 12(%esi)
  151. movl 296(%esp), %edx
  152. movl %edx, 16(%esi)
  153. movl 284(%esp), %ecx
  154. movl 288(%esp), %edi
  155. movl 300(%esp), %edx
  156. movl %ecx, 4(%esi)
  157. movl %edi, 8(%esi)
  158. movl %edx, 20(%esi)
  159. movl 304(%esp), %edx
  160. xorl %esp, %edx
  161. cmpl %gs:20, %edx
  162. jne ..B1.73
  163. ..B1.21:
  164. movl %esi, %eax
  165. addl $308, %esp
  166. popl %ebx
  167. popl %edi
  168. popl %esi
  169. movl %ebp, %esp
  170. popl %ebp
  171. ret $4
  172. ..B1.22:
  173. fldt 12(%ebp)
  174. addl $-16, %esp
  175. lea 224(%esp), %edx
  176. fstpt (%esp)
  177. movl %edx, 12(%esp)
  178. call __libm_coshl_k80
  179. ..B1.85:
  180. addl $16, %esp
  181. ..B1.23:
  182. fldt 48+_CONSTANTS@GOTOFF(%ebx)
  183. fstpt 64(%esp)
  184. fldt 64(%esp)
  185. faddp %st, %st(1)
  186. fstpt (%esp)
  187. fldt 208(%esp)
  188. fld %st(0)
  189. fldt 220(%esp)
  190. movzwl 20(%ebp), %ecx
  191. fadd %st, %st(1)
  192. andl $32767, %ecx
  193. fxch %st(1)
  194. fsub %st, %st(2)
  195. movl (%esp), %edx
  196. cmpl $16183, %ecx
  197. movl %edx, 76(%esp)
  198. fxch %st(2)
  199. fsubrp %st, %st(1)
  200. fstpt 40(%esp)
  201. jge ..B1.25
  202. ..B1.24:
  203. fldt 12(%ebp)
  204. lea 196(%esp), %eax
  205. fldt 36+_CONSTANTS@GOTOFF(%ebx)
  206. fmulp %st, %st(1)
  207. fstpt -12(%eax)
  208. fldt 60+_CONSTANTS@GOTOFF(%ebx)
  209. movzwl -4(%eax), %ecx
  210. movl %ecx, %edx
  211. andl $32767, %edx
  212. andl $-32768, %ecx
  213. addl $-16639, %edx
  214. orl $-49153, %ecx
  215. fstpt (%eax)
  216. movl %edx, 52(%esp)
  217. movw %cx, -4(%eax)
  218. jmp ..B1.27
  219. ..B1.25:
  220. fldt 12(%ebp)
  221. addl $-16, %esp
  222. lea 200(%esp), %edx
  223. fstpt (%esp)
  224. movl %edx, 12(%esp)
  225. fstpt 32(%esp)
  226. call __libm_sinhl_k80
  227. ..B1.86:
  228. fldt 32(%esp)
  229. addl $16, %esp
  230. ..B1.26:
  231. fldt 64(%esp)
  232. lea 196(%esp), %eax
  233. faddp %st, %st(2)
  234. fxch %st(1)
  235. fstpt (%esp)
  236. movl (%esp), %edx
  237. movl %edx, 52(%esp)
  238. ..B1.27:
  239. fldt 184(%esp)
  240. fld %st(0)
  241. fldt (%eax)
  242. fadd %st, %st(1)
  243. fxch %st(1)
  244. fstpt 28(%esp)
  245. fldt 28(%esp)
  246. addl $-16, %esp
  247. fsubp %st, %st(2)
  248. fsubp %st, %st(1)
  249. fldt 24(%ebp)
  250. fstpt (%esp)
  251. lea 248(%esp), %edx
  252. movl %edx, 12(%esp)
  253. fxch %st(1)
  254. fstpt 32(%esp)
  255. fstpt -104(%edx)
  256. call __libm_cosl_k80
  257. ..B1.87:
  258. fldt 144(%esp)
  259. fldt 32(%esp)
  260. addl $16, %esp
  261. ..B1.28:
  262. fldt 232(%esp)
  263. fld %st(0)
  264. fldt 244(%esp)
  265. movl 52(%esp), %ecx
  266. fadd %st, %st(1)
  267. movzwl 36(%esp), %edx
  268. fxch %st(1)
  269. fsub %st, %st(2)
  270. andl $32767, %edx
  271. fxch %st(2)
  272. fsubrp %st, %st(1)
  273. fxch %st(1)
  274. fmul %st(4), %st
  275. fxch %st(1)
  276. fmulp %st, %st(4)
  277. addl %ecx, 76(%esp)
  278. addl %ecx, %edx
  279. fxch %st(3)
  280. fstpt (%esp)
  281. fldt (%esp)
  282. fld %st(1)
  283. fldt 24+_CONSTANTS@GOTOFF(%ebx)
  284. faddp %st, %st(5)
  285. fxch %st(4)
  286. fstpt 144(%esp)
  287. fldt 144(%esp)
  288. fstpt 16(%esp)
  289. fldt 28(%esp)
  290. fld %st(0)
  291. fld %st(1)
  292. fxch %st(2)
  293. fstpt 96(%esp)
  294. fldt 96(%esp)
  295. fldt 96+_CONSTANTS@GOTOFF(%ebx)
  296. fmul %st, %st(2)
  297. movzwl 24(%esp), %ecx
  298. fxch %st(2)
  299. fsub %st, %st(3)
  300. andl $32767, %ecx
  301. fsubp %st, %st(3)
  302. fsub %st(2), %st
  303. fadd %st(5), %st
  304. fld %st(4)
  305. fmul %st(2), %st
  306. fsub %st, %st(7)
  307. fsubp %st, %st(7)
  308. fxch %st(4)
  309. fsub %st(6), %st
  310. fxch %st(1)
  311. fstpt 80(%esp)
  312. fld %st(1)
  313. lea 64(%ecx), %eax
  314. fmul %st(6), %st
  315. cmpl %eax, %edx
  316. fldt 40(%esp)
  317. faddp %st, %st(2)
  318. fld %st(1)
  319. fmul %st(5), %st
  320. fxch %st(7)
  321. fmulp %st, %st(5)
  322. fxch %st(4)
  323. faddp %st, %st(6)
  324. fmulp %st, %st(1)
  325. faddp %st, %st(4)
  326. fld %st(3)
  327. fadd %st(2), %st
  328. fstpt 112(%esp)
  329. fldt 112(%esp)
  330. fsubp %st, %st(2)
  331. fxch %st(1)
  332. fsubrp %st, %st(3)
  333. fldt 144(%esp)
  334. jge ..B1.33
  335. ..B1.29:
  336. addl $-64, %ecx
  337. cmpl %ecx, %edx
  338. jle ..B1.100
  339. ..B1.30:
  340. movl 52(%esp), %edx
  341. fstpt 28(%esp)
  342. fstpt 40(%esp)
  343. lea (%edx,%edx), %ecx
  344. movl %ecx, 12(%esp)
  345. movzwl 36(%esp), %ecx
  346. movl %ecx, %eax
  347. subl %edx, %ecx
  348. andl $-32768, %eax
  349. andl $32767, %ecx
  350. orl %ecx, %eax
  351. movzwl 8(%esp), %ecx
  352. andl $32767, %ecx
  353. subl %edx, %ecx
  354. movw %ax, 36(%esp)
  355. testl %ecx, %ecx
  356. jle ..B1.32
  357. ..B1.31:
  358. fldt 28(%esp)
  359. movzwl 48(%esp), %edx
  360. movl %edx, %ecx
  361. subl 52(%esp), %edx
  362. andl $-32768, %ecx
  363. andl $32767, %edx
  364. orl %edx, %ecx
  365. movw %cx, 48(%esp)
  366. fxch %st(1)
  367. jmp ..B1.36
  368. ..B1.32:
  369. fldt 28(%esp)
  370. fxch %st(1)
  371. jmp ..B1.36
  372. ..B1.33:
  373. fldt 60+_CONSTANTS@GOTOFF(%ebx)
  374. fstpt 28(%esp)
  375. fldt 28(%esp)
  376. fstpt 40(%esp)
  377. fldt 40(%esp)
  378. jl ..B1.35
  379. ..B1.34:
  380. fstp %st(2)
  381. fstp %st(0)
  382. movl 52(%esp), %edx
  383. lea (%edx,%edx), %ecx
  384. movl %ecx, 12(%esp)
  385. fxch %st(1)
  386. jmp ..B1.36
  387. ..B1.35:
  388. fstp %st(3)
  389. fstpt 96(%esp)
  390. movl $0, 12(%esp)
  391. ..B1.36:
  392. addl $-32, %esp
  393. lea 288(%esp), %edx
  394. movl %edx, (%esp)
  395. fldt 128(%esp)
  396. fstpt 4(%esp)
  397. fxch %st(1)
  398. fstpt 16(%esp)
  399. fstpt -128(%edx)
  400. fstpt -112(%edx)
  401. call __libm_hypot2l_k80
  402. ..B1.88:
  403. fldt 176(%esp)
  404. fldt 160(%esp)
  405. addl $32, %esp
  406. ..B1.37:
  407. fldt 64(%esp)
  408. movzwl 8+_CONSTANTS@GOTOFF(%ebx), %edx
  409. movl %edx, %eax
  410. andl $-32768, %eax
  411. faddp %st, %st(3)
  412. fxch %st(2)
  413. fstpt 52(%esp)
  414. fldt _CONSTANTS@GOTOFF(%ebx)
  415. movl 52(%esp), %ecx
  416. addl %edx, %ecx
  417. andl $32767, %ecx
  418. fstpt 172(%esp)
  419. orl %ecx, %eax
  420. fldt 256(%esp)
  421. fldt 268(%esp)
  422. fldt 96(%esp)
  423. fldt 28(%esp)
  424. fldt 84+_CONSTANTS@GOTOFF(%ebx)
  425. movw %ax, 180(%esp)
  426. fmul %st, %st(2)
  427. fxch %st(6)
  428. fmulp %st, %st(2)
  429. fmulp %st, %st(5)
  430. fldt 172(%esp)
  431. fmul %st, %st(3)
  432. fxch %st(3)
  433. fstpt 144(%esp)
  434. fldt 144(%esp)
  435. fxch %st(3)
  436. fmulp %st, %st(2)
  437. faddp %st, %st(1)
  438. fxch %st(1)
  439. fstpt 256(%esp)
  440. fldt 256(%esp)
  441. fldt 40(%esp)
  442. fmulp %st, %st(4)
  443. fxch %st(3)
  444. faddp %st, %st(1)
  445. fstpt 268(%esp)
  446. fldt 268(%esp)
  447. fldt 112(%esp)
  448. fld %st(0)
  449. fdiv %st(4), %st
  450. fstpt 160(%esp)
  451. fldt 160(%esp)
  452. fldt 72+_CONSTANTS@GOTOFF(%ebx)
  453. fld %st(0)
  454. fmul %st(2), %st
  455. fld %st(0)
  456. fsubr %st(3), %st
  457. faddp %st, %st(1)
  458. fld %st(0)
  459. fsubrp %st, %st(3)
  460. fxch %st(1)
  461. fstpt 128(%esp)
  462. fldt 128(%esp)
  463. fmul %st(6), %st
  464. fld %st(6)
  465. fsub %st(1), %st
  466. faddp %st, %st(1)
  467. fld %st(0)
  468. fsubrp %st, %st(7)
  469. fld %st(1)
  470. fmul %st(1), %st
  471. fxch %st(1)
  472. fmul %st(3), %st
  473. fxch %st(2)
  474. fmul %st(7), %st
  475. faddp %st, %st(2)
  476. fld %st(1)
  477. fadd %st(1), %st
  478. fsubr %st, %st(1)
  479. fxch %st(2)
  480. faddp %st, %st(1)
  481. fxch %st(2)
  482. fmulp %st, %st(6)
  483. fxch %st(5)
  484. faddp %st, %st(1)
  485. fxch %st(4)
  486. fsubrp %st, %st(1)
  487. fsubp %st, %st(3)
  488. fxch %st(1)
  489. faddp %st, %st(2)
  490. fldt 160(%esp)
  491. fmul %st, %st(1)
  492. fxch %st(1)
  493. fsubrp %st, %st(2)
  494. fld %st(0)
  495. fldt 144(%esp)
  496. addl $-32, %esp
  497. fdivrp %st, %st(3)
  498. fadd %st(2), %st
  499. fstpt (%esp)
  500. fldt (%esp)
  501. fsubrp %st, %st(1)
  502. faddp %st, %st(1)
  503. fstpt 12(%esp)
  504. movl 108(%esp), %edx
  505. subl 44(%esp), %edx
  506. movl %edx, 24(%esp)
  507. call __libm_scalbl_k80
  508. ..B1.89:
  509. addl $32, %esp
  510. ..B1.38:
  511. fstpt 280(%esp)
  512. cmpl $0, 28(%ebp)
  513. jne ..B1.44
  514. ..B1.39:
  515. cmpl $0, 24(%ebp)
  516. jne ..B1.44
  517. ..B1.40:
  518. fldt 24(%ebp)
  519. testl %edi, %edi
  520. fstpt 292(%esp)
  521. je ..B1.42
  522. ..B1.41:
  523. fldcw 94(%esp)
  524. ..B1.42:
  525. movl 280(%esp), %edx
  526. movl %edx, (%esi)
  527. movl 292(%esp), %edx
  528. movl %edx, 12(%esi)
  529. movl 296(%esp), %edx
  530. movl %edx, 16(%esi)
  531. movl 284(%esp), %ecx
  532. movl 288(%esp), %edi
  533. movl 300(%esp), %edx
  534. movl %ecx, 4(%esi)
  535. movl %edi, 8(%esi)
  536. movl %edx, 20(%esi)
  537. movl 304(%esp), %edx
  538. xorl %esp, %edx
  539. cmpl %gs:20, %edx
  540. jne ..B1.73
  541. ..B1.43:
  542. movl %esi, %eax
  543. addl $308, %esp
  544. popl %ebx
  545. popl %edi
  546. popl %esi
  547. movl %ebp, %esp
  548. popl %ebp
  549. ret $4
  550. ..B1.44:
  551. movzwl 32(%ebp), %edx
  552. andl $32767, %edx
  553. cmpl $16183, %edx
  554. jge ..B1.46
  555. ..B1.45:
  556. fldt 24(%ebp)
  557. fldt 36+_CONSTANTS@GOTOFF(%ebx)
  558. fmulp %st, %st(1)
  559. fstpt 52(%esp)
  560. fldt 60+_CONSTANTS@GOTOFF(%ebx)
  561. movzwl 60(%esp), %edx
  562. movl %edx, %ecx
  563. andl $-32768, %edx
  564. andl $32767, %ecx
  565. orl $-49153, %edx
  566. addl $-16639, %ecx
  567. movw %dx, 60(%esp)
  568. fstpt 64(%esp)
  569. fldt 64(%esp)
  570. fldt 52(%esp)
  571. fxch %st(1)
  572. jmp ..B1.48
  573. ..B1.46:
  574. fldt 24(%ebp)
  575. addl $-16, %esp
  576. lea 68(%esp), %edx
  577. fstpt (%esp)
  578. movl %edx, 12(%esp)
  579. call __libm_sinl_k80
  580. ..B1.90:
  581. addl $16, %esp
  582. ..B1.47:
  583. fldt 52(%esp)
  584. xorl %ecx, %ecx
  585. fmul %st(1), %st
  586. fstpt 52(%esp)
  587. fldt 52(%esp)
  588. fldt 64(%esp)
  589. fmulp %st, %st(2)
  590. fxch %st(1)
  591. fstpt 64(%esp)
  592. fldt 64(%esp)
  593. ..B1.48:
  594. fldt 80(%esp)
  595. fld %st(0)
  596. fld %st(3)
  597. fadd %st(3), %st
  598. fmul %st, %st(1)
  599. fsub %st, %st(4)
  600. fxch %st(4)
  601. fsubrp %st, %st(3)
  602. fld %st(3)
  603. fsubr %st(1), %st
  604. fsubrp %st, %st(1)
  605. fld %st(0)
  606. fxch %st(1)
  607. fsubr %st, %st(4)
  608. fxch %st(3)
  609. faddp %st, %st(4)
  610. fldt 16(%esp)
  611. fmul %st, %st(2)
  612. fld %st(0)
  613. fsubr %st(3), %st
  614. fsubrp %st, %st(3)
  615. fxch %st(1)
  616. fmul %st(2), %st
  617. fxch %st(1)
  618. fsub %st(2), %st
  619. fxch %st(2)
  620. fstpt 28(%esp)
  621. fldt 28(%esp)
  622. fldt (%esp)
  623. faddp %st, %st(3)
  624. fld %st(2)
  625. fmul %st(5), %st
  626. fxch %st(1)
  627. fmulp %st, %st(5)
  628. faddp %st, %st(4)
  629. fxch %st(1)
  630. fmul %st, %st(2)
  631. fxch %st(2)
  632. faddp %st, %st(3)
  633. fld %st(2)
  634. fadd %st(1), %st
  635. fsub %st, %st(1)
  636. fxch %st(1)
  637. fsubrp %st, %st(3)
  638. fxch %st(1)
  639. fstpt 40(%esp)
  640. fldt 256(%esp)
  641. fld %st(0)
  642. fdivr %st(2), %st
  643. fld %st(1)
  644. fldt 128(%esp)
  645. fld %st(0)
  646. fmul %st(3), %st
  647. fld %st(0)
  648. fsubr %st(4), %st
  649. faddp %st, %st(1)
  650. fld %st(0)
  651. fsubr %st(4), %st
  652. fxch %st(2)
  653. fmul %st(5), %st
  654. fsubr %st, %st(3)
  655. faddp %st, %st(3)
  656. fxch %st(2)
  657. fsubr %st, %st(4)
  658. fld %st(2)
  659. fmul %st(1), %st
  660. fxch %st(1)
  661. fmul %st(2), %st
  662. fxch %st(3)
  663. fmul %st(5), %st
  664. faddp %st, %st(3)
  665. fld %st(2)
  666. fadd %st(1), %st
  667. fsubr %st, %st(1)
  668. fxch %st(3)
  669. faddp %st, %st(1)
  670. fxch %st(1)
  671. fmulp %st, %st(4)
  672. faddp %st, %st(3)
  673. fld %st(1)
  674. fxch %st(1)
  675. fsubrp %st, %st(4)
  676. fxch %st(2)
  677. fsubrp %st, %st(3)
  678. fxch %st(3)
  679. faddp %st, %st(2)
  680. fldt 268(%esp)
  681. fmul %st(3), %st
  682. fsubrp %st, %st(2)
  683. fldt 256(%esp)
  684. fdivrp %st, %st(2)
  685. addl $-32, %esp
  686. fadd %st(1), %st
  687. fstpt (%esp)
  688. fldt (%esp)
  689. fsubrp %st, %st(2)
  690. faddp %st, %st(1)
  691. fstpt 12(%esp)
  692. subl 44(%esp), %ecx
  693. movl %ecx, 24(%esp)
  694. call __libm_scalbl_k80
  695. ..B1.91:
  696. addl $32, %esp
  697. ..B1.49:
  698. fstpt 292(%esp)
  699. jmp ..B1.69
  700. ..B1.50:
  701. movl 28(%ebp), %eax
  702. testl %eax, %eax
  703. jne ..B1.53
  704. ..B1.51:
  705. cmpl $0, 24(%ebp)
  706. jne ..B1.53
  707. ..B1.52:
  708. movl 16(%ebp), %ecx
  709. jmp ..B1.55
  710. ..B1.53:
  711. movzwl 32(%ebp), %ecx
  712. andl $32767, %ecx
  713. cmpl $32767, %ecx
  714. jge ..B1.60
  715. ..B1.54:
  716. movl 16(%ebp), %ecx
  717. cmpl $32767, %edx
  718. je ..B1.77
  719. ..B1.55:
  720. fldt 12(%ebp)
  721. addl $-16, %esp
  722. fstpt (%esp)
  723. movl %ecx, 16(%esp)
  724. call tanhl@PLT
  725. ..B1.92:
  726. movl 16(%esp), %ecx
  727. addl $16, %esp
  728. fstpt 280(%esp)
  729. testl %ecx, %ecx
  730. jne ..B1.57
  731. ..B1.56:
  732. cmpl $0, 12(%ebp)
  733. je ..B1.59
  734. ..B1.57:
  735. movzwl 32(%ebp), %edx
  736. testl $32767, %edx
  737. jle ..B1.76
  738. ..B1.58:
  739. fldt 24(%ebp)
  740. addl $-16, %esp
  741. fstpt (%esp)
  742. call tanl@PLT
  743. ..B1.93:
  744. fldt 60+_CONSTANTS@GOTOFF(%ebx)
  745. addl $16, %esp
  746. fmulp %st, %st(1)
  747. fstpt 292(%esp)
  748. jmp ..B1.69
  749. ..B1.59:
  750. fldt 24(%ebp)
  751. addl $-16, %esp
  752. fstpt (%esp)
  753. call tanl@PLT
  754. ..B1.94:
  755. addl $16, %esp
  756. fstpt 292(%esp)
  757. jmp ..B1.69
  758. ..B1.60:
  759. cmpl $32767, %edx
  760. jge ..B1.62
  761. ..B1.61:
  762. fldt 24(%ebp)
  763. addl $-16, %esp
  764. fstpt (%esp)
  765. call tanl@PLT
  766. ..B1.95:
  767. addl $16, %esp
  768. fstpt 280(%esp)
  769. fldt 280(%esp)
  770. fstpt 292(%esp)
  771. jmp ..B1.69
  772. ..B1.62:
  773. cmpl $-2147483648, 16(%ebp)
  774. jne ..B1.64
  775. ..B1.63:
  776. cmpl $0, 12(%ebp)
  777. je ..B1.65
  778. ..B1.64:
  779. fldt 12(%ebp)
  780. addl $-16, %esp
  781. fstpt (%esp)
  782. call tanhl@PLT
  783. ..B1.96:
  784. fldt 24(%ebp)
  785. addl $16, %esp
  786. fmul %st(1), %st
  787. fstpt 292(%esp)
  788. fstpt 280(%esp)
  789. jmp ..B1.69
  790. ..B1.65:
  791. cmpl $-2147483648, %eax
  792. jne ..B1.67
  793. ..B1.66:
  794. cmpl $0, 24(%ebp)
  795. je ..B1.68
  796. ..B1.67:
  797. fldt 24(%ebp)
  798. addl $-16, %esp
  799. fmul %st(0), %st
  800. fstpt 24(%ebp)
  801. fldt 12(%ebp)
  802. fstpt (%esp)
  803. call tanhl@PLT
  804. ..B1.97:
  805. fldt 60+_CONSTANTS@GOTOFF(%ebx)
  806. addl $16, %esp
  807. fstpt 292(%esp)
  808. fstpt 280(%esp)
  809. jmp ..B1.69
  810. ..B1.68:
  811. fldt 12(%ebp)
  812. addl $-16, %esp
  813. fstpt (%esp)
  814. call tanhl@PLT
  815. ..B1.98:
  816. fldt 60+_CONSTANTS@GOTOFF(%ebx)
  817. addl $16, %esp
  818. movzbl 33(%ebp), %ecx
  819. andl $128, %ecx
  820. shrl $7, %ecx
  821. fxch %st(1)
  822. fstpt 280(%esp)
  823. lea (,%ecx,8), %edx
  824. lea (%edx,%ecx,4), %edx
  825. fldt _CONSTANTS@GOTOFF(%ebx,%edx)
  826. fmulp %st, %st(1)
  827. fstpt 292(%esp)
  828. ..B1.69:
  829. testl %edi, %edi
  830. je ..B1.71
  831. ..B1.70:
  832. fldcw 94(%esp)
  833. ..B1.71:
  834. movl 280(%esp), %edx
  835. movl %edx, (%esi)
  836. movl 292(%esp), %edx
  837. movl %edx, 12(%esi)
  838. movl 296(%esp), %edx
  839. movl %edx, 16(%esi)
  840. movl 284(%esp), %ecx
  841. movl 288(%esp), %edi
  842. movl 300(%esp), %edx
  843. movl %ecx, 4(%esi)
  844. movl %edi, 8(%esi)
  845. movl %edx, 20(%esi)
  846. movl 304(%esp), %edx
  847. xorl %esp, %edx
  848. cmpl %gs:20, %edx
  849. jne ..B1.73
  850. ..B1.72:
  851. movl %esi, %eax
  852. addl $308, %esp
  853. popl %ebx
  854. popl %edi
  855. popl %esi
  856. movl %ebp, %esp
  857. popl %ebp
  858. ret $4
  859. ..B1.73:
  860. call __stack_chk_fail@PLT
  861. ..B1.74:
  862. movzbl 301(%esp), %edx
  863. movzbl 33(%ebp), %ecx
  864. andl $127, %edx
  865. andl $-128, %ecx
  866. orl %ecx, %edx
  867. jmp ..B1.18
  868. ..B1.76:
  869. fldt 60+_CONSTANTS@GOTOFF(%ebx)
  870. fldt 24(%ebp)
  871. fmulp %st, %st(1)
  872. fstpt 292(%esp)
  873. jmp ..B1.69
  874. ..B1.77:
  875. cmpl $-2147483648, %ecx
  876. jne ..B1.60
  877. ..B1.78:
  878. cmpl $0, 12(%ebp)
  879. jne ..B1.60
  880. ..B1.79:
  881. fldt 12(%ebp)
  882. addl $-16, %esp
  883. fstpt (%esp)
  884. call tanhl@PLT
  885. ..B1.99:
  886. addl $16, %esp
  887. fstpt 280(%esp)
  888. jmp ..B1.57
  889. ..B1.81:
  890. xorl %edi, %edi
  891. jmp ..B1.7
  892. ..B1.100:
  893. cmpl %eax, %edx
  894. jmp ..B1.33
  895. .align 16,0x90
  896. .type ctanhl,@function
  897. .size ctanhl,.-ctanhl
  898. .data
  899. # -- End ctanhl
  900. .section .rodata, "a"
  901. .align 16
  902. .align 16
  903. .L_2il0floatpacket.8:
  904. .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  905. .type .L_2il0floatpacket.8,@object
  906. .size .L_2il0floatpacket.8,12
  907. .space 4, 0x00 # pad
  908. .align 16
  909. _CONSTANTS:
  910. .word 0
  911. .word 0
  912. .word 0
  913. .word 32768
  914. .word 16383
  915. .word 0
  916. .word 0
  917. .word 0
  918. .word 0
  919. .word 32768
  920. .word 49151
  921. .word 0
  922. .word 0
  923. .word 0
  924. .word 0
  925. .word 32768
  926. .word 1
  927. .word 0
  928. .word 0
  929. .word 0
  930. .word 0
  931. .word 32768
  932. .word 16639
  933. .word 0
  934. .word 0
  935. .word 0
  936. .word 0
  937. .word 49152
  938. .word 16446
  939. .word 0
  940. .word 0
  941. .word 0
  942. .word 0
  943. .word 0
  944. .word 0
  945. .word 0
  946. .word 0
  947. .word 32768
  948. .word 0
  949. .word 32768
  950. .word 16415
  951. .word 0
  952. .word 0
  953. .word 0
  954. .word 0
  955. .word 32768
  956. .word 16384
  957. .word 0
  958. .word 0
  959. .word 16384
  960. .word 0
  961. .word 32768
  962. .word 16416
  963. .word 0
  964. .type _CONSTANTS,@object
  965. .size _CONSTANTS,108
  966. .data
  967. .hidden __libm_sinl_k80
  968. .hidden __libm_cosl_k80
  969. .hidden __libm_sinhl_k80
  970. .hidden __libm_coshl_k80
  971. .hidden __libm_hypot2l_k80
  972. .hidden __libm_scalbl_k80
  973. .section .note.GNU-stack, ""
  974. # End