This intrinsic returns the value of the stack pointer at the current point in your program.
To use this intrinsic, your source file must contain
#include <arm_compat.h>. This is only available for targets in AArch32 state.
unsigned int __current_sp(void)
__current_sp intrinsic returns the current value of the stack pointer
at the point in the program where the intrinsic is used.