Граф коммитов

14559 Коммитов

Автор SHA1 Сообщение Дата
Jukka Jylänki ca45c69eb2 Clean up code after SSE merge to upstream. 2015-08-17 23:34:40 +03:00
Jukka Jylänki 85a1ce2bc2 Gate unsupported MMX code better. 2015-08-17 23:34:40 +03:00
Jukka Jylänki 2d6f285bfe Add no-op dummy _mm_prefetch(). Closes #3050. 2015-08-17 23:34:39 +03:00
Jukka Jylänki d4b9a7f979 Add test for issue #3403. 2015-08-17 23:34:38 +03:00
Jukka Jylänki 07f4c756f0 Implement SSE1 _mm_sfence(). Closes #3051. 2015-08-17 23:34:37 +03:00
Jukka Jylänki a4004d2da8 Enable test_sse1 to run. 2015-08-17 23:34:37 +03:00
Jukka Jylänki 0f24d0f5a8 Add -msse to benchmark_sse1 build. 2015-08-17 23:34:36 +03:00
Jukka Jylänki da78691950 Add test for issue #2840. 2015-08-17 23:34:35 +03:00
Jukka Jylänki 343e7c9f0a Enable test_simd7 in test suite. Closes #2791. 2015-08-17 23:34:35 +03:00
Jukka Jylänki b33d114394 Emit only those SIMD types that the page actually uses. 2015-08-17 23:34:34 +03:00
Jukka Jylänki 5633d1eaf9 Add new SIMD test for asm.js validation with splat() instruction. 2015-08-17 23:34:33 +03:00
Jukka Jylänki 9c15ddf1ff Add missing -msse to test_simd_dyncall. 2015-08-17 23:34:32 +03:00
Jukka Jylänki a906356219 Enable test_sse1_full to be run both in node.js and SpiderMonkey, in all modes. 2015-08-17 23:34:32 +03:00
Jukka Jylänki 25391d8a3e Add proper support for -msse and -msse2 build flags. Don't emit SSE2 code unless explicitly enabled, since it is not implemented in Firefox and does not validate. 2015-08-17 23:34:31 +03:00
Jukka Jylänki c30c754e60 Add support for SSE2 _mm_slli_si128 and _mm_srli_si128. 2015-08-17 23:34:30 +03:00
Jukka Jylänki 6d1ea2fdd1 Add support for _mm_srl_epi16 and _mm_srl_epi32. 2015-08-17 23:34:30 +03:00
Jukka Jylänki b9673959f1 Add support for SSE2 _mm_sll_epi16, _mm_sll_epi32, _mm_sra_epi16 and _mm_sra_epi32(). 2015-08-17 23:34:29 +03:00
Jukka Jylänki 14c77a13d9 Add aliases to different equivalent functions. Remove tests for those that Clang doesn't have functionalities for. 2015-08-17 23:34:28 +03:00
Jukka Jylänki f3eb0607c1 Enable test for _mm_insert_epi16. 2015-08-17 23:34:28 +03:00
Jukka Jylänki c2a8e12c4c Add (scalarized) support for SSE2 _mm_packs_epi16, _mm_packs_epi32 and _mm_packus_epi16. 2015-08-17 23:34:27 +03:00
Jukka Jylänki ab3b8823b7 Add (scalarized) support for SSE2 integer min and max. 2015-08-17 23:34:27 +03:00
Jukka Jylänki 9581a6fae9 Add (scalarized) support for saturating arithmetic. 2015-08-17 23:34:26 +03:00
Jukka Jylänki d92a9ae99d Add (scalarized) support for SSE2 _mm_avg_epu8 and _mm_avg_epu16. 2015-08-17 23:34:25 +03:00
Jukka Jylänki 53fe5e44e8 Implement support for SSE2 compare instructions. 2015-08-17 23:34:24 +03:00
Jukka Jylänki 8924b1f158 Add support for SSE2 _mm_loadl_epi64, _mm_storel_epi64 and _mm_stream_si64. 2015-08-17 23:34:24 +03:00
Jukka Jylänki 6a3e721a7b Add typedefs for unaligned 64-bit integer accesses in emscripten/emscripten.h 2015-08-17 23:34:23 +03:00
Jukka Jylänki c57ef8ddbf Add SSE2 functions _mm_cvtsi64_sd, _mm_cvttsd_si64, _mm_cvtsi64_si128 and _mm_cvtsi128_si64. 2015-08-17 23:34:22 +03:00
Jukka Jylänki af296ad193 Emulate _mm_add_epi64 and _mm_sub_epi64. 2015-08-17 23:34:22 +03:00
Jukka Jylänki a075e23475 Implement (scalarized) support for _mm_maskmoveu_si128(). 2015-08-17 23:34:21 +03:00
Jukka Jylänki 5e48c9c9ec Add more float64x2 intrinsics. Add SSE2 __m128d min and max functions. 2015-08-17 23:34:20 +03:00
Jukka Jylänki fac218a4ec Add support for SSE2 _mm_cvttpd_epi32() instruction. 2015-08-17 23:34:20 +03:00
Jukka Jylänki a545f579ab Add support for SSE2 _mm_cvtsd_si64(). 2015-08-17 23:34:19 +03:00
Jukka Jylänki 86813c804a Add support for SSE2 _mm_cvtpd_epi32(). 2015-08-17 23:34:18 +03:00
Jukka Jylänki cb27a11cd8 Implement support for SSE2 _mm_cvtpd_ps(). 2015-08-17 23:34:18 +03:00
Jukka Jylänki 381f7a3039 Add support for SSE2 _mm_cvtps_epi32() instruction. 2015-08-17 23:34:17 +03:00
Jukka Jylänki e4e55055ef Implement SSE2 _mm_cvtsd_si32(). 2015-08-17 23:34:16 +03:00
Jukka Jylänki 6de10df8ca Implement (scalarized) support for SSE2 _mm_movemask_pd(). 2015-08-17 23:34:15 +03:00
Jukka Jylänki edc7a0d2bc Implement (scalarized) support for _mm_movemask_epi8(). 2015-08-17 23:34:15 +03:00
Jukka Jylänki 648582041b Add test for _mm_cvtepi32_pd. 2015-08-17 23:34:14 +03:00
Jukka Jylänki 7d1afb2e91 Add support for creating float64x2 from more types, and add _mm_cvtepi32_pd(). 2015-08-17 23:34:13 +03:00
Jukka Jylänki 0894b8007f Implement (scalarized) support for SSE2 _mm_sad_epu8(). 2015-08-17 23:34:13 +03:00
Jukka Jylänki 27f3c7628b Implement (scalarized) support for SSE2 _mm_mulhi_epi16() and _mm_mulhi_epu16(). 2015-08-17 23:34:12 +03:00
Jukka Jylänki a5b4b5669b Implement (scalarized) support for SSE2 _mm_madd_epi16(). 2015-08-17 23:34:11 +03:00
Jukka Jylänki 4d3496f129 Add SSE2 float32x4 -> float64x2 conversion and _mm_cvtps_pd(). 2015-08-17 23:34:11 +03:00
Jukka Jylänki 76b68ca3c8 Implement (scalarized) support for SSE2 _mm_mul_epu32. 2015-08-17 23:34:10 +03:00
Jukka Jylänki d3a549cf00 Add support for SSE2 _mm_srli_epi16() and _mm_srli_epi32(). 2015-08-17 23:34:09 +03:00
Jukka Jylänki 1d12445d7a Add support for 8-bit, 16-bit and 32-bit integer shifts and SSE2 instructions _mm_slli_epi16, _mm_slli_epi32, _mm_srai_epi16 and _mm_srai_epi32. 2015-08-17 23:34:08 +03:00
Jukka Jylänki 684cfffcc2 Add (scalarized) support for SSE2 _mm_cvttps_epi32(). 2015-08-17 23:34:08 +03:00
Jukka Jylänki b1d5735916 Improve SSE1 and SSE2 support to be more correct. Add test to be run in default suite, doesn't yet run in optimized suites. 2015-08-17 23:34:07 +03:00
Jukka Jylänki 7c89fd0201 Don't define SSE2 in emmintrin.h, add implementation of clflush, lfence, mfence and pause. 2015-08-17 23:34:06 +03:00