Skip to content

Ensure that the Hardware Intrinsics feature is documented for 3.0 #1672

Closed as duplicate

Description

@tannergooding

We should ensure that the hardware intrinsics feature, namely the types in the System.Runtime.Intrinsics namespace, is properly documented for 3.0

At minimum, this likely requires some cleanup of the existing documentation comments (which largely just reference the underlying instruction and the corresponding native intrinsic) and we may want to consider linking to the "Intel Intrinsics Guide" (similarly to what the MSVC Intrinsics documentation does).

Activity

  1. added
    untriaged
    on Jan 22, 2019
  2. tannergooding commented on Jan 22, 2019

    @tannergooding
    MemberAuthor

    CC. @danmosemsft, @CarolEidt, @fiigii

  3. fiigii commented on Jan 22, 2019

    @fiigii

    we may want to consider linking to the "Intel Intrinsics Guide" (similarly to what the MSVC Intrinsics documentation does).

    Yes, that would be great. Shall we add the links in the XML comments of API source code? If yes, do you have an existing example?

  4. tannergooding commented on Jan 22, 2019

    @tannergooding
    MemberAuthor

    I believe that the link needs to be an aka.ms link so we can have it redirect if the URL ever changes. Otherwise, I believe we can just add it as needed.

  5. fiigii commented on Jan 22, 2019

    @fiigii

    I believe that the link needs to be an aka.ms link so we can have it redirect if the URL ever changes.

    I have contacted the team that is responsible for Intel Intrinsics Guide, and they said the URLs won't be changed in the future.

  6. ganchito55 commented on Apr 29, 2019

    @ganchito55

    IMHO at least a link to https://software.intel.com/sites/landingpage/IntrinsicsGuide/ should be added at the end/beginning of the documentation. However it would be good if each instruction had each own link.

  7. tannergooding commented on Apr 29, 2019

    @tannergooding
    MemberAuthor

    This is being worked on and I hope to have this resolved relatively soon.

  8. ganchito55 commented on Apr 30, 2019

    @ganchito55

    I have created an example of usage with a benchmark (SIMD vs classic implementation vs LINQ implementation) that maybe could help you to improve the documentation.
    https://github.com/ganchito55/simd

  9. added
    Pri3
    on Nov 11, 2020
  10. added this to the Backlog milestone on Aug 8, 2022
  11. ghost removed
    untriaged
    on Aug 8, 2022
  12. tannergooding commented on May 6, 2025

    @tannergooding
    MemberAuthor

    Duplicate of dotnet/runtime#81753

    This is a legal problem. The documentation for the instructions, including the relevant psuedo-code describing how they operate, is copyrighted by the respective companies (Intel for Intel's docs, AMD for AMD's docs, etc). Due to the scale, explicit permissions are required to reproduce such documentation in our own.

    There is then the additional consideration that our docs are normally creative commons, but this subset would likely not be, which adds its own complications to the process.

    The current documentation does what we can and gives enough information for developers to refer to the architecture specific instruction manuals or documentation for more information on behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3area-System.Runtime.Intrinsics

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions