Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIT: Bad codegen with AdvSimd.Insert #106079

Closed
jakobbotsch opened this issue Aug 7, 2024 · 3 comments · Fixed by #106981
Closed

JIT: Bad codegen with AdvSimd.Insert #106079

jakobbotsch opened this issue Aug 7, 2024 · 3 comments · Fixed by #106981
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI in-pr There is an active PR which will close this issue when it is merged
Milestone

Comments

@jakobbotsch
Copy link
Member

// Generated by Fuzzlyn v2.2 on 2024-08-06 15:11:52
// Run on Arm64 MacOS
// Seed: 289142602786847481-vectort,vector64,vector128,armadvsimd,armadvsimdarm64,armaes,armarmbase,armarmbasearm64,armcrc32,armcrc32arm64,armdp,armrdm,armrdmarm64,armsha1,armsha256
// Reduced from 87.5 KiB to 0.4 KiB in 00:00:36
// Debug: Outputs <4607182418800017408, 13871573557235963454>
// Release: Outputs <4607182418800017408, 0>
using System;
using System.Runtime.CompilerServices;
using System.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;

public class Program
{
    public static Vector128<double> s_38 = Vector128.Create(0, -567.3319449449843d);
    public static void Main()
    {
        double vr4 = 1;
        s_38 = AdvSimd.Insert(s_38, 0, vr4);
        System.Console.WriteLine(s_38.AsUInt64());
    }
}

cc @dotnet/jit-contrib

@jakobbotsch jakobbotsch added this to the 9.0.0 milestone Aug 7, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 7, 2024
Copy link
Contributor

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

@JulieLeeMSFT
Copy link
Member

@tannergooding, can you please take a look?

@tannergooding
Copy link
Member

Looking.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI in-pr There is an active PR which will close this issue when it is merged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants