27 #include "precompiled.h"
47 cassert(
sizeof(
void*) ==
sizeof(intptr_t));
60 volatile intptr_t i1 = 1;
static const StatusDefinition cpuStatusDefinitions[]
intptr_t cpu_AtomicAdd(volatile intptr_t *location, intptr_t increment)
add a signed value to a variable without the possibility of interference from other threads/CPUs...
static void TestAtomicAdd()
#define ENSURE(expr)
ensure the expression <expr> evaluates to non-zero.
const Status CPU_UNKNOWN_OPCODE
const Status CPU_FEATURE_MISSING
bool cpu_CAS64(volatile i64 *location, i64 expected, i64 newValue)
#define STATUS_ADD_DEFINITIONS(definitions)
add a module's array of StatusDefinition to the list.
const Status CPU_UNKNOWN_VENDOR
#define cassert(expr)
Compile-time assertion.