// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;
using System.Runtime.CompilerServices;
using System.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using Xunit;

// Generated by Fuzzlyn v2.2 on 2024-08-04 15:50:24
// Run on X64 Windows
// Seed: 5477057901617732479-vectort,vector128,vector256,x86aes,x86avx,x86avx2,x86avx512bw,x86avx512bwvl,x86avx512cd,x86avx512cdvl,x86avx512dq,x86avx512dqvl,x86avx512f,x86avx512fvl,x86avx512fx64,x86bmi1,x86bmi1x64,x86bmi2,x86bmi2x64,x86fma,x86lzcnt,x86lzcntx64,x86pclmulqdq,x86popcnt,x86popcntx64,x86sse,x86ssex64,x86sse2,x86sse2x64,x86sse3,x86sse41,x86sse41x64,x86sse42,x86sse42x64,x86ssse3,x86x86base
// Reduced from 32.6 KiB to 0.8 KiB in 00:01:15
// Hits JIT assert in Release:
// Assertion failed 'numArgs == 2' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Linear scan register alloc' (IL size 107; hash 0xade6b36b; FullOpts)
//
//     File: D:\a\_work\1\s\src\coreclr\jit\lsrabuild.cpp Line: 3701
//

public class Runtime_105970
{
    public static Vector256<double> s_1;

    [Fact]
    public static void TestEntryPoint()
    {
        if (Avx512F.VL.IsSupported)
        {
            var vr9 = Vector256.CreateScalar(1.7976931348623157E+308d);
            var vr10 = Vector256.CreateScalar(1.7976931348623157E+308d);
            Vector256<long> vr18 = default(Vector256<long>);
            var vr12 = Avx512F.VL.Fixup(vr9, vr10, vr18, 0);
            var vr13 = Vector256.CreateScalar(-1627.749979702826d);
            var vr15 = Vector256.Create<long>(-1);
            var vr16 = Avx512F.VL.Fixup(vr12, vr13, vr15, 0);
            Vector256<double> vr17 = Avx512F.VL.Shuffle2x128(vr16, s_1, 0);
            Vector256<ulong> expected = Vector256.Create(18442240474082181119, 18442240474082181119, 0, 0);
            Assert.Equal(expected, vr17.AsUInt64());
        }
    }
}
