More Stacksmith-specific instructions ported to C++.
Track Forge HEAD.