Skip to content

arm64: ror+eor -> eor, ror #101027

@EgorBo

Description

@EgorBo

A pattern that can be found in Marvin.Block:

uint Block(uint p0, uint p1) => p0 ^ BitOperations.RotateLeft(p1, 23);

Current codegen:

    ror     w1, w1, #23
    eor     w0, w0, w1

Expected codegen:

    eor     w0, w0, w1, ror #23

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions