Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Vector128.CopyTo discards R2R #120367

Copy link
Copy link

Description

@EgorBo
Issue body actions

Context #120352 (comment)

The following code-snippet when published with R2R, e.g.:

dotnet publish -f net10.0 -r win-x64 --sc -p:PublishReadyToRun=true
using System.Runtime.Intrinsics;

Test();

static ushort[] Test()
{
    ushort[] numbers = new ushort[8];
    Vector128<ushort>.Zero.CopyTo(numbers);
    return numbers;
}

... has to JIT compile Test() with Tier0, although, it clearly is expected to be prejitted.

JitDump

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMItenet-performancePerformance related issuePerformance related issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.