Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Merge changes from TFS #5852

Merged
merged 1 commit into from
May 24, 2018
Merged

Merge changes from TFS #5852

merged 1 commit into from
May 24, 2018

Conversation

dotnet-bot
Copy link
Collaborator

When merging, this PR, please ensure a merge commit is created as automation requires the merge commit. Do not 'Squash and merge' or 'Rebase and merge'!

…, if the struct fits in the SIMD registers, given that the S and D registers overlap and how the UniversalTransitionThunk and CallDescrWorker copy D values, we treat the HFA struct as an HFA of doubles instead of floats (And we double the size of the struct during this processing).

The issue however is when there aren't enough SIMD registers to fit the HFA struct, and we're forced to pass it on the stack. In that case, we shouldn't double the size of the struct and treat the floats as doubles.

Also fixing the test to exclude invalid scenarios from arm64 (the scenario is invalid because the return buffer pointer is passed using a special x8 register, and not using the x0-7 registers like the rest of the arguments)

[tfs-changeset: 1701853]
@jkotas jkotas merged commit 12964a0 into dotnet:nmirror May 24, 2018
@dotnet-bot dotnet-bot deleted the from-tfs branch May 24, 2018 22:30
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.

2 participants