zephyr/tests/kernel/common/src
Daniel Leung e3704ccda3 tests: kernel/common: avoid using compiler builtin popcount
Not all arch has native support for __builtin_popcount() on
hardware and GCC falls back in using software only implementation.
However, with GCC 11, this is no longer included automatically
and requires linking explicitly with libgcc.a. This is not
trivial as it requires changes some linker magic and a sizable
change to most linker scripts. So opt for an easy solution
by implementing our own popcount in the test.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-07-22 07:24:11 -05:00
..
atomic.c test: atomic: multiple equal priority threads access atomic variable 2021-05-07 18:23:27 -04:00
bitarray.c tests: kernel/common: avoid using compiler builtin popcount 2021-07-22 07:24:11 -05:00
bitfield.c tests: Big endian support in bitfield test 2020-11-13 14:53:55 -08:00
boot_delay.c tests/kernel/common: Skip boot delay tests on systems that are too fast 2021-05-07 16:48:58 -04:00
byteorder.c tests: kernel: common: Add tests for 24-bit byteorder functions 2020-09-21 11:17:59 +02:00
clock.c test: context: Refine descriptions for some test cases 2020-11-17 22:11:45 -05:00
errno.c userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
irq_offload.c tests/kernel/common: Fix test test_nop for ARMV7_M_ARMV8_M_MAINLINE 2021-05-11 07:15:17 -05:00
main.c tests/kernel/common: Remove needless 1cpu limitation from test_clock_uptime 2021-05-17 15:27:37 -04:00
multilib.c
printk.c tests/kernel/common: Skip the printk test when not applicable 2021-02-03 20:56:14 -05:00
timeout_order.c tests: kernel/common: incorrect use of k_poll in timeout order 2021-05-25 07:34:59 -05:00