Skip to content

JIT: Optimize *x = dblCns to *x = intCns for arm64 #61620

Closed
@EgorBo

Description

@EgorBo

Yet another up-for-grabs:

void foo(float* x) => *x = 0;

emits:

            movi    v16.16b, #0x00
            str     s16, [x1]

while could be just:

            str     wzr, [x1]

The issue is basically to port these changes #52298 to ARM64 or better - move them to lower.cpp and share between both x86 and arm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIgood first issueIssue should be easy to implement, good for first-time contributorshelp wanted[up-for-grabs] Good issue for external contributorstenet-performancePerformance related issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions