coshl.S 23 KB

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