Go to the source code of this file.
Defines | |
#define | aabar() xcc_aabar() |
#define | albar() xcc_albar() |
#define | asbar() xcc_asbar() |
#define | atomic_read_char(loc) xcc_atomic_read_char(&(loc)) |
#define | atomic_read_double(loc) xcc_atomic_read_double(&(loc)) |
#define | atomic_read_float(loc) xcc_atomic_read_float(&(loc)) |
#define | atomic_read_int(loc) xcc_atomic_read_int(&(loc)) |
#define | atomic_read_long(loc) xcc_atomic_read_long(&(loc)) |
#define | atomic_read_long_long(loc) xcc_atomic_read_long_long(&(loc)) |
#define | atomic_read_ptr(loc) xcc_atomic_read_ptr(&(loc)) |
#define | atomic_read_short(loc) xcc_atomic_read_short(&(loc)) |
#define | atomic_read_volatile_char(loc) atomic_read_char(loc) |
#define | atomic_read_volatile_double(loc) atomic_read_double(loc) |
#define | atomic_read_volatile_float(loc) atomic_read_float(loc) |
#define | atomic_read_volatile_int(loc) atomic_read_int(loc) |
#define | atomic_read_volatile_long(loc) atomic_read_long(loc) |
#define | atomic_read_volatile_long_long(loc) atomic_read_long_long(loc) |
#define | atomic_read_volatile_ptr(loc) atomic_read_ptr(loc) |
#define | atomic_read_volatile_short(loc) atomic_read_short(loc) |
#define | atomic_swap(loc, v) xcc_atomic_swap(&(loc),(v)) |
#define | atomic_swap_char(loc, v) xcc_atomic_swap_char(&(loc),(v)) |
#define | atomic_swap_double(loc, v) xcc_atomic_swap_double(&(loc),(v)) |
#define | atomic_swap_float(loc, v) xcc_atomic_swap_float(&(loc),(v)) |
#define | atomic_swap_int(loc, v) xcc_atomic_swap_int(&(loc),(v)) |
#define | atomic_swap_long(loc, v) xcc_atomic_swap_long(&(loc),(v)) |
#define | atomic_swap_long_long(loc, v) xcc_atomic_swap_long_long(&(loc),(v)) |
#define | atomic_swap_ptr(loc, v) xcc_atomic_swap_ptr(&(loc),(v)) |
#define | atomic_swap_short(loc, v) xcc_atomic_swap_short(&(loc),(v)) |
#define | atomic_write_char(loc, v) xcc_atomic_write_char(&(loc),(v)) |
#define | atomic_write_double(loc, v) xcc_atomic_write_double(&(loc),(v)) |
#define | atomic_write_float(loc, v) xcc_atomic_write_float(&(loc),(v)) |
#define | atomic_write_int(loc, v) xcc_atomic_write_int(&(loc),(v)) |
#define | atomic_write_long(loc, v) xcc_atomic_write_long(&(loc),(v)) |
#define | atomic_write_long_long(loc, v) xcc_atomic_write_long_long(&(loc),(v)) |
#define | atomic_write_ptr(loc, v) xcc_atomic_write_ptr(&(loc),(v)) |
#define | atomic_write_short(loc, v) xcc_atomic_write_short(&(loc),(v)) |
#define | atomic_write_volatile_char(loc, v) atomic_write_char((loc), (v)) |
#define | atomic_write_volatile_double(loc, v) atomic_write_double((loc), (v)) |
#define | atomic_write_volatile_float(loc, v) atomic_write_float((loc), (v)) |
#define | atomic_write_volatile_int(loc, v) atomic_write_int((loc), (v)) |
#define | atomic_write_volatile_long(loc, v) atomic_write_long((loc), (v)) |
#define | atomic_write_volatile_long_long(loc, v) atomic_write_long_long((loc), (v)) |
#define | atomic_write_volatile_ptr(loc, v) atomic_write_ptr((loc), (v)) |
#define | atomic_write_volatile_short(loc, v) atomic_write_short((loc), (v)) |
#define | cas_char(loc, ov, nv) xcc_cas_char(&(loc),(ov),(nv)) |
#define | cas_double(loc, ov, nv) xcc_cas_double(&(loc),(ov),(nv)) |
#define | cas_float(loc, ov, nv) xcc_cas_float(&(loc),(ov),(nv)) |
#define | cas_int(loc, ov, nv) xcc_cas_int(&(loc),(ov),(nv)) |
#define | cas_long(loc, ov, nv) xcc_cas_long(&(loc),(ov),(nv)) |
#define | cas_long_long(loc, ov, nv) xcc_cas_long_long(&(loc),(ov),(nv)) |
#define | cas_ptr(loc, ov, nv) xcc_cas_ptr(&(loc),(ov),(nv)) |
#define | cas_short(loc, ov, nv) xcc_cas_short(&(loc),(ov),(nv)) |
#define | finish_access_before_read() xcc_finish_access_before_read() |
#define | finish_access_before_unlock() xcc_finish_access_before_unlock() |
#define | finish_access_before_write() xcc_finish_access_before_write() |
#define | finish_read_before_read() xcc_finish_read_before_read() |
#define | finish_read_before_unlock() xcc_finish_read_before_unlock() |
#define | finish_read_before_write() xcc_finish_read_before_write() |
#define | finish_write_before_read() xcc_finish_write_before_read() |
#define | finish_write_before_unlock() xcc_finish_write_before_unlock() |
#define | finish_write_before_write() xcc_finish_write_before_write() |
#define | FORCE_TYPE(TP, x) ({ union { TP x1; typeof(x) x2; } _u ; _u.x2 = (x); _u.x1; }) |
#define | labar() xcc_labar() |
#define | llbar() xcc_llbar() |
#define | LOCK_INITIALIZER xcc_LOCK_INITIALIZER |
#define | lock_t xcc_lock_t |
#define | lsbar() xcc_lsbar() |
#define | read_volatile_char(loc) atomic_read_char(loc) |
#define | read_volatile_double(loc) atomic_read_double(loc) |
#define | read_volatile_float(loc) atomic_read_float(loc) |
#define | read_volatile_int(loc) atomic_read_int(loc) |
#define | read_volatile_long(loc) atomic_read_long(loc) |
#define | read_volatile_long_long(loc) atomic_read_long_long(loc) |
#define | read_volatile_ptr(loc) atomic_read_ptr(loc) |
#define | read_volatile_short(loc) atomic_read_short(loc) |
#define | release_lock(loc) xcc_release_lock(&(loc)) |
#define | release_rlock(loc) xcc_release_rlock(&(loc)) |
#define | release_wlock(loc) xcc_release_wlock(&(loc)) |
#define | RWLOCK_INITIALIZER xcc_RWLOCK_INITIALIZER |
#define | sabar() xcc_sabar() |
#define | slbar() xcc_slbar() |
#define | spin_lock(loc) xcc_spin_lock(&(loc)) |
#define | spin_rlock(loc) xcc_spin_rlock(&(loc)) |
#define | spin_wlock(loc) xcc_spin_wlock(&(loc)) |
#define | ssbar() xcc_ssbar() |
#define | start_access_after_lock() xcc_start_access_after_lock() |
#define | start_access_after_read() xcc_start_access_after_read() |
#define | start_access_after_write() xcc_start_access_after_write() |
#define | start_read_after_lock() xcc_start_read_after_lock() |
#define | start_read_after_read() xcc_start_read_after_read() |
#define | start_read_after_write() xcc_start_read_after_write() |
#define | start_write_after_lock() xcc_start_write_after_lock() |
#define | start_write_after_read() xcc_start_write_after_read() |
#define | start_write_after_write() xcc_start_write_after_write() |
#define | try_lock(loc) xcc_try_lock(&(loc)) |
#define | try_rlock(loc) xcc_try_rlock(&(loc)) |
#define | try_wlock(loc) xcc_try_wlock(&(loc)) |
#define | write_volatile_char(loc, v) atomic_write_char((loc), (v)) |
#define | write_volatile_double(loc, v) atomic_write_double((loc), (v)) |
#define | write_volatile_float(loc, v) atomic_write_float((loc), (v)) |
#define | write_volatile_int(loc, v) atomic_write_int((loc), (v)) |
#define | write_volatile_long(loc, v) atomic_write_long((loc), (v)) |
#define | write_volatile_long_long(loc, v) atomic_write_long_long((loc), (v)) |
#define | write_volatile_ptr(loc, v) atomic_write_ptr((loc), (v)) |
#define | write_volatile_short(loc, v) atomic_write_short((loc), (v)) |
#define | XCC_ASSERT(cond, msg) ({char msg[(cond)?1:(-1)]; 0;}) |
Typedefs | |
typedef int xcc_DItype | __attribute__ ((mode(DI))) |
#define atomic_read_char | ( | loc | ) | xcc_atomic_read_char(&(loc)) |
#define atomic_read_double | ( | loc | ) | xcc_atomic_read_double(&(loc)) |
#define atomic_read_float | ( | loc | ) | xcc_atomic_read_float(&(loc)) |
#define atomic_read_int | ( | loc | ) | xcc_atomic_read_int(&(loc)) |
#define atomic_read_long | ( | loc | ) | xcc_atomic_read_long(&(loc)) |
#define atomic_read_long_long | ( | loc | ) | xcc_atomic_read_long_long(&(loc)) |
#define atomic_read_ptr | ( | loc | ) | xcc_atomic_read_ptr(&(loc)) |
#define atomic_read_short | ( | loc | ) | xcc_atomic_read_short(&(loc)) |
#define atomic_read_volatile_char | ( | loc | ) | atomic_read_char(loc) |
#define atomic_read_volatile_double | ( | loc | ) | atomic_read_double(loc) |
#define atomic_read_volatile_float | ( | loc | ) | atomic_read_float(loc) |
#define atomic_read_volatile_int | ( | loc | ) | atomic_read_int(loc) |
#define atomic_read_volatile_long | ( | loc | ) | atomic_read_long(loc) |
#define atomic_read_volatile_long_long | ( | loc | ) | atomic_read_long_long(loc) |
#define atomic_read_volatile_ptr | ( | loc | ) | atomic_read_ptr(loc) |
#define atomic_read_volatile_short | ( | loc | ) | atomic_read_short(loc) |
#define atomic_swap | ( | loc, | |
v | |||
) | xcc_atomic_swap(&(loc),(v)) |
#define atomic_swap_char | ( | loc, | |
v | |||
) | xcc_atomic_swap_char(&(loc),(v)) |
#define atomic_swap_double | ( | loc, | |
v | |||
) | xcc_atomic_swap_double(&(loc),(v)) |
#define atomic_swap_float | ( | loc, | |
v | |||
) | xcc_atomic_swap_float(&(loc),(v)) |
#define atomic_swap_int | ( | loc, | |
v | |||
) | xcc_atomic_swap_int(&(loc),(v)) |
#define atomic_swap_long | ( | loc, | |
v | |||
) | xcc_atomic_swap_long(&(loc),(v)) |
#define atomic_swap_long_long | ( | loc, | |
v | |||
) | xcc_atomic_swap_long_long(&(loc),(v)) |
#define atomic_swap_ptr | ( | loc, | |
v | |||
) | xcc_atomic_swap_ptr(&(loc),(v)) |
#define atomic_swap_short | ( | loc, | |
v | |||
) | xcc_atomic_swap_short(&(loc),(v)) |
#define atomic_write_char | ( | loc, | |
v | |||
) | xcc_atomic_write_char(&(loc),(v)) |
#define atomic_write_double | ( | loc, | |
v | |||
) | xcc_atomic_write_double(&(loc),(v)) |
#define atomic_write_float | ( | loc, | |
v | |||
) | xcc_atomic_write_float(&(loc),(v)) |
#define atomic_write_int | ( | loc, | |
v | |||
) | xcc_atomic_write_int(&(loc),(v)) |
#define atomic_write_long | ( | loc, | |
v | |||
) | xcc_atomic_write_long(&(loc),(v)) |
#define atomic_write_long_long | ( | loc, | |
v | |||
) | xcc_atomic_write_long_long(&(loc),(v)) |
#define atomic_write_ptr | ( | loc, | |
v | |||
) | xcc_atomic_write_ptr(&(loc),(v)) |
#define atomic_write_short | ( | loc, | |
v | |||
) | xcc_atomic_write_short(&(loc),(v)) |
#define atomic_write_volatile_char | ( | loc, | |
v | |||
) | atomic_write_char((loc), (v)) |
#define atomic_write_volatile_double | ( | loc, | |
v | |||
) | atomic_write_double((loc), (v)) |
#define atomic_write_volatile_float | ( | loc, | |
v | |||
) | atomic_write_float((loc), (v)) |
#define atomic_write_volatile_int | ( | loc, | |
v | |||
) | atomic_write_int((loc), (v)) |
#define atomic_write_volatile_long | ( | loc, | |
v | |||
) | atomic_write_long((loc), (v)) |
#define atomic_write_volatile_long_long | ( | loc, | |
v | |||
) | atomic_write_long_long((loc), (v)) |
#define atomic_write_volatile_ptr | ( | loc, | |
v | |||
) | atomic_write_ptr((loc), (v)) |
#define atomic_write_volatile_short | ( | loc, | |
v | |||
) | atomic_write_short((loc), (v)) |
#define cas_char | ( | loc, | |
ov, | |||
nv | |||
) | xcc_cas_char(&(loc),(ov),(nv)) |
#define cas_double | ( | loc, | |
ov, | |||
nv | |||
) | xcc_cas_double(&(loc),(ov),(nv)) |
#define cas_float | ( | loc, | |
ov, | |||
nv | |||
) | xcc_cas_float(&(loc),(ov),(nv)) |
#define cas_int | ( | loc, | |
ov, | |||
nv | |||
) | xcc_cas_int(&(loc),(ov),(nv)) |
#define cas_long | ( | loc, | |
ov, | |||
nv | |||
) | xcc_cas_long(&(loc),(ov),(nv)) |
#define cas_long_long | ( | loc, | |
ov, | |||
nv | |||
) | xcc_cas_long_long(&(loc),(ov),(nv)) |
#define cas_ptr | ( | loc, | |
ov, | |||
nv | |||
) | xcc_cas_ptr(&(loc),(ov),(nv)) |
#define cas_short | ( | loc, | |
ov, | |||
nv | |||
) | xcc_cas_short(&(loc),(ov),(nv)) |
#define finish_access_before_read | ( | ) | xcc_finish_access_before_read() |
#define finish_access_before_unlock | ( | ) | xcc_finish_access_before_unlock() |
#define finish_access_before_write | ( | ) | xcc_finish_access_before_write() |
#define finish_read_before_read | ( | ) | xcc_finish_read_before_read() |
#define finish_read_before_unlock | ( | ) | xcc_finish_read_before_unlock() |
#define finish_read_before_write | ( | ) | xcc_finish_read_before_write() |
#define finish_write_before_read | ( | ) | xcc_finish_write_before_read() |
#define finish_write_before_unlock | ( | ) | xcc_finish_write_before_unlock() |
#define finish_write_before_write | ( | ) | xcc_finish_write_before_write() |
#define FORCE_TYPE | ( | TP, | |
x | |||
) | ({ union { TP x1; typeof(x) x2; } _u ; _u.x2 = (x); _u.x1; }) |
#define LOCK_INITIALIZER xcc_LOCK_INITIALIZER |
#define read_volatile_char | ( | loc | ) | atomic_read_char(loc) |
#define read_volatile_double | ( | loc | ) | atomic_read_double(loc) |
#define read_volatile_float | ( | loc | ) | atomic_read_float(loc) |
#define read_volatile_int | ( | loc | ) | atomic_read_int(loc) |
#define read_volatile_long | ( | loc | ) | atomic_read_long(loc) |
#define read_volatile_long_long | ( | loc | ) | atomic_read_long_long(loc) |
#define read_volatile_ptr | ( | loc | ) | atomic_read_ptr(loc) |
#define read_volatile_short | ( | loc | ) | atomic_read_short(loc) |
#define release_lock | ( | loc | ) | xcc_release_lock(&(loc)) |
#define release_rlock | ( | loc | ) | xcc_release_rlock(&(loc)) |
#define release_wlock | ( | loc | ) | xcc_release_wlock(&(loc)) |
#define RWLOCK_INITIALIZER xcc_RWLOCK_INITIALIZER |
#define spin_rlock | ( | loc | ) | xcc_spin_rlock(&(loc)) |
#define spin_wlock | ( | loc | ) | xcc_spin_wlock(&(loc)) |
#define start_access_after_lock | ( | ) | xcc_start_access_after_lock() |
#define start_access_after_read | ( | ) | xcc_start_access_after_read() |
#define start_access_after_write | ( | ) | xcc_start_access_after_write() |
#define start_read_after_lock | ( | ) | xcc_start_read_after_lock() |
#define start_read_after_read | ( | ) | xcc_start_read_after_read() |
#define start_read_after_write | ( | ) | xcc_start_read_after_write() |
#define start_write_after_lock | ( | ) | xcc_start_write_after_lock() |
#define start_write_after_read | ( | ) | xcc_start_write_after_read() |
#define start_write_after_write | ( | ) | xcc_start_write_after_write() |
#define write_volatile_char | ( | loc, | |
v | |||
) | atomic_write_char((loc), (v)) |
#define write_volatile_double | ( | loc, | |
v | |||
) | atomic_write_double((loc), (v)) |
#define write_volatile_float | ( | loc, | |
v | |||
) | atomic_write_float((loc), (v)) |
#define write_volatile_int | ( | loc, | |
v | |||
) | atomic_write_int((loc), (v)) |
#define write_volatile_long | ( | loc, | |
v | |||
) | atomic_write_long((loc), (v)) |
#define write_volatile_long_long | ( | loc, | |
v | |||
) | atomic_write_long_long((loc), (v)) |
#define write_volatile_ptr | ( | loc, | |
v | |||
) | atomic_write_ptr((loc), (v)) |
#define write_volatile_short | ( | loc, | |
v | |||
) | atomic_write_short((loc), (v)) |
#define XCC_ASSERT | ( | cond, | |
msg | |||
) | ({char msg[(cond)?1:(-1)]; 0;}) |
typedef float xcc_DFtype __attribute__((mode(DF))) |