dotnet/runtime

Add logic (possibly just an assert) that will catch cases where we try to emit an instruction that is not supported by the underlying CPU

Open

#11,578 opened on Nov 29, 2018

View on GitHub
 (1 comment) (1 reaction) (0 assignees)C# (5,445 forks)batch import
area-CodeGen-coreclrenhancementhelp wanted

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (Avg merge 12d 11h) (661 merged PRs in 30d)

Description

As with https://github.com/dotnet/coreclr/issues/21105, there are some cases where we try to emit an encoding of an instruction that is not supported by the underlying CPU.

We should add some logic to the emitter that will help catch this type of error.

category:implementation theme:jit-coding-style skill-level:beginner cost:small impact:small

Contributor guide