Skip to content

Consider refactoring the x86 hwintrinsic flags #9854

Description

@tannergooding

Many of the x86 Hardware Intrinsic flags have negative naming conventions, such as: NoContainment, NoJumpTableIMM, and NoRMWSemantics.

We should consider refactoring these into the positive case so that the resulting code is easier to read.

Having helper functions (https://github.com/dotnet/coreclr/issues/16594) may be another way to keep the code more readable without also having to reverse the flags to match the common case (positive), rather than the uncommon case (negative).

category:implementation
theme:hardware-intrinsics
skill-level:intermediate
cost:small

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions