Skip to content

Commit

Permalink
scripts: llvm: Disable Picolibc FP exception and rounding tests
Browse files Browse the repository at this point in the history
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 #838.

Revert this commit when this issue is fixed in the compiler-rt.

Signed-off-by: Stephanos Ioannidis <[email protected]>
  • Loading branch information
stephanosio committed Nov 25, 2024
1 parent b12b628 commit cfe1da4
Showing 1 changed file with 45 additions and 2 deletions.
47 changes: 45 additions & 2 deletions scripts/llvm/test-support/picolibc-test-wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
EXIT_CODE_SKIP = 77

disabled_tests = [
# compiler-rt does not properly set floating point exceptions for
# computations on types implemented in software
# compiler-rt does not properly support floating point exceptions and
# rounding modes for computations on types implemented in software
# https://github.com/picolibc/picolibc/pull/500
# https://github.com/zephyrproject-rtos/sdk-ng/issues/838
"picolibc_armv7m_soft_fpv4_sp_d16-build/test/math_errhandling",
"picolibc_armv7m_hard_fpv4_sp_d16-build/test/math_errhandling",
"picolibc_armv7r_hard_vfpv3xd-build/test/math_errhandling",
Expand All @@ -30,6 +31,48 @@
"picolibc_armv8.1m.main_hard_nofp_mve_exn_rtti-build/test/fenv",
"picolibc_armv8.1m.main_hard_nofp_mve_exn_rtti-build/test/math_errhandling",
"picolibc_armv8m.main_hard_fp_exn_rtti-build/test/math_errhandling",
"picolibc_rv32imafc_zicsr_zifencei_ilp32f-build/test/rounding-mode",
"picolibc_rv32imafc_zicsr_zifencei_ilp32f-build/test/math_errhandling",
"picolibc_rv32imafc_zicsr_zifencei_ilp32f-build/test/test-fma",
"picolibc_rv32imafc_zicsr_zifencei_ilp32f_exn_rtti-build/test/rounding-mode",
"picolibc_rv32imafc_zicsr_zifencei_ilp32f_exn_rtti-build/test/math_errhandling",
"picolibc_rv32imafc_zicsr_zifencei_ilp32f_exn_rtti-build/test/test-fma",
"picolibc_rv32imfc_zicsr_zifencei_ilp32f-build/test/rounding-mode",
"picolibc_rv32imfc_zicsr_zifencei_ilp32f-build/test/math_errhandling",
"picolibc_rv32imfc_zicsr_zifencei_ilp32f-build/test/test-fma",
"picolibc_rv32imfc_zicsr_zifencei_ilp32f_exn_rtti-build/test/rounding-mode",
"picolibc_rv32imfc_zicsr_zifencei_ilp32f_exn_rtti-build/test/math_errhandling",
"picolibc_rv32imfc_zicsr_zifencei_ilp32f_exn_rtti-build/test/test-fma",
"picolibc_rv32imafd_zicsr_zifencei_ilp32d-build/test/math_errhandling",
"picolibc_rv32imafd_zicsr_zifencei_ilp32d-build/test/test-fma",
"picolibc_rv32imafd_zicsr_zifencei_ilp32d_exn_rtti-build/test/math_errhandling",
"picolibc_rv32imafd_zicsr_zifencei_ilp32d_exn_rtti-build/test/test-fma",
"picolibc_rv32if_zicsr_zifencei_ilp32f-build/test/rounding-mode",
"picolibc_rv32if_zicsr_zifencei_ilp32f-build/test/math_errhandling",
"picolibc_rv32if_zicsr_zifencei_ilp32f-build/test/test-fma",
"picolibc_rv32if_zicsr_zifencei_ilp32f_exn_rtti-build/test/rounding-mode",
"picolibc_rv32if_zicsr_zifencei_ilp32f_exn_rtti-build/test/math_errhandling",
"picolibc_rv32if_zicsr_zifencei_ilp32f_exn_rtti-build/test/test-fma",
"picolibc_rv64imafdc_zicsr_zifencei_lp64d-build/test/math_errhandling",
"picolibc_rv64imafdc_zicsr_zifencei_lp64d-build/test/test-fma",
"picolibc_rv64imafdc_zicsr_zifencei_lp64d_exn_rtti-build/test/math_errhandling",
"picolibc_rv64imafdc_zicsr_zifencei_lp64d_exn_rtti-build/test/test-fma",
"picolibc_rv64imafd_zicsr_zifencei_lp64d-build/test/math_errhandling",
"picolibc_rv64imafd_zicsr_zifencei_lp64d-build/test/test-fma",
"picolibc_rv64imafd_zicsr_zifencei_lp64d_exn_rtti-build/test/math_errhandling",
"picolibc_rv64imafd_zicsr_zifencei_lp64d_exn_rtti-build/test/test-fma",
"picolibc_rv64imfc_zicsr_zifencei_lp64f-build/test/rounding-mode",
"picolibc_rv64imfc_zicsr_zifencei_lp64f-build/test/math_errhandling",
"picolibc_rv64imfc_zicsr_zifencei_lp64f-build/test/test-fma",
"picolibc_rv64imfc_zicsr_zifencei_lp64f_exn_rtti-build/test/rounding-mode",
"picolibc_rv64imfc_zicsr_zifencei_lp64f_exn_rtti-build/test/math_errhandling",
"picolibc_rv64imfc_zicsr_zifencei_lp64f_exn_rtti-build/test/test-fma",
"picolibc_rv64imfc_zicsr_zifencei_zba_zbb_zbc_zbs_lp64f-build/test/rounding-mode",
"picolibc_rv64imfc_zicsr_zifencei_zba_zbb_zbc_zbs_lp64f-build/test/math_errhandling",
"picolibc_rv64imfc_zicsr_zifencei_zba_zbb_zbc_zbs_lp64f-build/test/test-fma",
"picolibc_rv64imfc_zicsr_zifencei_zba_zbb_zbc_zbs_lp64f_exn_rtti-build/test/rounding-mode",
"picolibc_rv64imfc_zicsr_zifencei_zba_zbb_zbc_zbs_lp64f_exn_rtti-build/test/math_errhandling",
"picolibc_rv64imfc_zicsr_zifencei_zba_zbb_zbc_zbs_lp64f_exn_rtti-build/test/test-fma",
]


Expand Down

0 comments on commit cfe1da4

Please sign in to comment.