Skip to content

JIT: Bad result with modulo on linux-arm64 #113320

Closed
@jakobbotsch

Description

@jakobbotsch
// Generated by Fuzzlyn v2.4 on 2025-03-09 16:30:39
// Run on Arm64 Linux
// Seed: 8543882715922286200-vectort,vector64,vector128,armadvsimd,armadvsimdarm64,armaes,armarmbase,armarmbasearm64,armcrc32,armcrc32arm64,armdp,armrdm,armrdmarm64,armsha1,armsha256,armsve
// Reduced from 59.2 KiB to 0.4 KiB in 00:00:34
// Debug: Outputs 0
// Release: Outputs 1
using System;
using System.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;

public class Program
{
    public static ushort s_12;
    public static uint[, ] s_13 = new uint[, ]
    {
        {
            1
        }
    };
    public static void Main()
    {
        if (((0 % s_13[0, 0]) > 0))
        {
            s_12 = 1;
        }

        System.Console.WriteLine(s_12);
    }
}

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions