Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include SME attributes in the name mangling of types #358

Merged

Commits on Nov 26, 2024

  1. Include SME attributes in the name mangling of types

    This change extends the name mangling of types to include the SME streaming
    and ZA interface. This will avoid naming conflicts which can currently
    arise such as in the following example:
    
      void foo(void (*f)()) { f(); }
      void foo(void (*f)() __arm_streaming) { f(); }
    
    Without this change, both functions 'foo' above will mangle to the same
    name, despite the function pointers being different.
    kmclaughlin-arm committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    883f672 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60bbbce View commit details
    Browse the repository at this point in the history
  3. - Replace separate template arguments with one bitmask representing a…

    …ll attributes.
    
    - Include __arm_agnostic("sme_za_state") in the bitmask
    kmclaughlin-arm committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    2b5e58c View commit details
    Browse the repository at this point in the history
  4. - Use ACLE names of streaming & ZA properties.

    - Removed bits for ZA/ZT0 'inout', as this can be represented by
      setting both 'in' and 'out'.
    kmclaughlin-arm committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    b8cdee2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    42b4fee View commit details
    Browse the repository at this point in the history
  6. - Ensure 80 char line wrapping in the new changes.

    - Added default ZA & ZT0 states to the sme_state table.
    kmclaughlin-arm committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    8c888a3 View commit details
    Browse the repository at this point in the history