MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / RestMask

Function RestMask

basiclinalg/avector.cpp:477–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475
476
477 INLINE __m256i RestMask (int R)
478 {
479 switch (R)
480 {
481 case 0: return _mm256_set_epi64x(0,0,0,0);
482 case 1: return _mm256_set_epi64x(0,0,0,-1);
483 case 2: return _mm256_set_epi64x(0,0,-1,-1);
484 case 3: return _mm256_set_epi64x(0,-1,-1,-1);
485 default: ;
486 }
487 __assume(false);
488 return _mm256_set_epi64x(0,0,0,0);
489 }
490
491
492 template <int R = 0>

Callers 1

MyScal3x4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected