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

Commits on Sep 23, 2024

  1. enum: sort the required extensions after append new extensions

    Signed-off-by: Jerry Zhang Jian <[email protected]>
    jerryzj committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    f79d4a7 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. utils: implement get_required_zve

    - get_required_zve() is used to generate required Zve* extension
    
    Signed-off-by: Jerry Zhang Jian <[email protected]>
    jerryzj committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    b9cfbba View commit details
    Browse the repository at this point in the history
  2. utils: implement remove redundant extension functions

    - 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]>
    jerryzj committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    62f01f7 View commit details
    Browse the repository at this point in the history
  3. bfloat16_inst: add required bfloat16 extensions

    Signed-off-by: Jerry Zhang Jian <[email protected]>
    jerryzj committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    51b065a View commit details
    Browse the repository at this point in the history
  4. template: add required Zve extension

    Signed-off-by: Jerry Zhang Jian <[email protected]>
    jerryzj committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    a73a431 View commit details
    Browse the repository at this point in the history
  5. generator: rework LLVM API test header generation

    - 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]>
    jerryzj committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    71c575d View commit details
    Browse the repository at this point in the history
  6. [Auto-gen] Update bfloat16 tests under ../auto-generated. (make git-c…

    …ommit-autogen-bf16-test)
    jerryzj committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    33acfb1 View commit details
    Browse the repository at this point in the history