-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Allow folding of aligned loads when using the VEX encoding and optimizations are enabled #376
Conversation
Working on grabbing some diffs. |
PTAL @dotnet/jit-contrib I think it should be labeled as area-Codegen. |
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.
LGTM. I find the conditions a bit confusing, but I can't offhand think of a better way to describe these except maybe to change canContainXXLoads
instead of supportsXXLoads
, but I'm not sure that's a great deal clearer, and this was already the case before this change.
…zations are enabled
a3cdab6
to
71e8828
Compare
No changes, just rebased onto current head. No diffs for corelib, framework, or benchmarks. There are a number of diffs for the tests:
In all cases the diffs are things like: - vmovapd xmm0, xmmword ptr [rax]
- vaddpd xmm6, xmm6, xmm0
+ vaddpd xmm6, xmm6, xmmword ptr [rax] -- NOTE: I had to make a few modifications to jitutils to work around: dotnet/jitutils#243 |
Are the arm failures known? Only lowerxarch was changed, so this shouldn't impact any arm stuff and should be otherwise ready to merge. |
Yes, the arm CI has been broken for some time now. #1097 is tracking this. |
This resolves https://github.com/dotnet/corefx/issues/33566 by updating the JIT to support folding of aligned loads when using the VEX encoding and when optimizations are enabled.