1
/*********************************************************************/
5
/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
7
/* Copyright 1996 Institut National de Recherche en Informatique et */
8
/* en Automatique. All rights reserved. This file is distributed */
9
/* under the terms of the Q Public License version 1.0. */
11
/*********************************************************************/
13
/* $Id: power-rhapsody.S 2553 1999-11-17 18:59:06Z xleroy $ */
15
/* Save and restore all callee-save registers */
16
/* GPR 14 at sp+16 ... GPR 31 at sp+84
17
FPR 14 at sp+92 ... FPR 31 at sp+228 */
19
#define Save_callee_save \
20
addic r11, r1, 16-4; \
58
#define Restore_callee_save \
59
addic r11, r1, 16-4; \
101
/* Allocate and link stack frame */
103
/* Save return address */
106
/* Save all callee-save registers */
108
/* Shuffle arguments */
114
/* Call the function */
116
/* Restore callee-save registers */
118
/* Reload return address */
127
/* Jump to C function (address in 11) */