Skip to content

arm64: Add float/double cast optimisation tests#129517

Open
jonathandavies-arm wants to merge 2 commits into
dotnet:mainfrom
jonathandavies-arm:upstream/sve/float-predicate-instruction-usage
Open

arm64: Add float/double cast optimisation tests#129517
jonathandavies-arm wants to merge 2 commits into
dotnet:mainfrom
jonathandavies-arm:upstream/sve/float-predicate-instruction-usage

Conversation

@jonathandavies-arm

@jonathandavies-arm jonathandavies-arm commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

This change adds targeted disassembly tests for the floating-point predicate codegen scenarios work done in #124081, including checks that unnecessary predicate→vector→predicate conversions are not emitted.

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Jun 17, 2026
@github-actions github-actions Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jun 17, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Comment thread src/tests/JIT/opt/SVE/PredicateInstructions.cs Outdated
@dhartglassMSFT

Copy link
Copy Markdown
Contributor

@jonathandavies-arm change lgtm

Is the motivation for this #124081 ? Which gives us fp-typed masks now. Or is there a different motivating change? Worth putting in the pr description.

@jonathandavies-arm

Copy link
Copy Markdown
Contributor Author

@jonathandavies-arm change lgtm

Is the motivation for this #124081 ? Which gives us fp-typed masks now. Or is there a different motivating change? Worth putting in the pr description.

I was asked to implement the fp-typed masks but found that Alan had already done the work. I did think we should have better disassembly tests.

@jonathandavies-arm

Copy link
Copy Markdown
Contributor Author

Updated description.

Change-Id: I03f182f358444c8eb2f7775a62454c38c881bed4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants