Having to type PPC_GP (GPR ...) every time is a real drag. It would be nicer if we could just type, for example, r0 to refer to PPC_GP (GPR 0) without needing any extra faff. Similarly for r1, r2, etc.
We should add shorthand for the other PPC registers that would benefit from it as well (e.g., f0 as an abbreviation for PPC_FR (VSReg 0)).
Currently, lots of places in
macaw-ppc
refer to PowerPC general-purpose registers in an rather verbose way:Having to type
PPC_GP (GPR ...)
every time is a real drag. It would be nicer if we could just type, for example,r0
to refer toPPC_GP (GPR 0)
without needing any extra faff. Similarly forr1
,r2
, etc.We should add shorthand for the other PPC registers that would benefit from it as well (e.g.,
f0
as an abbreviation forPPC_FR (VSReg 0)
).This is the PowerPC equivalent of https://github.com/GaloisInc/macaw/issues/374.