pike.git
/
src
/
code
/
sparc.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/code/sparc.c:1:
/* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: sparc.c,v 1.
18
2002/11/06 16:
36
:
02
grubba Exp $
+
|| $Id: sparc.c,v 1.
19
2002/11/06 16:
41
:
49
grubba Exp $
*/ /* * Machine code generator for sparc. * * Henrik Grubbström 20010720 */ #include "operators.h"
pike.git/src/code/sparc.c:167:
/* * Allocate a stack frame. * * Note that the prologue size must be constant. */ void sparc_ins_entry(void) { /* save %sp, -112, %sp */ add_to_program(0x81e02000|(SPARC_REG_SP<<25)| (SPARC_REG_SP<<14)|((-112)&0x1fff));
+
FLUSH_CODE_GENERATOR_STATE();
} /* Update Pike_fp->pc */ void sparc_update_pc(void) { int tmp = PIKE_PC; if (sparc_codegen_state & SPARC_CODEGEN_PC_IS_SET) { INT32 diff = (tmp - sparc_last_pc) * sizeof(PIKE_OPCODE_T); if (diff) { if ((-4096 <= diff) && (diff < 4096)) {