Save and restore r31

db4
Slava Pestov 2008-12-16 02:06:53 -06:00
parent 425c70caa9
commit 00212bb626
1 changed files with 35 additions and 33 deletions

View File

@ -116,6 +116,7 @@ DEF(void,c_to_factor,(CELL quot)):
SAVE_INT(r26,13)
SAVE_INT(r27,14)
SAVE_INT(r28,15)
SAVE_INT(r31,16)
SAVE_FP(f14,20) /* save FPRs */
SAVE_FP(f15,22)
@ -163,7 +164,8 @@ DEF(void,c_to_factor,(CELL quot)):
RESTORE_FP(f15,22)
RESTORE_FP(f14,20) /* save FPRs */
RESTORE_INT(r28,15) /* restore GPRs */
RESTORE_INT(r31,16) /* restore GPRs */
RESTORE_INT(r28,15)
RESTORE_INT(r27,14)
RESTORE_INT(r26,13)
RESTORE_INT(r25,12)