zephyr/tests/kernel
Nicolas Pitre f00573555b Z_POW2_CEIL: simplify implementation
Avoid potentially calling __builtin_clz() twice with non-constant
values. Also add a test for it.

Clang produces false positive vla warnings so disable them. GCC will
spot real vla's already.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2022-06-16 10:28:15 +02:00
..
common Z_POW2_CEIL: simplify implementation 2022-06-16 10:28:15 +02:00
condvar/condvar_api tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
context tests: kernel: context: fix soc.h include policy 2022-06-05 14:48:40 +02:00
device tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
early_sleep tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
events tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
fatal tests/kernel/fatal: Work around historical API misuse 2022-05-20 12:34:30 +02:00
fifo tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
fpu_sharing tests: fpu_sharing: Fix the skipped testing on acrn_ehl_crb 2022-05-20 19:24:54 -07:00
gen_isr_table tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
interrupt tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
lifo tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mbox tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mem_heap linker: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
mem_protect tests: mem_protect/mem_map: enable userspace on qemu_x86_tiny 2022-06-13 12:12:42 +02:00
mem_slab tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mp tests: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
msgq tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
mutex tests: mutex: define testcases in yaml 2022-05-13 12:16:57 -04:00
obj_tracking Revert "tests/kernel/obj_tracking: Filter cAVS 2.5 builds to prevent DSP host hangs" 2022-01-26 10:09:19 -05:00
pending tests: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
pipe everywhere: fix typos 2022-03-18 13:24:08 -04:00
poll tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
profiling/profiling_api tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
queue tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
sched tests: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
semaphore tests: kernel: semaphore: fix mutual exclusion test issue 2022-05-17 11:45:16 +09:00
sleep tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
smp tests: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
smp_boot_delay tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
spinlock tests: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
stack/stack tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
threads kernel/sched: Panic on aborting essential threads 2022-05-20 12:34:30 +02:00
tickless/tickless_concept tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
timer tests/timer_api: Use correct 'abs' macro with correct type parameter 2022-06-14 01:50:36 +09:00
usage/thread_runtime_stats tests/kernel/usage/thread_runtime_stats: relax precision test for RISC-V 2022-06-13 13:21:16 -04:00
workq tests: kernel: workq: work: Fix potential race in the test 2022-05-20 12:37:18 +02:00
xip everywhere: fix typos 2022-03-18 13:24:08 -04:00