Skip to content

JIT.HardwareIntrinsics failing on native AOT #110240

@MichalStrehovsky

Description

@MichalStrehovsky

Not clear how we ended up generating unsupported instructions, this test should only be allowed to use x64 baseline instructions.

Seen in #110238.

Beginning scenario: RunUnsupportedScenario
Beginning scenario: RunBasicScenario_UnsafeRead
Process terminated. Illegal instruction: Attempted to execute an instruction code not defined by the processor.
   at System.RuntimeExceptionHelpers.FailFast(String, Exception, String, RhFailFastReason, IntPtr, IntPtr) + 0x231
   at System.RuntimeExceptionHelpers.GetRuntimeException(ExceptionIDs) + 0xb3
   at System.Runtime.EH.GetClasslibException(ExceptionIDs, IntPtr) + 0x34
   at JIT.HardwareIntrinsics.X86._Gfni.GfniAffineTest__GaloisFieldAffineTransformByte0.RunBasicScenario_UnsafeRead() + 0x38
   at JIT.HardwareIntrinsics.X86._Gfni.GfniAffineTest__GaloisFieldAffineTransformByte0.RunUnsupportedScenario() + 0x28
   at JIT.HardwareIntrinsics.X86._Gfni.Program.GaloisFieldAffineTransformByte0() + 0x30
   at Program.<<Main>$>g__TestExecutor37|0_38(StreamWriter tempLogSw, StreamWriter statsCsvSw, Program.<>c__DisplayClass0_0&) + 0x185
   at Program.<Main>$(String[] args) + 0x3fd

Cc @tannergooding

Metadata

Metadata

Assignees

No one assigned

    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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions