sinhl.S 24 KB

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