Query
Thursday 04 December 2014
2014-12-04 21:27:17 (9 years ago) by Per Hedbor <ph@opera.com>
- pike/src/code/amd64.c (+70/-8)(78 lines)
- pike/src/docode.c (+44/-21)(65 lines)
- pike/src/interpret_functions.h (+45/-3)(48 lines)
branch: bill/master_archive_support
Added a few more global variable opcodes.
Gotta catch em all!
This time:
PRIVATE_IF_DIRECT_GLOBAL and ASSIGN_PRIVATE_IF_DIRECT_GLOBAL
These will fetch or assign a global variable if the currently
executing program is the program the object is cloned from.
These are only slightly slower than the F_PRIVATE_GLOBAL family of
opcodes, and the overhead if the global is not actually private is
minimal.
Missing: [ASSIGN_]PRIVATE_IF_DIRECT_TYPED_GLOBAL[_AND_POP] and
ASSIGN_PRIVATE_IF_DIRECT_GLOBAL_AND_POP.
- pike/src/code/amd64.c (+87/-0)(87 lines)
- pike/src/docode.c (+8/-4)(12 lines)
- pike/src/interpret_functions.h (+25/-1)(26 lines)
branch: bill/master_archive_support
Added F_ASSIGN_PRIVATE_TYPED_GLOBAL[_AND_POP].
This completes the suite of private global opcodes.
Saturday 16 August 2014
2014-08-16 23:45:10 (9 years ago) by Per Hedbor <ph@opera.com>
- pike/src/code/amd64.c (+70/-8)(78 lines)
- pike/src/docode.c (+44/-21)(65 lines)
- pike/src/interpret_functions.h (+45/-3)(48 lines)
branch: 8.0
Added a few more global variable opcodes.
Gotta catch em all!
This time:
PRIVATE_IF_DIRECT_GLOBAL and ASSIGN_PRIVATE_IF_DIRECT_GLOBAL
These will fetch or assign a global variable if the currently
executing program is the program the object is cloned from.
These are only slightly slower than the F_PRIVATE_GLOBAL family of
opcodes, and the overhead if the global is not actually private is
minimal.
Missing: [ASSIGN_]PRIVATE_IF_DIRECT_TYPED_GLOBAL[_AND_POP] and
ASSIGN_PRIVATE_IF_DIRECT_GLOBAL_AND_POP.
Thursday 14 August 2014
2014-08-14 15:36:53 (9 years ago) by Per Hedbor <ph@opera.com>
- pike/src/code/amd64.c (+87/-0)(87 lines)
- pike/src/docode.c (+8/-4)(12 lines)
- pike/src/interpret_functions.h (+25/-1)(26 lines)
branch: 8.0
Added F_ASSIGN_PRIVATE_TYPED_GLOBAL[_AND_POP].
This completes the suite of private global opcodes.
Friday 22 June 2012
2012-06-22 11:12:41 (1 decade ago) by Per Hedbor <ph@opera.com>
- pike/src/code/amd64.c (+129/-29)(158 lines)
branch: 7.9
[compiler][amd64] Real mov16 and mov8 added.
Using the movzx instruction, this is for unsigned numbers. Versions
using movsz is needed if signed numbers are to be used.
Inlined a few more opcodes. Fixed branch when (non) zero and branch
when local to correctly treat 0.0 as non-zero.
Fixed clearing of zero type in ADD_LOCAL_INT[_and_pop] and
ADD_[NEG_]INT.