Fwd: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.h zend_exceptions.c zend_execute.c zend_execute.h zend_execute_API.c zend_opcode.c zend_vm.h
zend_vm_handlers.h zend_vm_spec.h

From: Date: Thu, 09 Sep 2004 06:26:21 +0000
Subject: Fwd: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.h zend_exceptions.c zend_execute.c zend_execute.h zend_execute_API.c zend_opcode.c zend_vm.h
zend_vm_handlers.h zend_vm_spec.h
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-12658@lists.php.net to get a copy of this message
this is actually a relevant discussion for internals... ---------- Forwarded message ---------- From: Sterling Hughes <sterling.hughes@gmail.com> Date: Wed, 8 Sep 2004 23:26:00 -0700 Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.h zend_exceptions.c zend_execute.c zend_execute.h zend_execute_API.c zend_opcode.c zend_vm.h zend_vm_handlers.h zend_vm_spec.h To: Andi Gutmans <andi@php.net> Cc: zend-engine-cvs@lists.php.net > > Added files: > /ZendEngine2 zend_vm.h zend_vm_handlers.h zend_vm_spec.h > > Modified files: > /ZendEngine2 zend_compile.h zend_exceptions.c zend_execute.c > zend_execute.h zend_execute_API.c zend_opcode.c > Log: > - Some architectural changes: > a) We specialize opcodes according to op_type fields. Each opcode has to > be marked with which op_type's it uses. > b) We support different execution methods. Function handlers, switch() > and goto dispatching. goto seems to be the fastest but it really > depends on the compiler and how well it optimizes. I suggest playing > around with optimization flags. > > - Warning: Things might break so keep us posted on how things are going. > (Dmitry, Andi) How could someone like the APC optimizer now hook into this system and add a new instruction without modifying the executor? -Sterling

« previous php.internals (#12658) next »