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

[1/n] add required extension support, BFloat16 #369

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jerryzj
Copy link
Collaborator

@jerryzj jerryzj commented Sep 24, 2024

  • This is the first PR of adding required extension of each intrinsic function support
  • There will be following PRs to add support for Float16 intrinsics and standard vector intrinsics

Signed-off-by: Jerry Zhang Jian [email protected]

- get_required_zve() is used to generate required Zve* extension

Signed-off-by: Jerry Zhang Jian <[email protected]>
- These utility functions aims to remove all the implied extensions

- remove_implied_zve: remove Zve extensions that will be implied by
other Zve extensions

- remove_implied_zvl: remove Zvl extensions that specify shorter VLENs

- remove_duplicated_zvknh: Zvknh[a|b] is supposed to be mutually
exclusive

Signed-off-by: Jerry Zhang Jian <[email protected]>
- The test header is inserted when inst_group_epilogue() is called to
ensure all the required extensions are properly emitted to the test
header

- Add post-process steps to remove all the implied extensions from the
required extension list

Signed-off-by: Jerry Zhang Jian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant