Skip to content

[Mono][Win][Amd] Incorrect decomposition for simd calls #116287

@saitama951

Description

@saitama951

Program.txt

The attached program is an extracted algorithm from one of the libraries from dotnet.
This throws an assertion failure on Mono + amd + windows.

D:\exp\vector>dotnet bin/Debug/net10.0/vector.dll
* Assertion at D:\exp\runtime\src\mono\mono\mini\mini-codegen.c:1267, condition `reginfo [sreg].born_in > 0' not met

dotnet --info:

D:\exp\vector>dotnet --info
.NET SDK:
 Version:           10.0.100-preview.3.25201.16
 Commit:            9dee3cf508
 Workload version:  10.0.100-manifests.ef4f854f
 MSBuild version:   17.14.0-preview-25177-05+903614e16

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19044
 OS Platform: Windows
 RID:         win-x64
 Base Path:   D:\exp\dotnet-win\sdk\10.0.100-preview.3.25201.16\

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions