| 1851 | } |
| 1852 | |
| 1853 | void TSSEEmulTest::Test_mm_storeu_pd() { |
| 1854 | alignas(16) const double valueBits[4] = {1., 2., 3., 4.}; |
| 1855 | for (size_t i = 0; i != 3; ++i) { |
| 1856 | const __m128d value = _mm_loadu_pd(&valueBits[i]); |
| 1857 | alignas(16) double res[4]; |
| 1858 | for (size_t shift = 0; shift != 3; ++shift) { |
| 1859 | _mm_storeu_pd(&res[shift], value); |
| 1860 | for (size_t j = 0; j != 2; ++j) { |
| 1861 | UNIT_ASSERT_EQUAL_C(res[j + shift], valueBits[i + j], "res: " << HexEncode(&res[shift], 16) << " vs etalon: " << HexEncode(&valueBits[i], 16)); |
| 1862 | } |
| 1863 | } |
| 1864 | } |
| 1865 | } |
| 1866 | |
| 1867 | void TSSEEmulTest::Test_mm_andnot_ps() { |
| 1868 | alignas(16) const char firstBits[16] = { |
nothing calls this directly
no test coverage detected