Compiler Helpers

LOAD

LOAD (v)

force volatile load

Parameters

v

variable to load

Description

Force a volatile load, detering the compiler from doing a range of optimizations.

Return

The value of the variable.

LOAD_PTR

LOAD_PTR (ptr)

force a volatile load

Parameters

ptr

pointer to variable to load

Description

Force a volatile load, detering the compiler from doing a range of optimizations.

Return

the value of the pointed to variable.

STORE

STORE (v, val)

force volatile store

Parameters

v

variable to store into

val

value to store into v

Description

Force a volatile store, detering the compiler from doing a range of optimizations.

STORE_PTR

STORE_PTR (ptr, val)

force a volatile store

Parameters

ptr

pointer to variable to store into

val

value to store into variable pointed to by ptr

Description

Force a volatile store, detering the compiler from doing a range of optimizations.