]> git.ipfire.org Git - thirdparty/valgrind.git/commit
- x86 back end: change code generation convention, so that instead of
authorJulian Seward <jseward@acm.org>
Thu, 15 Dec 2005 14:02:34 +0000 (14:02 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 15 Dec 2005 14:02:34 +0000 (14:02 +0000)
commit1dd039af9a3a779450a1683c2eff95f47cd7ca0f
treedb2ade3345240e9fb0fc0f8b17bbfe2a5822dba3
parent60be81eec156cdba1cd99702123319b753e9c7b0
- x86 back end: change code generation convention, so that instead of
  dispatchers CALLing generated code which later RETs, dispatchers
  jump to generated code and it jumps back to the dispatcher.  This
  removes two memory references per translation run and by itself
  gives a measureable performance improvement on P4.  As a result,
  there is new plumbing so that the caller of LibVEX_Translate can
  supply the address of the dispatcher to jump back to.

  This probably breaks all other targets.  Do not update.

- Administrative cleanup: LibVEX_Translate has an excessive
  number of arguments.  Remove them all and instead add a struct
  by which the arguments are supplied.  Add further comments
  about the meaning of some fields.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1494
VEX/priv/host-x86/hdefs.c
VEX/priv/host-x86/hdefs.h
VEX/priv/main/vex_main.c
VEX/pub/libvex.h
VEX/test_main.c