Branch: Tag:

2003-01-26

2003-01-26 15:29:23 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

one step closer to make 64-bit integers work:
added new instruction to push >32 bit integers on the stack: F_NUMBER64
(only used when 1) SIZEOF_INT_TYPE > 4 and 2) the number doesn't fit in a 32 bit integer)

Rev: src/docode.c:1.161
Rev: src/interpret_functions.h:1.129

2:   || 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: interpret_functions.h,v 1.128 2003/01/16 16:10:12 mast Exp $ + || $Id: interpret_functions.h,v 1.129 2003/01/26 15:29:23 mirar Exp $   */      /*
225:    push_int(arg1);   });    + #if SIZEOF_INT_TYPE > 4 + OPCODE2(F_NUMBER64, "push 64-bit int", 0, { +  push_int((((INT_TYPE)arg1)<<32)|((unsigned INT32)arg2)); + }); + #endif +    OPCODE1(F_NEG_NUMBER, "push -int", 0, {    push_int(-arg1);   });