Skip to content

Reverting dead unallignedCode paths #1845

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

Merged
merged 3 commits into from
Dec 10, 2018
Merged

Reverting dead unallignedCode paths #1845

merged 3 commits into from
Dec 10, 2018

Conversation

Anipik
Copy link
Contributor

@Anipik Anipik commented Dec 6, 2018

Reverting unaligned CodePaths were added in #1218 and #1274

Related to #1838

@Anipik
Copy link
Contributor Author

Anipik commented Dec 8, 2018

@Ivanidzo4ka @eerhardt @TomFinley @tannergooding can you please review this one ?

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Member

@tannergooding tannergooding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. A couple of nits on places where we could still be generating better code

@eerhardt eerhardt requested a review from codemzs December 10, 2018 19:56
public static void MatrixTimesSource(bool transpose, AlignedArray matrix, AlignedArray source, AlignedArray destination, int stride) => SseUtils.MatTimesSrc(transpose, matrix, source, destination, stride);
private static bool Compat(AlignedArray a)
{
Contracts.AssertValue(a);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving code like this is really hard to review. Did you make any changes to this code, or is it a straight copy from Sse.cs to this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is straight copy from sse.cs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only addition is the function GetVectorAlignment

@Anipik
Copy link
Contributor Author

Anipik commented Dec 10, 2018

@eerhardt can we merge this one ?

@eerhardt
Copy link
Member

Since we are editing Time Series code, I think it would be good for @codemzs to sign off on the changes to it.

Copy link
Member

@codemzs codemzs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@Anipik Anipik merged commit 287bc3e into dotnet:master Dec 10, 2018
@Anipik Anipik deleted the revertAlignedArray branch December 10, 2018 23:23
@ghost ghost locked as resolved and limited conversation to collaborators Mar 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants