Created by: fhahn
This patch adds generic helper functions for insert_{push, pop}_all_registers, that can be used to push all GPRs or SIMD registers to memory, taking reg_skip into account.
The intention behind adding this function is to reduce code duplication. It can also be used to save/restore GPRs for clean call inlining and in core/arch/aarch64/emit_utils.c. I'll create separate pull requests for those changes.