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

[topic-clang] Add LLVM RISC-V multi-libs #839

Merged
merged 9 commits into from
Nov 26, 2024

Commits on Nov 25, 2024

  1. llvm: Pull RISC-V multi-lib YAML support patch

    This commit pulls the LLVM patch that enables `multilib.yaml` support
    for the RISC-V architecture.
    
    Note that the hard-coded RISC-V multi-lib selection logic was
    unconditionally used prior to this patch.
    
    Signed-off-by: Stephanos Ioannidis <[email protected]>
    stephanosio committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    8881614 View commit details
    Browse the repository at this point in the history
  2. scripts: llvm: Add RV32I multi-libs

    This commit adds the following "common" RV32I multi-lib variants, based
    on the list of the GCC RV32I multi-libs (gcc/config/riscv/t-zephyr):
    
    rv32i_zicsr_zifencei/ilp32
    rv32im_zicsr_zifencei/ilp32
    rv32im_zicsr_zifencei_zba_zbb_zbc_zbs/ilp32
    rv32imac_zicsr_zifencei/ilp32
    rv32imafc_zicsr_zifencei/ilp32f
    rv32imfc_zicsr_zifencei/ilp32f
    rv32imafd_zicsr_zifencei/ilp32d
    rv32if_zicsr_zifencei/ilp32f
    
    Signed-off-by: Stephanos Ioannidis <[email protected]>
    stephanosio committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    e74cdb1 View commit details
    Browse the repository at this point in the history
  3. scripts: llvm: Add RV32E multi-libs

    This commit adds the following "common" RV32E multi-lib variants, based
    on the list of the GCC RV32E multi-libs (gcc/config/riscv/t-zephyr):
    
    rv32e_zicsr_zifencei/ilp32e
    rv32em_zicsr_zifencei/ilp32e
    rv32emc_zicsr_zifencei/ilp32e
    rv32emc_zicsr_zifencei_zba_zbb_zbc_zbs/ilp32e
    rv32emc_zicsr/ilp32e
    rv32emc_zicsr_zba_zbb_zbc_zbs/ilp32e
    
    Signed-off-by: Stephanos Ioannidis <[email protected]>
    stephanosio committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    0d4998b View commit details
    Browse the repository at this point in the history
  4. scripts: llvm: Add RV64I multi-libs

    This commit adds the following "common" RV64I multi-lib variants, based
    on the list of the GCC RV64I multi-libs (gcc/config/riscv/t-zephyr):
    
    rv64i_zicsr_zifencei/lp64
    rv64im_zicsr_zifencei/lp64
    rv64im_zicsr_zifencei_zba_zbb_zbc_zbs/lp64
    rv64imac_zicsr_zifencei/lp64
    rv64imac_zicsr_zifencei_zba_zbb_zbc_zbs/lp64
    rv64imafdc_zicsr_zifencei/lp64d
    rv64imafd_zicsr_zifencei/lp64d
    rv64imfc_zicsr_zifencei/lp64f
    rv64imfc_zicsr_zifencei_zba_zbb_zbc_zbs/lp64f
    
    Signed-off-by: Stephanos Ioannidis <[email protected]>
    stephanosio committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    e03ea96 View commit details
    Browse the repository at this point in the history
  5. scripts: llvm: Disable Picolibc FP exception and rounding tests

    LLVM compiler-rt does not currently support exceptions and rounding
    modes for computations on the types that are emulated in software.
    
    For more details, refer to the GitHub issue zephyrproject-rtos#838.
    
    Revert this commit when this issue is fixed in the compiler-rt.
    
    Signed-off-by: Stephanos Ioannidis <[email protected]>
    stephanosio committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    bd64a53 View commit details
    Browse the repository at this point in the history
  6. cmake: Add LLVM RISC-V target

    This commit updates the CMake target specification to handle the RISC-V
    architecture.
    
    Signed-off-by: Stephanos Ioannidis <[email protected]>
    stephanosio committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    8522036 View commit details
    Browse the repository at this point in the history
  7. scripts: llvm: Add RV32I multi-lib alternate mappings

    This commit adds the alternate RV32I multi-lib mappings, based on the
    list of the GCC RV32I multi-lib mappings (gcc/config/riscv/t-zephyr).
    
    Signed-off-by: Stephanos Ioannidis <[email protected]>
    stephanosio committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    8fec3d7 View commit details
    Browse the repository at this point in the history
  8. scripts: llvm: Add RV32E multi-lib alternate mappings

    This commit adds the alternate RV32E multi-lib mappings, based on the
    list of the GCC RV32E multi-lib mappings (gcc/config/riscv/t-zephyr).
    
    Signed-off-by: Stephanos Ioannidis <[email protected]>
    stephanosio committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    da17ae9 View commit details
    Browse the repository at this point in the history
  9. scripts: llvm: Add RV64I multi-lib alternate mappings

    This commit adds the alternate RV64I multi-lib mappings, based on the
    list of the GCC RV64I multi-lib mappings (gcc/config/riscv/t-zephyr).
    
    Signed-off-by: Stephanos Ioannidis <[email protected]>
    stephanosio committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    5c9c7d6 View commit details
    Browse the repository at this point in the history