Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Fix INDEX_ADDR codegen on ARM for large element sizes.#13639

Closed
pgavlin wants to merge 2 commits into
dotnet:masterfrom
pgavlin:GitHub13593
Closed

Fix INDEX_ADDR codegen on ARM for large element sizes.#13639
pgavlin wants to merge 2 commits into
dotnet:masterfrom
pgavlin:GitHub13593

Conversation

@pgavlin
Copy link
Copy Markdown

@pgavlin pgavlin commented Aug 28, 2017

We were attempting to generate base + index * size using MADD, but
had the registers in the wrong order and were generating
base * index + size. This change fixes the register order s.t. the
expected instruction is generated.

Fixes #13593.

We were attempting to generate `base + index * size` using `MADD`, but
had the registers in the wrong order and were generating
`base * index + size`. This change fixes the register order s.t. the
expected instruction is generated.

Fixes #13593.
@pgavlin
Copy link
Copy Markdown
Author

pgavlin commented Aug 28, 2017

@jashook @sdmaclea @dotnet/jit-contrib PTAL

Copy link
Copy Markdown

@CarolEidt CarolEidt left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown

@sdmaclea sdmaclea left a comment

Choose a reason for hiding this comment

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

LGTM. I verified this fixed the regression on tip. Thanks

@pgavlin
Copy link
Copy Markdown
Author

pgavlin commented Aug 29, 2017

@dotnet-bot
test OSX10.12 x64 Checked Build and Test
test Tizen armel Cross Release Build

@pgavlin
Copy link
Copy Markdown
Author

pgavlin commented Aug 29, 2017

Windows ARM failures are due to missing tests; perf smoke tests are failing for reasons detailed elsewhere by @DrewScoggins.

@pgavlin
Copy link
Copy Markdown
Author

pgavlin commented Aug 29, 2017

@dotnet-bot test Tizen armel Cross Release Build

@pgavlin
Copy link
Copy Markdown
Author

pgavlin commented Aug 30, 2017

Superseded by #13701.

@pgavlin pgavlin closed this Aug 30, 2017
@pgavlin pgavlin deleted the GitHub13593 branch September 11, 2017 19:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Arm64] New failures on tip

5 participants