File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ internal sealed override void Compile(CompilationContext context)
4545 [ typeof ( uint )
4646 ] ) ;
4747
48- //All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49- //This algorithm is from https://stackoverflow.com/questions/10439242/count-leading-zeroes-in-an-int32
50- var il = result . GetILGenerator ( ) ;
48+ //All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49+ //This algorithm is from https://stackoverflow.com/questions/10439242/count-leading-zeroes-in-an-int32
50+ var il = result . GetILGenerator ( ) ;
5151 il . Emit ( OpCodes . Ldarg_0 ) ;
5252 il . Emit ( OpCodes . Ldarg_0 ) ;
5353 il . Emit ( OpCodes . Ldc_I4_1 ) ;
@@ -91,7 +91,7 @@ [ typeof(uint)
9191
9292 return result ;
9393 }
94- ] ) ;
94+ ] ) ;
9595#endif
9696 }
9797}
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ internal sealed override void Compile(CompilationContext context)
4545 [ typeof ( uint )
4646 ] ) ;
4747
48- //All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49- //Based on the algorithm found here: http://aggregate.org/MAGIC/#Trailing%20Zero%20Count
50- var il = result . GetILGenerator ( ) ;
48+ //All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49+ //Based on the algorithm found here: http://aggregate.org/MAGIC/#Trailing%20Zero%20Count
50+ var il = result . GetILGenerator ( ) ;
5151 il . Emit ( OpCodes . Ldarg_0 ) ;
5252 il . Emit ( OpCodes . Ldarg_0 ) ;
5353 il . Emit ( OpCodes . Neg ) ;
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ internal sealed override void Compile(CompilationContext context)
4545 [ typeof ( ulong )
4646 ] ) ;
4747
48- //All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49- //This algorithm is extended from https://stackoverflow.com/questions/10439242/count-leading-zeroes-in-an-int32
50- var il = result . GetILGenerator ( ) ;
48+ //All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49+ //This algorithm is extended from https://stackoverflow.com/questions/10439242/count-leading-zeroes-in-an-int32
50+ var il = result . GetILGenerator ( ) ;
5151 il . Emit ( OpCodes . Ldarg_0 ) ;
5252 il . Emit ( OpCodes . Ldarg_0 ) ;
5353 il . Emit ( OpCodes . Ldc_I4_1 ) ;
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ internal sealed override void Compile(CompilationContext context)
4545 [ typeof ( ulong )
4646 ] ) ;
4747
48- //All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49- //Based on the algorithm found here: http://aggregate.org/MAGIC/#Trailing%20Zero%20Count
50- var il = result . GetILGenerator ( ) ;
48+ //All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49+ //Based on the algorithm found here: http://aggregate.org/MAGIC/#Trailing%20Zero%20Count
50+ var il = result . GetILGenerator ( ) ;
5151 il . Emit ( OpCodes . Ldarg_0 ) ;
5252 il . Emit ( OpCodes . Ldarg_0 ) ;
5353 il . Emit ( OpCodes . Neg ) ;
You can’t perform that action at this time.
0 commit comments