b8x16.wast 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. ;;-------------------------------------------------------------------------------------------------------
  2. ;; Copyright (C) Microsoft Corporation and contributors. All rights reserved.
  3. ;; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. ;;-------------------------------------------------------------------------------------------------------
  5. (module
  6. (func
  7. (export "func_b8x16_0")
  8. (result i32)
  9. (local b8x16)
  10. (set_local
  11. 0
  12. (b8x16.build
  13. (i32.const 1)
  14. (i32.const 0)
  15. (i32.const 3)
  16. (i32.const -4)
  17. (i32.const 5)
  18. (i32.const 6)
  19. (i32.const -2147483648)
  20. (i32.const 8)
  21. (i32.const 9)
  22. (i32.const 65535)
  23. (i32.const 11)
  24. (i32.const 12)
  25. (i32.const 65534)
  26. (i32.const 14)
  27. (i32.const 2147483647)
  28. (i32.const 16)
  29. )
  30. )
  31. (b8x16.extractLane
  32. (get_local 0)
  33. (i32.const 0)
  34. )
  35. )
  36. (func
  37. (export "func_b8x16_1")
  38. (result i32)
  39. (local b8x16)
  40. (set_local
  41. 0
  42. (b8x16.build
  43. (i32.const 1)
  44. (i32.const 0)
  45. (i32.const 3)
  46. (i32.const -4)
  47. (i32.const 5)
  48. (i32.const 6)
  49. (i32.const -2147483648)
  50. (i32.const 8)
  51. (i32.const 9)
  52. (i32.const 65535)
  53. (i32.const 11)
  54. (i32.const 12)
  55. (i32.const 65534)
  56. (i32.const 14)
  57. (i32.const 2147483647)
  58. (i32.const 16)
  59. )
  60. )
  61. (b8x16.extractLane
  62. (get_local 0)
  63. (i32.const 1)
  64. )
  65. )
  66. (func
  67. (export "func_b8x16_2")
  68. (result i32)
  69. (local b8x16)
  70. (set_local
  71. 0
  72. (b8x16.build
  73. (i32.const 1)
  74. (i32.const 0)
  75. (i32.const 3)
  76. (i32.const -4)
  77. (i32.const 5)
  78. (i32.const 6)
  79. (i32.const -2147483648)
  80. (i32.const 8)
  81. (i32.const 9)
  82. (i32.const 65535)
  83. (i32.const 11)
  84. (i32.const 12)
  85. (i32.const 65534)
  86. (i32.const 14)
  87. (i32.const 2147483647)
  88. (i32.const 16)
  89. )
  90. )
  91. (b8x16.extractLane
  92. (get_local 0)
  93. (i32.const 2)
  94. )
  95. )
  96. (func
  97. (export "func_b8x16_3")
  98. (result i32)
  99. (local b8x16)
  100. (set_local
  101. 0
  102. (b8x16.build
  103. (i32.const 1)
  104. (i32.const 0)
  105. (i32.const 3)
  106. (i32.const -4)
  107. (i32.const 5)
  108. (i32.const 6)
  109. (i32.const -2147483648)
  110. (i32.const 8)
  111. (i32.const 9)
  112. (i32.const 65535)
  113. (i32.const 11)
  114. (i32.const 12)
  115. (i32.const 65534)
  116. (i32.const 14)
  117. (i32.const 2147483647)
  118. (i32.const 16)
  119. )
  120. )
  121. (b8x16.extractLane
  122. (get_local 0)
  123. (i32.const 3)
  124. )
  125. )
  126. (func
  127. (export "func_b8x16_4")
  128. (result i32)
  129. (local b8x16)
  130. (set_local
  131. 0
  132. (b8x16.build
  133. (i32.const 1)
  134. (i32.const 0)
  135. (i32.const 3)
  136. (i32.const -4)
  137. (i32.const 5)
  138. (i32.const 6)
  139. (i32.const -2147483648)
  140. (i32.const 8)
  141. (i32.const 9)
  142. (i32.const 65535)
  143. (i32.const 11)
  144. (i32.const 12)
  145. (i32.const 65534)
  146. (i32.const 14)
  147. (i32.const 2147483647)
  148. (i32.const 16)
  149. )
  150. )
  151. (b8x16.extractLane
  152. (get_local 0)
  153. (i32.const 4)
  154. )
  155. )
  156. (func
  157. (export "func_b8x16_5")
  158. (result i32)
  159. (local b8x16)
  160. (set_local
  161. 0
  162. (b8x16.build
  163. (i32.const 1)
  164. (i32.const 0)
  165. (i32.const 3)
  166. (i32.const -4)
  167. (i32.const 5)
  168. (i32.const 6)
  169. (i32.const -2147483648)
  170. (i32.const 8)
  171. (i32.const 9)
  172. (i32.const 65535)
  173. (i32.const 11)
  174. (i32.const 12)
  175. (i32.const 65534)
  176. (i32.const 14)
  177. (i32.const 2147483647)
  178. (i32.const 16)
  179. )
  180. )
  181. (b8x16.extractLane
  182. (get_local 0)
  183. (i32.const 5)
  184. )
  185. )
  186. (func
  187. (export "func_b8x16_6")
  188. (result i32)
  189. (local b8x16)
  190. (set_local
  191. 0
  192. (b8x16.build
  193. (i32.const 1)
  194. (i32.const 0)
  195. (i32.const 3)
  196. (i32.const -4)
  197. (i32.const 5)
  198. (i32.const 6)
  199. (i32.const -2147483648)
  200. (i32.const 8)
  201. (i32.const 9)
  202. (i32.const 65535)
  203. (i32.const 11)
  204. (i32.const 12)
  205. (i32.const 65534)
  206. (i32.const 14)
  207. (i32.const 2147483647)
  208. (i32.const 16)
  209. )
  210. )
  211. (b8x16.extractLane
  212. (get_local 0)
  213. (i32.const 6)
  214. )
  215. )
  216. (func
  217. (export "func_b8x16_7")
  218. (result i32)
  219. (local b8x16)
  220. (set_local
  221. 0
  222. (b8x16.build
  223. (i32.const 1)
  224. (i32.const 0)
  225. (i32.const 3)
  226. (i32.const -4)
  227. (i32.const 5)
  228. (i32.const 6)
  229. (i32.const -2147483648)
  230. (i32.const 8)
  231. (i32.const 9)
  232. (i32.const 65535)
  233. (i32.const 11)
  234. (i32.const 12)
  235. (i32.const 65534)
  236. (i32.const 14)
  237. (i32.const 2147483647)
  238. (i32.const 16)
  239. )
  240. )
  241. (b8x16.extractLane
  242. (get_local 0)
  243. (i32.const 7)
  244. )
  245. )
  246. (func
  247. (export "func_b8x16_8")
  248. (result i32)
  249. (local b8x16)
  250. (set_local
  251. 0
  252. (b8x16.build
  253. (i32.const 1)
  254. (i32.const 0)
  255. (i32.const 3)
  256. (i32.const -4)
  257. (i32.const 5)
  258. (i32.const 6)
  259. (i32.const -2147483648)
  260. (i32.const 8)
  261. (i32.const 9)
  262. (i32.const 65535)
  263. (i32.const 11)
  264. (i32.const 12)
  265. (i32.const 65534)
  266. (i32.const 14)
  267. (i32.const 2147483647)
  268. (i32.const 16)
  269. )
  270. )
  271. (b8x16.extractLane
  272. (get_local 0)
  273. (i32.const 8)
  274. )
  275. )
  276. (func
  277. (export "func_b8x16_9")
  278. (result i32)
  279. (local b8x16)
  280. (set_local
  281. 0
  282. (b8x16.build
  283. (i32.const 1)
  284. (i32.const 0)
  285. (i32.const 3)
  286. (i32.const -4)
  287. (i32.const 5)
  288. (i32.const 6)
  289. (i32.const -2147483648)
  290. (i32.const 8)
  291. (i32.const 9)
  292. (i32.const 65535)
  293. (i32.const 11)
  294. (i32.const 12)
  295. (i32.const 65534)
  296. (i32.const 14)
  297. (i32.const 2147483647)
  298. (i32.const 16)
  299. )
  300. )
  301. (b8x16.extractLane
  302. (get_local 0)
  303. (i32.const 9)
  304. )
  305. )
  306. (func
  307. (export "func_b8x16_10")
  308. (result i32)
  309. (local b8x16)
  310. (set_local
  311. 0
  312. (b8x16.build
  313. (i32.const 1)
  314. (i32.const 0)
  315. (i32.const 3)
  316. (i32.const -4)
  317. (i32.const 5)
  318. (i32.const 6)
  319. (i32.const -2147483648)
  320. (i32.const 8)
  321. (i32.const 9)
  322. (i32.const 65535)
  323. (i32.const 11)
  324. (i32.const 12)
  325. (i32.const 65534)
  326. (i32.const 14)
  327. (i32.const 2147483647)
  328. (i32.const 16)
  329. )
  330. )
  331. (b8x16.extractLane
  332. (get_local 0)
  333. (i32.const 10)
  334. )
  335. )
  336. (func
  337. (export "func_b8x16_11")
  338. (result i32)
  339. (local b8x16)
  340. (set_local
  341. 0
  342. (b8x16.build
  343. (i32.const 1)
  344. (i32.const 0)
  345. (i32.const 3)
  346. (i32.const -4)
  347. (i32.const 5)
  348. (i32.const 6)
  349. (i32.const -2147483648)
  350. (i32.const 8)
  351. (i32.const 9)
  352. (i32.const 65535)
  353. (i32.const 11)
  354. (i32.const 12)
  355. (i32.const 65534)
  356. (i32.const 14)
  357. (i32.const 2147483647)
  358. (i32.const 16)
  359. )
  360. )
  361. (b8x16.extractLane
  362. (get_local 0)
  363. (i32.const 11)
  364. )
  365. )
  366. (func
  367. (export "func_b8x16_12")
  368. (result i32)
  369. (local b8x16)
  370. (set_local
  371. 0
  372. (b8x16.build
  373. (i32.const 1)
  374. (i32.const 0)
  375. (i32.const 3)
  376. (i32.const -4)
  377. (i32.const 5)
  378. (i32.const 6)
  379. (i32.const -2147483648)
  380. (i32.const 8)
  381. (i32.const 9)
  382. (i32.const 65535)
  383. (i32.const 11)
  384. (i32.const 12)
  385. (i32.const 65534)
  386. (i32.const 14)
  387. (i32.const 2147483647)
  388. (i32.const 16)
  389. )
  390. )
  391. (b8x16.extractLane
  392. (get_local 0)
  393. (i32.const 12)
  394. )
  395. )
  396. (func
  397. (export "func_b8x16_13")
  398. (result i32)
  399. (local b8x16)
  400. (set_local
  401. 0
  402. (b8x16.build
  403. (i32.const 1)
  404. (i32.const 0)
  405. (i32.const 3)
  406. (i32.const -4)
  407. (i32.const 5)
  408. (i32.const 6)
  409. (i32.const -2147483648)
  410. (i32.const 8)
  411. (i32.const 9)
  412. (i32.const 65535)
  413. (i32.const 11)
  414. (i32.const 12)
  415. (i32.const 65534)
  416. (i32.const 14)
  417. (i32.const 2147483647)
  418. (i32.const 16)
  419. )
  420. )
  421. (b8x16.extractLane
  422. (get_local 0)
  423. (i32.const 13)
  424. )
  425. )
  426. (func
  427. (export "func_b8x16_14")
  428. (result i32)
  429. (local b8x16)
  430. (set_local
  431. 0
  432. (b8x16.build
  433. (i32.const 1)
  434. (i32.const 0)
  435. (i32.const 3)
  436. (i32.const -4)
  437. (i32.const 5)
  438. (i32.const 6)
  439. (i32.const -2147483648)
  440. (i32.const 8)
  441. (i32.const 9)
  442. (i32.const 65535)
  443. (i32.const 11)
  444. (i32.const 12)
  445. (i32.const 65534)
  446. (i32.const 14)
  447. (i32.const 2147483647)
  448. (i32.const 16)
  449. )
  450. )
  451. (b8x16.extractLane
  452. (get_local 0)
  453. (i32.const 14)
  454. )
  455. )
  456. (func
  457. (export "func_b8x16_15")
  458. (result i32)
  459. (local b8x16)
  460. (set_local
  461. 0
  462. (b8x16.build
  463. (i32.const 1)
  464. (i32.const 0)
  465. (i32.const 3)
  466. (i32.const -4)
  467. (i32.const 5)
  468. (i32.const 6)
  469. (i32.const -2147483648)
  470. (i32.const 8)
  471. (i32.const 9)
  472. (i32.const 65535)
  473. (i32.const 11)
  474. (i32.const 12)
  475. (i32.const 65534)
  476. (i32.const 14)
  477. (i32.const 2147483647)
  478. (i32.const 16)
  479. )
  480. )
  481. (b8x16.extractLane
  482. (get_local 0)
  483. (i32.const 15)
  484. )
  485. )
  486. )