~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
..
doc 761 12 years ago Mathieu Desnoyers Move API.txt to doc/rcu-api.txt, install in system Diff
extras 1348 3 years ago Mathieu Desnoyers Add serialized ABI definition files This commit c Diff
include 1191 8 years ago Mathieu Desnoyers Cleanup: Re-organise source dir Re-organise the s Diff
LICENSES 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident Diff
m4 1142 8 years ago Mathieu Desnoyers Port: Fixes to build system for portability Move Diff
scripts 908 11 years ago Mathieu Desnoyers Add urcu-api-list.sh script Signed-off-by: Mathie Diff
src 1191 8 years ago Mathieu Desnoyers Cleanup: Re-organise source dir Re-organise the s Diff
tests 234 15 years ago Mathieu Desnoyers Move test programs to tests/ subdir Signed-off-by Diff
.gitignore 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 5.4 KB Diff Download File
.gitreview 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 205 bytes Diff Download File
File bootstrap 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 170 bytes Diff Download File
ChangeLog 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 42.7 KB Diff Download File
CodingStyle.md 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 436 bytes Diff Download File
configure.ac 1477 1 year ago Mathieu Desnoyers Complete removal of urcu-signal flavor This commi 12 KB Diff Download File
lgpl-relicensing.md 1444 1 year ago Mathieu Desnoyers Build system: use SPDX identifiers The SPDX ident 1.2 KB Diff Download File
LICENSE.md 1450 1 year ago Mathieu Desnoyers Complete REUSE support The SPDX identifiers [1] a 1.7 KB Diff Download File
Makefile.am 1450 1 year ago Mathieu Desnoyers Complete REUSE support The SPDX identifiers [1] a 901 bytes Diff Download File
README.md 1477 1 year ago Mathieu Desnoyers Complete removal of urcu-signal flavor This commi 16.1 KB Diff Download File