cat <<EOF
/**
 * ${class}${atomicname}() - atomic compare and exchange with ${desc_order} ordering
 * @v: pointer to ${atomic}_t
 * @old: ${int} value to compare with
 * @new: ${int} value to assign
 *
 * If (@v == @old), atomically updates @v to @new with ${desc_order} ordering.
 *
 * ${desc_noinstr}
 *
 * Return: The original value of @v.
 */
EOF