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.HardwareIntrinsics failing on native AOT #110240

Closed
MichalStrehovsky opened this issue Nov 28, 2024 · 1 comment · Fixed by #110250
Closed

JIT.HardwareIntrinsics failing on native AOT #110240

MichalStrehovsky opened this issue Nov 28, 2024 · 1 comment · Fixed by #110250
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

Comments

@MichalStrehovsky
Copy link
Member

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

@MichalStrehovsky MichalStrehovsky added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Nov 28, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Nov 28, 2024
Copy link
Contributor

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

@dotnet-policy-service dotnet-policy-service bot added the in-pr There is an active PR which will close this issue when it is merged label Nov 28, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

1 participant