Esempio n. 1
0
 public static uint bits_zerohigh(uint x, int startIndex)
 {
     if (Bmi2.IsBmi2Supported)
     {
         return(Bmi2.bzhi_u32(x, (uint)startIndex));
     }
     else
     {
         return(andnot(x, uint.MaxValue << startIndex));
     }
 }