zephyr/tests/benchmarks/app_kernel/testcase.yaml
Kumar Gala d31814e990 tests: Fix floating point test variants on x86 w/LLVM
LLVM doesn't support SSE + 387 math.  As such if SSE is enabled we
have to utilize SSE floating point.  To utilize 387 math, SSE has
to be disabled.

Update the floating point related tests to introduce 387 only variants
that will build on both GCC & LLVM based tools.  Than we exclude llvm
based (llvm, oneApi) toolchains from the CONFIG_X86_SSE_FP_MATH=n and
CONFIG_X86_SSE=y test variants.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-02-21 08:25:38 -05:00

38 lines
953 B
YAML

common:
tags: benchmark
timeout: 420
tests:
benchmark.kernel.application:
min_flash: 34
benchmark.kernel.application.fp:
extra_args: CONF_FILE=prj_fp.conf
extra_configs:
- arch:x86:CONFIG_X86_SSE=y
- arch:x86:CONFIG_X86_SSE_FP_MATH=n
arch_allow: x86 arm
filter: CONFIG_CPU_HAS_FPU or CONFIG_ARMV7_M_ARMV8_M_FP
min_flash: 34
min_ram: 32
slow: true
toolchain_exclude: llvm oneApi
benchmark.kernel.application.fp.x86.no_sse:
extra_args: CONF_FILE=prj_fp.conf
extra_configs:
- CONFIG_X86_SSE=n
- CONFIG_X86_SSE_FP_MATH=n
arch_allow: x86
filter: CONFIG_CPU_HAS_FPU
min_flash: 34
min_ram: 32
slow: true
benchmark.kernel.application.fp.x86.sse:
extra_args: CONF_FILE=prj_fp.conf
extra_configs:
- CONFIG_X86_SSE=y
- CONFIG_X86_SSE_FP_MATH=y
arch_allow: x86
filter: CONFIG_CPU_HAS_FPU
min_flash: 34
min_ram: 32
slow: true