GCC since version 4.1.0 and intel c++ compiler have special builtin for calling full hardware memory barrier:
__sync_synchronize().
GNU-GCC:
GCC since version 4.1.0 and intel c++ compiler have special builtin for calling full hardware memory barrier:
__sync_synchronize().
GNU-GCC: