Skip to content

RFC: renumber Arm targets + Apple feature detection #2076

@jan-wassenberg

Description

@jan-wassenberg

FYI we are working on supporting dynamic dispatch with Clang on Arm. As part of this, we may insert another NEON target using some of the optional features (fp16, bf16, dot, perhaps fp16fml - please let us know if you'd like to use/target others).

We'd want this target to be used if it's available, but it should not take precedence over any SVE targets. To enable that, we'd have to renumber the Arm targets. This could cause breakage for a project that uses the combination of:

  • GCC on aarch64
  • dynamic dispatch via foreach_target.h
  • precompiled shared libraries or objects, which are not compiled fresh during a build.

This seems sufficiently unlikely, but please let us know within say a week if you have any concerns.

For concreteness, the plan is to insert 2 targets below HWY_NEON, 3 below HWY_SVE2, and that leaves 4 below HWY_SVE2_128.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions