Move r15 to reg_a0 (instead of reg_mem)

I think this does not make a difference at all in the code, since PC is
treated in a special way anyway (reloaded with an immediate when read
and treated as an indirect branch when written). However for the sake of
completeness I'm undoing what I did. (The comma fix stays :P)
This commit is contained in:
David Guillen Fandos 2021-02-10 02:53:26 +01:00
parent 7aaa280b9f
commit 2c6026cfe5

View file

@ -174,7 +174,7 @@ s32 arm_register_allocation[] =
reg_x4, /* GBA r12 */
mem_reg, /* GBA r13 */
reg_x5, /* GBA r14 */
mem_reg, /* GBA r15 */
reg_a0, /* GBA r15 */
mem_reg,
mem_reg,
@ -211,7 +211,7 @@ s32 thumb_register_allocation[] =
mem_reg, /* GBA r12 */
mem_reg, /* GBA r13 */
mem_reg, /* GBA r14 */
mem_reg, /* GBA r15 */
reg_a0, /* GBA r15 */
mem_reg,
mem_reg,