isfinite.S 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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 "isfinite.c"
  38. .text
  39. ..TXTST0:
  40. # -- Begin isfinitel
  41. .text
  42. .align 16,0x90
  43. .globl isfinitel
  44. isfinitel:
  45. # parameter 1: 4 + %esp
  46. ..B1.1:
  47. ..L1:
  48. movzwl 12(%esp), %edx
  49. shll $16, %edx
  50. movzwl 10(%esp), %eax
  51. orl %eax, %edx
  52. andl $2147483647, %edx
  53. xorl %eax, %eax
  54. cmpl $2147418112, %edx
  55. setb %al
  56. ret
  57. .align 16,0x90
  58. .type isfinitel,@function
  59. .size isfinitel,.-isfinitel
  60. .data
  61. # -- End isfinitel
  62. .text
  63. # -- Begin __isfinitel
  64. .text
  65. .align 16,0x90
  66. .globl __isfinitel
  67. __isfinitel:
  68. # parameter 1: 4 + %esp
  69. ..B2.1:
  70. ..L2:
  71. movzwl 12(%esp), %edx
  72. shll $16, %edx
  73. movzwl 10(%esp), %eax
  74. orl %eax, %edx
  75. andl $2147483647, %edx
  76. xorl %eax, %eax
  77. cmpl $2147418112, %edx
  78. setb %al
  79. ret
  80. .align 16,0x90
  81. .type __isfinitel,@function
  82. .size __isfinitel,.-__isfinitel
  83. .data
  84. # -- End __isfinitel
  85. .text
  86. # -- Begin isfinitef
  87. .text
  88. .align 16,0x90
  89. .globl isfinitef
  90. isfinitef:
  91. # parameter 1: 4 + %esp
  92. ..B3.1:
  93. ..L3:
  94. movl 4(%esp), %eax
  95. andl $2147483647, %eax
  96. cmpl $2139095040, %eax
  97. movl $0, %eax
  98. setb %al
  99. ret
  100. .align 16,0x90
  101. .type isfinitef,@function
  102. .size isfinitef,.-isfinitef
  103. .data
  104. # -- End isfinitef
  105. .text
  106. # -- Begin __isfinitef
  107. .text
  108. .align 16,0x90
  109. .globl __isfinitef
  110. __isfinitef:
  111. # parameter 1: 4 + %esp
  112. ..B4.1:
  113. ..L4:
  114. movl 4(%esp), %eax
  115. andl $2147483647, %eax
  116. cmpl $2139095040, %eax
  117. movl $0, %eax
  118. setb %al
  119. ret
  120. .align 16,0x90
  121. .type __isfinitef,@function
  122. .size __isfinitef,.-__isfinitef
  123. .data
  124. # -- End __isfinitef
  125. .text
  126. # -- Begin isfinite
  127. .text
  128. .align 16,0x90
  129. .globl isfinite
  130. isfinite:
  131. # parameter 1: 4 + %esp
  132. ..B5.1:
  133. ..L5:
  134. movl 8(%esp), %eax
  135. andl $2147483647, %eax
  136. cmpl $2146435072, %eax
  137. movl $0, %eax
  138. setb %al
  139. ret
  140. .align 16,0x90
  141. .type isfinite,@function
  142. .size isfinite,.-isfinite
  143. .data
  144. # -- End isfinite
  145. .text
  146. # -- Begin __isfinite
  147. .text
  148. .align 16,0x90
  149. .globl __isfinite
  150. __isfinite:
  151. # parameter 1: 4 + %esp
  152. ..B6.1:
  153. ..L6:
  154. movl 8(%esp), %eax
  155. andl $2147483647, %eax
  156. cmpl $2146435072, %eax
  157. movl $0, %eax
  158. setb %al
  159. ret
  160. .align 16,0x90
  161. .type __isfinite,@function
  162. .size __isfinite,.-__isfinite
  163. .data
  164. # -- End __isfinite
  165. .text
  166. # -- Begin isfinited
  167. .text
  168. .align 16,0x90
  169. .globl isfinited
  170. isfinited:
  171. # parameter 1: 4 + %esp
  172. ..B7.1:
  173. ..L7:
  174. movl 8(%esp), %eax
  175. andl $2147483647, %eax
  176. cmpl $2146435072, %eax
  177. movl $0, %eax
  178. setb %al
  179. ret
  180. .align 16,0x90
  181. .type isfinited,@function
  182. .size isfinited,.-isfinited
  183. .data
  184. # -- End isfinited
  185. .text
  186. # -- Begin __isfinited
  187. .text
  188. .align 16,0x90
  189. .globl __isfinited
  190. __isfinited:
  191. # parameter 1: 4 + %esp
  192. ..B8.1:
  193. ..L8:
  194. movl 8(%esp), %eax
  195. andl $2147483647, %eax
  196. cmpl $2146435072, %eax
  197. movl $0, %eax
  198. setb %al
  199. ret
  200. .align 16,0x90
  201. .type __isfinited,@function
  202. .size __isfinited,.-__isfinited
  203. .data
  204. # -- End __isfinited
  205. .text
  206. # -- Begin finitel
  207. .text
  208. .align 16,0x90
  209. .globl finitel
  210. finitel:
  211. # parameter 1: 4 + %esp
  212. ..B9.1:
  213. ..L9:
  214. movzwl 12(%esp), %edx
  215. shll $16, %edx
  216. movzwl 10(%esp), %eax
  217. orl %eax, %edx
  218. andl $2147483647, %edx
  219. xorl %eax, %eax
  220. cmpl $2147418112, %edx
  221. setb %al
  222. ret
  223. .align 16,0x90
  224. .type finitel,@function
  225. .size finitel,.-finitel
  226. .data
  227. # -- End finitel
  228. .text
  229. # -- Begin __finitel
  230. .text
  231. .align 16,0x90
  232. .globl __finitel
  233. __finitel:
  234. # parameter 1: 4 + %esp
  235. ..B10.1:
  236. ..L10:
  237. movzwl 12(%esp), %edx
  238. shll $16, %edx
  239. movzwl 10(%esp), %eax
  240. orl %eax, %edx
  241. andl $2147483647, %edx
  242. xorl %eax, %eax
  243. cmpl $2147418112, %edx
  244. setb %al
  245. ret
  246. .align 16,0x90
  247. .type __finitel,@function
  248. .size __finitel,.-__finitel
  249. .data
  250. # -- End __finitel
  251. .text
  252. # -- Begin finitef
  253. .text
  254. .align 16,0x90
  255. .globl finitef
  256. finitef:
  257. # parameter 1: 4 + %esp
  258. ..B11.1:
  259. ..L11:
  260. movl 4(%esp), %eax
  261. andl $2147483647, %eax
  262. cmpl $2139095040, %eax
  263. movl $0, %eax
  264. setb %al
  265. ret
  266. .align 16,0x90
  267. .type finitef,@function
  268. .size finitef,.-finitef
  269. .data
  270. # -- End finitef
  271. .text
  272. # -- Begin __finitef
  273. .text
  274. .align 16,0x90
  275. .globl __finitef
  276. __finitef:
  277. # parameter 1: 4 + %esp
  278. ..B12.1:
  279. ..L12:
  280. movl 4(%esp), %eax
  281. andl $2147483647, %eax
  282. cmpl $2139095040, %eax
  283. movl $0, %eax
  284. setb %al
  285. ret
  286. .align 16,0x90
  287. .type __finitef,@function
  288. .size __finitef,.-__finitef
  289. .data
  290. # -- End __finitef
  291. .text
  292. # -- Begin finite
  293. .text
  294. .align 16,0x90
  295. .globl finite
  296. finite:
  297. # parameter 1: 4 + %esp
  298. ..B13.1:
  299. ..L13:
  300. movl 8(%esp), %eax
  301. andl $2147483647, %eax
  302. cmpl $2146435072, %eax
  303. movl $0, %eax
  304. setb %al
  305. ret
  306. .align 16,0x90
  307. .type finite,@function
  308. .size finite,.-finite
  309. .data
  310. # -- End finite
  311. .text
  312. # -- Begin __finite
  313. .text
  314. .align 16,0x90
  315. .globl __finite
  316. __finite:
  317. # parameter 1: 4 + %esp
  318. ..B14.1:
  319. ..L14:
  320. movl 8(%esp), %eax
  321. andl $2147483647, %eax
  322. cmpl $2146435072, %eax
  323. movl $0, %eax
  324. setb %al
  325. ret
  326. .align 16,0x90
  327. .type __finite,@function
  328. .size __finite,.-__finite
  329. .data
  330. # -- End __finite
  331. .text
  332. # -- Begin finited
  333. .text
  334. .align 16,0x90
  335. .globl finited
  336. finited:
  337. # parameter 1: 4 + %esp
  338. ..B15.1:
  339. ..L15:
  340. movl 8(%esp), %eax
  341. andl $2147483647, %eax
  342. cmpl $2146435072, %eax
  343. movl $0, %eax
  344. setb %al
  345. ret
  346. .align 16,0x90
  347. .type finited,@function
  348. .size finited,.-finited
  349. .data
  350. # -- End finited
  351. .text
  352. # -- Begin __finited
  353. .text
  354. .align 16,0x90
  355. .globl __finited
  356. __finited:
  357. # parameter 1: 4 + %esp
  358. ..B16.1:
  359. ..L16:
  360. movl 8(%esp), %eax
  361. andl $2147483647, %eax
  362. cmpl $2146435072, %eax
  363. movl $0, %eax
  364. setb %al
  365. ret
  366. .align 16,0x90
  367. .type __finited,@function
  368. .size __finited,.-__finited
  369. .data
  370. # -- End __finited
  371. .data
  372. .section .note.GNU-stack, ""
  373. # End