Branch: Tag:

2001-07-17

2001-07-17 17:50:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some support for --with-machine-code on gcc/sparc.

Rev: src/interpret.c:1.223
Rev: src/interpret_functions.h:1.77
Rev: src/peep.c:1.57

1:   /* -  * $Id: interpret_functions.h,v 1.76 2001/07/16 19:48:57 hubbe Exp $ +  * $Id: interpret_functions.h,v 1.77 2001/07/17 17:50:38 grubba Exp $    *    * Opcode definitions for the interpreter.    */
223:      OPCODE0(F_FLOAT, "push float", {    /* FIXME, this opcode uses 'PROG_COUNTER' which is not allowed.. */ -  Pike_sp->type=PIKE_T_FLOAT; +     MEMCPY((void *)&Pike_sp->u.float_number, PROG_COUNTER, sizeof(FLOAT_TYPE));    PROG_COUNTER += DO_IF_ELSE_COMPUTED_GOTO(1, sizeof(FLOAT_TYPE));    FETCH; -  +  Pike_sp->type=PIKE_T_FLOAT;    Pike_sp++;   });   
1286:    DO_RETURN;   });    -  +    OPCODE0(F_RETURN_0,"return 0",{    push_int(0);    DO_RETURN;   });    -  +    OPCODE0(F_RETURN, "return", {    DO_RETURN;   });