cacos.S 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779
  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 "cacos.c"
  38. .text
  39. ..TXTST0:
  40. # -- Begin cacos
  41. .text
  42. .align 16,0x90
  43. .globl cacos
  44. cacos:
  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 $244, %esp
  55. fldz
  56. movl %gs:20, %edx
  57. movl 8(%ebp), %esi
  58. xorl %esp, %edx
  59. movl %edx, 192(%esp)
  60. fstl 176(%esp)
  61. fstpl 184(%esp)
  62. ..B1.2:
  63. fnstcw 14(%esp)
  64. ..B1.3:
  65. movzwl 18(%ebp), %ecx
  66. andl $32752, %ecx
  67. shrl $4, %ecx
  68. call ..L2
  69. ..L2:
  70. popl %ebx
  71. lea _GLOBAL_OFFSET_TABLE_+[. - ..L2](%ebx), %ebx
  72. cmpl $2047, %ecx
  73. jge ..B1.38
  74. ..B1.4:
  75. testl %ecx, %ecx
  76. jle ..B1.64
  77. ..B1.5:
  78. movzwl 26(%ebp), %edx
  79. andl $32752, %edx
  80. shrl $4, %edx
  81. cmpl $2047, %edx
  82. jge ..B1.38
  83. ..B1.6:
  84. testl %edx, %edx
  85. jle ..B1.62
  86. ..B1.7:
  87. movzwl 14(%esp), %ecx
  88. movl %ecx, %edx
  89. andl $768, %edx
  90. cmpl $768, %edx
  91. je ..B1.61
  92. ..B1.8:
  93. orl $-64768, %ecx
  94. movw %cx, 12(%esp)
  95. ..B1.9:
  96. fldcw 12(%esp)
  97. ..B1.10:
  98. movl $1, %edi
  99. ..B1.11:
  100. fldl 12(%ebp)
  101. fstl 160(%esp)
  102. fabs
  103. fldl 20(%ebp)
  104. fstl 168(%esp)
  105. fabs
  106. fld %st(0)
  107. fmul %st(1), %st
  108. fstpt 120(%esp)
  109. fldt 120(%esp)
  110. fldt .L_2il0floatpacket.8@GOTOFF(%ebx)
  111. fld %st(0)
  112. fsubr %st(4), %st
  113. fld %st(0)
  114. fmul %st(1), %st
  115. fadd %st(3), %st
  116. fsqrt
  117. fstpt 88(%esp)
  118. fldt 88(%esp)
  119. fld %st(2)
  120. fadd %st(6), %st
  121. fld %st(0)
  122. fmul %st(1), %st
  123. faddp %st, %st(5)
  124. fxch %st(4)
  125. fsqrt
  126. fstpt 104(%esp)
  127. fldt 104(%esp)
  128. fxch %st(1)
  129. fucom %st(2)
  130. fnstsw %ax
  131. faddp %st, %st(1)
  132. fxch %st(1)
  133. fstpt 136(%esp)
  134. sahf
  135. fldt .L_2il0floatpacket.9@GOTOFF(%ebx)
  136. fmul %st, %st(1)
  137. jp ..B1.12
  138. je ..B1.13
  139. ..B1.12:
  140. fldt 88(%esp)
  141. fldt 136(%esp)
  142. fsubrp %st, %st(1)
  143. fstpt 72(%esp)
  144. jmp ..B1.14
  145. ..B1.13:
  146. fxch %st(4)
  147. fstpt 72(%esp)
  148. fldt 72(%esp)
  149. fxch %st(4)
  150. ..B1.14:
  151. fldt _Bcross@GOTOFF(%ebx)
  152. fmul %st(2), %st
  153. fcomp %st(6)
  154. fnstsw %ax
  155. sahf
  156. jbe ..B1.16
  157. ..B1.15:
  158. fstp %st(4)
  159. fld %st(4)
  160. addl $-16, %esp
  161. fdiv %st(1), %st
  162. fstpt (%esp)
  163. fxch %st(4)
  164. fstpl 80(%esp)
  165. fxch %st(1)
  166. fstpt 16(%esp)
  167. fxch %st(1)
  168. fstpt 32(%esp)
  169. fstpt 48(%esp)
  170. fstpt 64(%esp)
  171. call acosl@PLT
  172. ..B1.104:
  173. fldt 64(%esp)
  174. fldt 48(%esp)
  175. fldt 32(%esp)
  176. fldt 16(%esp)
  177. fldl 80(%esp)
  178. addl $16, %esp
  179. jmp ..B1.19
  180. ..B1.16:
  181. fxch %st(2)
  182. fcom %st(5)
  183. fnstsw %ax
  184. sahf
  185. jb ..B1.18
  186. ..B1.17:
  187. fstp %st(4)
  188. addl $-32, %esp
  189. fld %st(2)
  190. fld %st(1)
  191. fadd %st(6), %st
  192. fmul %st(3), %st
  193. fldt 136(%esp)
  194. faddp %st, %st(2)
  195. fldt 152(%esp)
  196. fdivp %st, %st(2)
  197. fldt 104(%esp)
  198. faddp %st, %st(2)
  199. fmulp %st, %st(1)
  200. fsqrt
  201. fstpt (%esp)
  202. fxch %st(4)
  203. fstpt 12(%esp)
  204. fldt 12(%esp)
  205. fstpl 96(%esp)
  206. fxch %st(1)
  207. fstpt 32(%esp)
  208. fstpt 48(%esp)
  209. fstpt 64(%esp)
  210. fstpt 80(%esp)
  211. call atan2l@PLT
  212. jmp ..B1.106
  213. ..B1.18:
  214. fxch %st(1)
  215. fstpt 48(%esp)
  216. fldt 48(%esp)
  217. fxch %st(3)
  218. fstpt (%esp)
  219. fldt (%esp)
  220. addl $-32, %esp
  221. fxch %st(3)
  222. fadd %st(5), %st
  223. fldt 136(%esp)
  224. faddp %st, %st(4)
  225. fdiv %st, %st(3)
  226. fldt 168(%esp)
  227. fldt 120(%esp)
  228. faddp %st, %st(1)
  229. fdivrp %st, %st(1)
  230. faddp %st, %st(3)
  231. fxch %st(1)
  232. fmul %st, %st(2)
  233. fxch %st(2)
  234. fsqrt
  235. fmulp %st, %st(3)
  236. fxch %st(2)
  237. fstpt (%esp)
  238. fxch %st(2)
  239. fstpt 12(%esp)
  240. fldt 12(%esp)
  241. fstpl 96(%esp)
  242. fxch %st(1)
  243. fstpt 48(%esp)
  244. fstpt 64(%esp)
  245. fldt 32(%esp)
  246. fstpt 32(%esp)
  247. fldt 80(%esp)
  248. fstpt 80(%esp)
  249. call atan2l@PLT
  250. ..B1.106:
  251. fldt 80(%esp)
  252. fldt 64(%esp)
  253. fldt 48(%esp)
  254. fldt 32(%esp)
  255. fldl 96(%esp)
  256. addl $32, %esp
  257. ..B1.19:
  258. fldt _Across@GOTOFF(%ebx)
  259. fcomp %st(5)
  260. fnstsw %ax
  261. sahf
  262. jb ..B1.24
  263. ..B1.20:
  264. fldt 104(%esp)
  265. faddp %st, %st(2)
  266. fcomp %st(3)
  267. fnstsw %ax
  268. fldt 120(%esp)
  269. fdivp %st, %st(1)
  270. sahf
  271. jae ..B1.22
  272. jp ..B1.22
  273. ..B1.21:
  274. fldt 72(%esp)
  275. fldt 120(%esp)
  276. fdivp %st, %st(1)
  277. faddp %st, %st(1)
  278. fmulp %st, %st(1)
  279. jmp ..B1.23
  280. ..B1.22:
  281. fldt 88(%esp)
  282. fldt 136(%esp)
  283. faddp %st, %st(1)
  284. faddp %st, %st(1)
  285. fmulp %st, %st(1)
  286. ..B1.23:
  287. addl $-16, %esp
  288. fxch %st(1)
  289. faddp %st, %st(2)
  290. fmul %st, %st(1)
  291. fxch %st(1)
  292. fsqrt
  293. faddp %st, %st(1)
  294. fstpt (%esp)
  295. fstpt 16(%esp)
  296. call log1pl@PLT
  297. jmp ..B1.108
  298. ..B1.24:
  299. fstp %st(1)
  300. fstp %st(1)
  301. fstp %st(0)
  302. fld %st(1)
  303. addl $-16, %esp
  304. fmul %st(2), %st
  305. fsubp %st, %st(1)
  306. fsqrt
  307. faddp %st, %st(1)
  308. fstpt (%esp)
  309. fstpt 16(%esp)
  310. call logl@PLT
  311. ..B1.108:
  312. fldt 16(%esp)
  313. addl $16, %esp
  314. ..B1.25:
  315. fldl _DBL_PZERO@GOTOFF(%ebx)
  316. fcoml 160(%esp)
  317. fnstsw %ax
  318. sahf
  319. jbe ..B1.27
  320. ..B1.26:
  321. fldt _LDBL_PPI@GOTOFF(%ebx)
  322. fsubp %st, %st(2)
  323. ..B1.27:
  324. fldl 168(%esp)
  325. fcompp
  326. fnstsw %ax
  327. sahf
  328. jbe ..B1.29
  329. ..B1.28:
  330. fldt .L_2il0floatpacket.10@GOTOFF(%ebx)
  331. fmulp %st, %st(2)
  332. ..B1.29:
  333. fstpl 176(%esp)
  334. movzwl 182(%esp), %edx
  335. testl $32752, %edx
  336. fstpl 184(%esp)
  337. jne ..B1.32
  338. ..B1.30:
  339. testl $1048575, 180(%esp)
  340. jne ..B1.35
  341. ..B1.31:
  342. cmpl $0, 176(%esp)
  343. jne ..B1.35
  344. ..B1.32:
  345. movzwl 190(%esp), %edx
  346. testl $32752, %edx
  347. jne ..B1.36
  348. ..B1.33:
  349. testl $1048575, 188(%esp)
  350. jne ..B1.35
  351. ..B1.34:
  352. cmpl $0, 184(%esp)
  353. je ..B1.36
  354. ..B1.35:
  355. fldl _DBL_MIN_NORMAL@GOTOFF(%ebx)
  356. fmul %st(0), %st
  357. fstpl 152(%esp)
  358. ..B1.36:
  359. testl %edi, %edi
  360. je ..B1.59
  361. ..B1.37:
  362. fldcw 14(%esp)
  363. jmp ..B1.59
  364. ..B1.38:
  365. testl %ecx, %ecx
  366. jne ..B1.42
  367. ..B1.39:
  368. testl $1048575, 16(%ebp)
  369. jne ..B1.42
  370. ..B1.40:
  371. cmpl $0, 12(%ebp)
  372. jne ..B1.42
  373. ..B1.41:
  374. fldl _DBL_PPIBY2@GOTOFF(%ebx)
  375. fstl 176(%esp)
  376. fldl _DBL_MIN_NORMAL@GOTOFF(%ebx)
  377. faddp %st, %st(1)
  378. fstpl 152(%esp)
  379. addl $-16, %esp
  380. fldl 20(%ebp)
  381. fstpl (%esp)
  382. call asinh@PLT
  383. ..B1.109:
  384. addl $16, %esp
  385. fchs
  386. fstpl 184(%esp)
  387. jmp ..B1.59
  388. ..B1.42:
  389. movzwl 26(%ebp), %edx
  390. andl $32752, %edx
  391. shrl $4, %edx
  392. cmpl $2047, %edx
  393. je ..B1.98
  394. ..B1.115:
  395. cmpl $2047, %ecx
  396. ..B1.43:
  397. je ..B1.88
  398. ..B1.44:
  399. cmpl $2047, %edx
  400. je ..B1.85
  401. ..B1.45:
  402. testl %edx, %edx
  403. jne ..B1.54
  404. ..B1.46:
  405. testl $1048575, 24(%ebp)
  406. jne ..B1.54
  407. ..B1.47:
  408. cmpl $0, 20(%ebp)
  409. jne ..B1.54
  410. ..B1.48:
  411. cmpl $1023, %ecx
  412. jl ..B1.52
  413. ..B1.49:
  414. fldl 12(%ebp)
  415. addl $-16, %esp
  416. fabs
  417. fstpl (%esp)
  418. call acosh@PLT
  419. ..B1.110:
  420. addl $16, %esp
  421. movzbl 19(%ebp), %edx
  422. testl $128, %edx
  423. fstpl 184(%esp)
  424. je ..B1.51
  425. ..B1.50:
  426. fldl _DBL_PPI@GOTOFF(%ebx)
  427. fstl 176(%esp)
  428. fldl _DBL_MIN_NORMAL@GOTOFF(%ebx)
  429. faddp %st, %st(1)
  430. fstpl 152(%esp)
  431. jmp ..B1.53
  432. ..B1.51:
  433. fldl _DBL_PZERO@GOTOFF(%ebx)
  434. fstpl 176(%esp)
  435. jmp ..B1.53
  436. ..B1.52:
  437. fldl _DBL_PZERO@GOTOFF(%ebx)
  438. fstpl 184(%esp)
  439. addl $-16, %esp
  440. fldl 12(%ebp)
  441. fstpl (%esp)
  442. call acos@PLT
  443. ..B1.111:
  444. addl $16, %esp
  445. fstpl 176(%esp)
  446. ..B1.53:
  447. movzbl 27(%ebp), %edi
  448. shrl $7, %edi
  449. notl %edi
  450. movzbl 191(%esp), %edx
  451. shll $7, %edi
  452. andl $127, %edx
  453. orl %edi, %edx
  454. movb %dl, 191(%esp)
  455. jmp ..B1.59
  456. ..B1.54:
  457. cmpl $2047, %ecx
  458. je ..B1.67
  459. ..B1.55:
  460. jge ..B1.57
  461. ..B1.56:
  462. fldl _DBL_PPIBY2@GOTOFF(%ebx)
  463. fstl 176(%esp)
  464. fldl _DBL_MIN_NORMAL@GOTOFF(%ebx)
  465. faddp %st, %st(1)
  466. fstpl 152(%esp)
  467. fldl _DBL_PZERO@GOTOFF(%ebx)
  468. faddl 12(%ebp)
  469. fstpl 152(%esp)
  470. jmp ..B1.58
  471. ..B1.57:
  472. fldl 12(%ebp)
  473. faddl _DBL_PZERO@GOTOFF(%ebx)
  474. fstpl 176(%esp)
  475. ..B1.58:
  476. fldl 20(%ebp)
  477. fchs
  478. fstpl 184(%esp)
  479. ..B1.59:
  480. movl 176(%esp), %edx
  481. movl %edx, (%esi)
  482. movl 180(%esp), %ecx
  483. movl 184(%esp), %edi
  484. movl 188(%esp), %edx
  485. movl %ecx, 4(%esi)
  486. movl %edi, 8(%esi)
  487. movl %edx, 12(%esi)
  488. movl 192(%esp), %edx
  489. xorl %esp, %edx
  490. cmpl %gs:20, %edx
  491. jne ..B1.66
  492. ..B1.60:
  493. movl %esi, %eax
  494. addl $244, %esp
  495. popl %ebx
  496. popl %edi
  497. popl %esi
  498. movl %ebp, %esp
  499. popl %ebp
  500. ret $4
  501. ..B1.61:
  502. xorl %edi, %edi
  503. jmp ..B1.11
  504. ..B1.62:
  505. testl $1048575, 24(%ebp)
  506. jne ..B1.7
  507. ..B1.63:
  508. cmpl $0, 20(%ebp)
  509. jne ..B1.7
  510. jmp ..B1.38
  511. ..B1.64:
  512. testl $1048575, 16(%ebp)
  513. jne ..B1.5
  514. ..B1.65:
  515. cmpl $0, 12(%ebp)
  516. jne ..B1.5
  517. jmp ..B1.38
  518. ..B1.66:
  519. call __stack_chk_fail@PLT
  520. ..B1.67:
  521. testl $1048575, 16(%ebp)
  522. jne ..B1.113
  523. ..B1.68:
  524. cmpl $0, 12(%ebp)
  525. jne ..B1.113
  526. ..B1.69:
  527. fldl 12(%ebp)
  528. cmpl $2047, %edx
  529. fmul %st(0), %st
  530. fstpl 184(%esp)
  531. jge ..B1.76
  532. ..B1.70:
  533. movzbl 19(%ebp), %edx
  534. testl $128, %edx
  535. je ..B1.72
  536. ..B1.71:
  537. fldl _DBL_PPI@GOTOFF(%ebx)
  538. fstl 176(%esp)
  539. fldl _DBL_MIN_NORMAL@GOTOFF(%ebx)
  540. faddp %st, %st(1)
  541. fstpl 152(%esp)
  542. fldl _DBL_PZERO@GOTOFF(%ebx)
  543. jmp ..B1.73
  544. ..B1.72:
  545. fldl _DBL_PZERO@GOTOFF(%ebx)
  546. fstl 176(%esp)
  547. ..B1.73:
  548. movzbl 27(%ebp), %edx
  549. testl $128, %edx
  550. jne ..B1.75
  551. ..B1.74:
  552. movzbl 191(%esp), %edi
  553. movl %edi, %edx
  554. shrl $7, %edi
  555. andl $127, %edx
  556. notl %edi
  557. shll $7, %edi
  558. orl %edi, %edx
  559. movb %dl, 191(%esp)
  560. ..B1.75:
  561. faddl 20(%ebp)
  562. fstpl 152(%esp)
  563. jmp ..B1.59
  564. ..B1.76:
  565. testl $1048575, 24(%ebp)
  566. jne ..B1.84
  567. ..B1.77:
  568. cmpl $0, 20(%ebp)
  569. jne ..B1.84
  570. ..B1.78:
  571. movzbl 19(%ebp), %edx
  572. testl $128, %edx
  573. je ..B1.80
  574. ..B1.79:
  575. fldl _DBL_P3PIBY4@GOTOFF(%ebx)
  576. jmp ..B1.81
  577. ..B1.80:
  578. fldl _DBL_PPIBY4@GOTOFF(%ebx)
  579. ..B1.81:
  580. movzbl 27(%ebp), %edx
  581. testl $128, %edx
  582. fstl 176(%esp)
  583. jne ..B1.83
  584. ..B1.82:
  585. movzbl 191(%esp), %edi
  586. movl %edi, %edx
  587. shrl $7, %edi
  588. andl $127, %edx
  589. notl %edi
  590. shll $7, %edi
  591. orl %edi, %edx
  592. movb %dl, 191(%esp)
  593. ..B1.83:
  594. faddl _DBL_MIN_NORMAL@GOTOFF(%ebx)
  595. fstpl 152(%esp)
  596. jmp ..B1.59
  597. ..B1.84:
  598. fldl 20(%ebp)
  599. fmul %st(0), %st
  600. fstpl 176(%esp)
  601. jmp ..B1.59
  602. ..B1.85:
  603. testl $1048575, 24(%ebp)
  604. jne ..B1.87
  605. ..B1.86:
  606. cmpl $0, 20(%ebp)
  607. je ..B1.54
  608. ..B1.87:
  609. fldl 20(%ebp)
  610. fmul %st(0), %st
  611. fstpl 176(%esp)
  612. fldl 12(%ebp)
  613. fmul %st(0), %st
  614. fstpl 184(%esp)
  615. jmp ..B1.59
  616. ..B1.88:
  617. testl $1048575, 16(%ebp)
  618. jne ..B1.90
  619. ..B1.89:
  620. cmpl $0, 12(%ebp)
  621. je ..B1.92
  622. ..B1.90:
  623. cmpl $2047, %edx
  624. jge ..B1.92
  625. ..B1.91:
  626. fldl 12(%ebp)
  627. fmul %st(0), %st
  628. fstl 176(%esp)
  629. fstpl 184(%esp)
  630. jmp ..B1.59
  631. ..B1.92:
  632. testl $1048575, 16(%ebp)
  633. jne ..B1.94
  634. ..B1.93:
  635. cmpl $0, 12(%ebp)
  636. je ..B1.44
  637. ..B1.94:
  638. cmpl $2047, %edx
  639. jne ..B1.45
  640. ..B1.95:
  641. testl $1048575, 24(%ebp)
  642. jne ..B1.97
  643. ..B1.96:
  644. cmpl $0, 20(%ebp)
  645. je ..B1.85
  646. ..B1.97:
  647. fldl 12(%ebp)
  648. fmul %st(0), %st
  649. fstpl 176(%esp)
  650. fldl 20(%ebp)
  651. fmul %st(0), %st
  652. fstpl 184(%esp)
  653. jmp ..B1.59
  654. ..B1.98:
  655. testl $1048575, 24(%ebp)
  656. jne ..B1.100
  657. ..B1.99:
  658. cmpl $0, 20(%ebp)
  659. je ..B1.112
  660. ..B1.100:
  661. cmpl $2047, %ecx
  662. jge ..B1.43
  663. ..B1.101:
  664. fldl 20(%ebp)
  665. fmul %st(0), %st
  666. fstl 176(%esp)
  667. fstpl 184(%esp)
  668. jmp ..B1.59
  669. ..B1.112:
  670. cmpl $2047, %ecx
  671. je ..B1.88
  672. jmp ..B1.44
  673. ..B1.113:
  674. cmpl $2047, %ecx
  675. jl ..B1.56
  676. jmp ..B1.57
  677. .align 16,0x90
  678. .type cacos,@function
  679. .size cacos,.-cacos
  680. .data
  681. # -- End cacos
  682. .section .rodata, "a"
  683. .align 16
  684. .align 16
  685. .L_2il0floatpacket.8:
  686. .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xff,0x3f,0x00,0x00
  687. .type .L_2il0floatpacket.8,@object
  688. .size .L_2il0floatpacket.8,12
  689. .space 4, 0x00 # pad
  690. .align 16
  691. .L_2il0floatpacket.9:
  692. .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xfe,0x3f,0x00,0x00
  693. .type .L_2il0floatpacket.9,@object
  694. .size .L_2il0floatpacket.9,12
  695. .space 4, 0x00 # pad
  696. .align 16
  697. .L_2il0floatpacket.10:
  698. .byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xff,0xbf,0x00,0x00
  699. .type .L_2il0floatpacket.10,@object
  700. .size .L_2il0floatpacket.10,12
  701. .space 4, 0x00 # pad
  702. .align 16
  703. _Bcross:
  704. .word -2936
  705. .word -10277
  706. .word 29569
  707. .word -23482
  708. .word 16382
  709. .word 0
  710. .type _Bcross,@object
  711. .size _Bcross,12
  712. .space 4, 0x00 # pad
  713. .align 16
  714. _Across:
  715. .word 0
  716. .word 0
  717. .word 0
  718. .word -16384
  719. .word 16383
  720. .word 0
  721. .type _Across,@object
  722. .size _Across,12
  723. .space 4, 0x00 # pad
  724. .align 16
  725. _DBL_PZERO:
  726. .long 0
  727. .long 0
  728. .type _DBL_PZERO,@object
  729. .size _DBL_PZERO,8
  730. .space 8, 0x00 # pad
  731. .align 16
  732. _LDBL_PPI:
  733. .word -15819
  734. .word 8552
  735. .word -9566
  736. .word -14065
  737. .word 16384
  738. .word 0
  739. .type _LDBL_PPI,@object
  740. .size _LDBL_PPI,12
  741. .space 4, 0x00 # pad
  742. .align 16
  743. _DBL_MIN_NORMAL:
  744. .long 0
  745. .long 1048576
  746. .type _DBL_MIN_NORMAL,@object
  747. .size _DBL_MIN_NORMAL,8
  748. .space 8, 0x00 # pad
  749. .align 16
  750. _DBL_PPIBY2:
  751. .long 1413754136
  752. .long 1073291771
  753. .type _DBL_PPIBY2,@object
  754. .size _DBL_PPIBY2,8
  755. .space 8, 0x00 # pad
  756. .align 16
  757. _DBL_PPI:
  758. .long 1413754136
  759. .long 1074340347
  760. .type _DBL_PPI,@object
  761. .size _DBL_PPI,8
  762. .space 8, 0x00 # pad
  763. .align 16
  764. _DBL_P3PIBY4:
  765. .long 2134057426
  766. .long 1073928572
  767. .type _DBL_P3PIBY4,@object
  768. .size _DBL_P3PIBY4,8
  769. .space 8, 0x00 # pad
  770. .align 16
  771. _DBL_PPIBY4:
  772. .long 1413754136
  773. .long 1072243195
  774. .type _DBL_PPIBY4,@object
  775. .size _DBL_PPIBY4,8
  776. .data
  777. .section .note.GNU-stack, ""
  778. # End