コード例 #1
0
ファイル: BMI_Intrinsics.cs プロジェクト: csritter/MaxMath
 public static ulong bits_resetlowest(ulong x)
 {
     if (Bmi1.IsBmi1Supported)
     {
         return(Bmi1.blsr_u64(x));
     }
     else
     {
         return(x & (x - 1));
     }
 }