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

Mirror changes from dotnet/coreclr#3345

Merged
jkotas merged 2 commits into
masterfrom
mirror-merge-9093402
Apr 17, 2017
Merged

Mirror changes from dotnet/coreclr#3345
jkotas merged 2 commits into
masterfrom
mirror-merge-9093402

Conversation

@dotnet-bot
Copy link
Copy Markdown
Collaborator

This PR contains mirrored changes from dotnet/coreclr

Please REBASE this PR when merging

)

Fix a few method names to better names used in CoreRT

Contributes to #2966

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
@jkotas
Copy link
Copy Markdown
Member

jkotas commented Apr 17, 2017

@dotnet/corelib-contrib @MichalStrehovsky Could you please take a look at commit #2 that contains the CoreRT specific changes to make the Span compile?

@jkotas jkotas force-pushed the mirror-merge-9093402 branch from 4da090c to 52981c2 Compare April 17, 2017 04:41
Comment thread src/Native/Runtime/MiscHelpers.cpp Outdated
}

// Bulk zero memory operation for large memory blocks
EXTERN_C REDHAWK_API void __cdecl RhZeroMemory(void* pMemStart, size_t cbMemSize)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this need to be a new runtime service? Could the class library just p/invoke into memset, same as we already do for memmove?

/// </summary>
[NonVersionable]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Add [Intrinsic] so that the new intrinsic kicks in?

@jkotas jkotas force-pushed the mirror-merge-9093402 branch 2 times, most recently from 98dc3ed to 853664f Compare April 17, 2017 11:11
@jkotas jkotas force-pushed the mirror-merge-9093402 branch from 853664f to d24e0ed Compare April 17, 2017 11:24
@jkotas jkotas merged commit 8ded575 into master Apr 17, 2017
@jkotas jkotas deleted the mirror-merge-9093402 branch April 17, 2017 11:59
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.

4 participants