| 269 | } |
| 270 | |
| 271 | static inline __m512 set_fp4_lut() { |
| 272 | return _mm512_set_ps( |
| 273 | -0.2500f, -0.16666667f, -0.5000f, -0.33333333f, -1.0000f, -0.66666667f, -5.208333333e-03f, 0.0000f, 0.2500f, |
| 274 | 0.16666667f, 0.5000f, 0.33333333f, 1.0000f, 0.66666667f, 5.208333333e-03f, 0.0000f |
| 275 | ); |
| 276 | } |
| 277 | #endif |
| 278 | |
| 279 | static constexpr float fp4_lut[16] = { |
no outgoing calls
no test coverage detected