This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // +avx, +popcnt, +bmi2 | |
| unsafe fn mm256_compressstroeu_ps(array: *mut f32, mask: u8, src: __m256) | |
| { | |
| let convert = _pext_u64(0x0706050403020100, _pdep_u64(mask as u64, 0x0101010101010101)*0xFF); | |
| let permute = _mm256_cvtepu8_epi32(_mm_cvtsi64_si128(convert as i64)); | |
| let compress = _mm256_permutevar8x32_ps(src, permute); | |
| let imm8 = _popcnt64(mask as i64); | |
| let ret = match imm8 { | |
| 0 => { _mm256_blend_ps(_mm256_loadu_ps(array), compress, 0x00) }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diagram: | |
| fill: "white" | |
| columns: 20 | |
| rows: 20 | |
| gridLines: true | |
| title: | |
| author: bebebe | |
| company: nict | |
| color: black | |
| text: rd.enobed 172.19.0.0/16 |
OlderNewer