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