Closed
Description
I love the new SIMD intrinsic surface area you guys have released with .NET 7, and would like to propose this improvement to JIT pattern recognition.
Although micro-benchmarks don't reveal any performance improvement on my CPU to use the AndNot()
intrinsic over ~A & B
, it does to my knowledge result in 1 or more fewer instructions and thus benefits code size.
For reference, my CPU is a Ryzen 2700.