i#1621 AArch64: Add generic insert_push_or_pop_registers function. (#2343)
i#1621 AArch64: Add generic insert_push_or_pop_registers function. (#2343)

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.
AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio