runtime: [Linux/arm64] Assert failures during PMI System.Private.CoreLib

PREPALL type# 474 method# 8112 System.Numerics.Vector`1[[System.Numerics.Vector`1[[System.Single, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]::ToString

Assert failure(PID 14239 [0x0000379f], Thread: 14239 [0x379f]): Assertion failed 'type == lvaTable[lnum].lvType || (lvaIsImplicitByRefLocal(lnum) && fgGlobalMorph && (lvaTable[lnum].lvType == TYP_BYREF))' in 'System.Numerics.Vector`1[Vector`1][System.Numerics.Vector`1[System.Single]]:ToString(ref,ref):ref:this' (IL size 146)

    File: /opt/code/src/jit/gentree.cpp Line: 6252
    Image: /home/robox/echesako/git/_/bin/tests/Linux.arm64.Checked/Tests/Core_Root/corerun

The assert above fixed by dotnet/coreclr#20285

PREPALL type# 1743 method# 22166 System.Runtime.Intrinsics.Arm.Arm64.Base::LeadingSignCount

Assert failure(PID 14246 [0x000037a6], Thread: 14246 [0x37a6]): Assertion failed '!"Unimplemented SIMD Intrinsic form"' in 'System.Runtime.Intrinsics.Arm.Arm64.Base:LeadingSignCount(int):int' (IL size 7)

    File: /opt/code/src/jit/hwintrinsicArm64.cpp Line: 324
    Image: /home/robox/echesako/git/_/bin/tests/Linux.arm64.Checked/Tests/Core_Root/corerun
PREPALL type# 1743 method# 22168 System.Runtime.Intrinsics.Arm.Arm64.Base::LeadingZeroCount

Assert failure(PID 14254 [0x000037ae], Thread: 14254 [0x37ae]): Assertion failed '!"Unimplemented SIMD Intrinsic form"' in 'System.Runtime.Intrinsics.Arm.Arm64.Base:LeadingZeroCount(int):int' (IL size 7)

    File: /opt/code/src/jit/hwintrinsicArm64.cpp Line: 324
    Image: /home/robox/echesako/git/_/bin/tests/Linux.arm64.Checked/Tests/Core_Root/corerun

The two assertions above fixed by dotnet/coreclr#20306

PREPALL type# 1746 method# 22324 System.Runtime.Intrinsics.Arm.Arm64.Simd::Extract

Assert failure(PID 14268 [0x000037bc], Thread: 14268 [0x37bc]): Compiler optimization assumption invalid: ERROR: failed to find exception throw blockFAILED: (add != nullptr)
    File: /opt/code/src/jit/codegencommon.cpp Line: 2005
    Image:

Steps to reproduce:

  1. Set these environement variables
COMPlus_TieredCompilation=0
COMPlus_ZapDisable=1
COMPlus_ReadyToRun=0
  1. Run PMI DriveAll (needs https://github.com/dotnet/jitutils) $CORE_ROOT/corerun pmi.dll DRIVEALL $CORE_ROOT/System.Private.CoreLib.dll

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (20 by maintainers)

Commits related to this issue

Most upvoted comments

Right – the idea was to do something similar for arm64.