nx_atomic_intrinsic_test.nx
buildroot/runtime/nx_atomic_intrinsic_test.nx
about
nx_atomic_intrinsic_test.nx -- exercise the __atomic_* compiler
builtins. Single-threaded smoke; SMP semantics get exercised by
nx_thread_pool integration tests once threads ship.
Each test isolates one builtin so a failure points at the exact
codegen path: load / store / cas / faa / fence.
dependencies 2 imports · 0 importers
imports: nx_kernel_v2.nxnx_log.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 16 | func t1_load_store_round_trip() -> i64 called by 1: main |
| 26 | func t2_cas_success() -> i64 called by 1: main |
| 36 | func t3_cas_failure_leaves_cell() -> i64 called by 1: main |
| 46 | func t4_faa_returns_prior() -> i64 called by 1: main |
| 59 | func t5_fence_compiles_and_runs() -> i64 called by 1: main |
| 68 | func t6_spinlock_via_cas() -> i64 called by 1: main |
| 82 | func main() -> nx_exit |