Skip to content

Not possible to specify IlcInstructionSet < sse4.2 in .NET 10 #119353

@MichalStrehovsky

Description

@MichalStrehovsky

This is a problem in .NET 10. Benchmark.net is running into it.

ILC is erroring out with error Unrecognized instruction set sse.

ilc --help prints:

The allowable values for the --instruction-set option are described in the table below.
...
x64: base, base, base, sse4.2, sse4.2, sse4.2, sse4.2, sse4.2, avx, avx2, avx2, avx2, avx2, avx2, avx2, avx2, avx512
...

A .NET 9 ILC instead prints:

The allowable values for the --instruction-set option are described in the table below.
...
x64: base, sse, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2, aes, bmi, bmi2, fma, lzcnt, pclmul, popcnt, avxvnni
...

Notice base and sse4.2 getting repeated.

I've not tried to narrow it down to a specific PR yet. Maybe @tannergooding could have some idea.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions