Compute stack addresses for CMPs.