~lttng/urcu/trunk

  • Committer: Mathieu Desnoyers
  • Date: 2023-09-03 14:57:48 UTC
  • Revision ID: git-v1:cac31bf03005c1265ed11df29cf713f626f39c66
Tests: Add test for byte/short atomics on addresses which are not word-aligned

Add a unit test to catch architectures which do not allow byte and short
atomic operations on addresses which are not word aligned.

If an architecture supports byte and short atomic operations, it should
be valid to issue those operations on variables which are not
word-aligned, otherwise the architecture should not define
UATOMIC_HAS_ATOMIC_BYTE nor UATOMIC_HAS_ATOMIC_SHORT.

This should help identify architectures which mistakenly define
UATOMIC_HAS_ATOMIC_BYTE and UATOMIC_HAS_ATOMIC_SHORT.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I13d2f3be41749b018b39499106938b3746c419c1
Filename Latest Rev Last Changed Committer Comment Size
..
ae_cc_atomic_builtins.m4 1456 1 year ago Mathieu Desnoyers configure: Add --enable-compiler-atomic-builtins o 2.6 KB Diff Download File
ae_config_feature.m4 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 6.4 KB Diff Download File
ae_pprint.m4 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 6.9 KB Diff Download File
ax_append_compile_flags.m4 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 1.7 KB Diff Download File
ax_append_flag.m4 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 1.5 KB Diff Download File
ax_c___attribute__.m4 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 2.5 KB Diff Download File
ax_check_compile_flag.m4 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 2 KB Diff Download File
ax_cxx_compile_stdcxx.m4 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 21 KB Diff Download File
ax_pthread.m4 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 22.1 KB Diff Download File
ax_require_defined.m4 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 1.2 KB Diff Download File