Branch: Tag:

2001-07-24

2001-07-24 01:16:11 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

squeezed another percent or so out of the interpreter (I need to test this stuff on an athlon processor!)

Rev: src/code/README.txt:1.6
Rev: src/code/ia32.c:1.9
Rev: src/code/ia32.h:1.7
Rev: src/docode.c:1.126
Rev: src/docode.h:1.13
Rev: src/las.c:1.260
Rev: src/peep.c:1.64

5:   \*/   /**/   #include "global.h" - RCSID("$Id: docode.c,v 1.125 2001/07/02 07:02:45 hubbe Exp $"); + RCSID("$Id: docode.c,v 1.126 2001/07/24 01:16:10 hubbe Exp $");   #include "las.h"   #include "program.h"   #include "pike_types.h"
1907:    }   }    - void do_code_block(node *n) + INT32 do_code_block(node *n)   { -  +  INT32 ret;   #ifdef PIKE_DEBUG    if (current_stack_depth != -4711) fatal("Reentrance in do_code_block().\n");    current_stack_depth = 0;
1917:    init_bytecode();    label_no=1;    + #ifdef ALIGN_PIKE_FUNCTION_BEGINNINGS +  while( ( (((INT32) PC)+2) & (ALIGN_PIKE_JUMPS-1))) +  ins_byte(0); + #endif +  +  ret=PC;    emit1(F_BYTE,Pike_compiler->compiler_frame->max_number_of_locals);    emit1(F_BYTE,Pike_compiler->compiler_frame->num_args);    emit0(F_START_FUNCTION);
1955: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    current_stack_depth = -4711;   #endif +  return ret;   }      int docode(node *n)