Tanner Gooding
Tanner Gooding
> is there any justification to keep SSE2 as an allowed target and make AVX2 a new default. So if need be, a developer has the power? Just thinking that...
Another option is to use binary literals. `0b10_11_00_01` is a bit more readable and `0xB1` but less than `MmShuffle(2, 3, 0, 1)` Defining constants like `public const int MmShuffle_2301 =...
> be handled in order for the JIT to don't emit the software fallback? This pattern could be changed to effectively expose `Shuffle(op1)`, `Shuffle(op1, op2)` methods instead and those could...
DirectX Math is MIT licensed and already provides SIMD accelerated algorithms (for x86/x64 and ARM64) for many standard color conversions: https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-xmcolorrgbtoyuv https://github.com/microsoft/DirectXMath/blob/master/Inc/DirectXMathMisc.inl#L1728-L1738 It's documented to use `ITU-R BT.601/CCIR 601 W(r)...
Saw this on Twitter, gave some replies there going to paste them here as well... At first glance, I don't see anything obvious. The algorithm for division hasn't changed here...
A bug was found and fixed for floating-point corruption on MacOS: https://github.com/dotnet/runtime/pull/75440 But this was reproing on Windows as well, so its likely not the root cause.
Ok, so I could reliably repro on RC1, but I cannot repro on RC2 (nightly build `7.0.100-rc.2.22464.26`). There were ~161 commits between these two: https://github.com/dotnet/runtime/compare/release/7.0-rc1...release/7.0-rc2 Of those commits, the most...
Hmmm, maybe I spoke too soon. I'm still seeing the following in a clean build, but it won't repro after having been hit once: ``` [xUnit.net 00:00:05.20] Skew_IsNotBoundToSinglePixelType(provider: TestPattern100x50[Bgra32], x:...
I've root caused the bug. There looks to be a bug with `maxps` and `minps`. This is the disassembly for `Bgra32.FromVector4` in .NET 6: ```asm push rdi push rsi sub...
*Edit:* Ah, I misread the issue. This is only for type equality, not value equality. Sorry for the noise. It's worth noting that for `float`, `double`, `System.Half`, and potentially other...