-
-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port GrayscalConverter to Arm #2409
Port GrayscalConverter to Arm #2409
Conversation
a4556fd
to
a4fe64a
Compare
src/ImageSharp/Formats/Jpeg/Components/ColorConverters/JpegColorConverter.GrayScaleArm.cs
Outdated
Show resolved
Hide resolved
src/ImageSharp/Formats/Jpeg/Components/ColorConverters/JpegColorConverter.GrayScaleArm.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Günther Foidl <gue@korporal.at>
Co-authored-by: Günther Foidl <gue@korporal.at>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great speed up! All these additions are going to be a gamechanger for ARM
Looks like something in #2401 has changed the result of some of the WebP output on ARM. |
Just stating the obvious: It seems impossible to me, that the changes from this PR could be responsible for WebP test failures. |
Yeah this tests fail |
@brianpopow #2401 is the low hanging fruit PR. WebP is touched there. I'm doing another code review as we didn't label the PR to catch ARM issues. |
I also have a look at this right now. |
Just a FYI for easier location of error on x86-dev-machine: run the tests with -- or -- Update the <?xml version="1.0" encoding="utf-8" ?>
<RunSettings>
<RunConfiguration>
<!--Used in conjunction with ActiveIssueAttribute to skip tests with known issues-->
<TestCaseFilter>category!=failing</TestCaseFilter>
<EnvironmentVariables>
<DOTNET_EnableSSE>0</DOTNET_EnableSSE>
</EnvironmentVariables>
</RunConfiguration>
</RunSettings> |
Hm, so far I can't spot the bug. State so far:
So I assume the bug isn't specific to ARM, rather it's anywhere in the scalar-path (that is hit by ARM too, but not with SSE/AVX). |
I found something, will send a PR in a moment (just checking if a similar bug doesn't exist elsewhere). Edit: PR --> #2413 |
OK. Let's get this merged as the changes are covered. Thanks |
Port Grayscaleconverter to ARM
Benchmarks: