Example #1
0
 internal static v128 min_int(v128 a, v128 b)
 {
     if (Sse4_1.IsSse41Supported)
     {
         return(Sse4_1.min_epi32(a, b));
     }
     else if (Sse2.IsSse2Supported)
     {
         return(Mask.BlendV(a, b, Sse2.cmpgt_epi32(a, b)));
     }
     else
     {
         throw new CPUFeatureCheckException();
     }
 }