fixes issue 1059

Fix decode table error: plain OP_pinsrw does not require VEX.
Add a test case to ir.c for that encoding of OP_pinsrw.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1833 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 1060

Resolve OPSZ_N_regN for memory args during encoding size checks.

Added tests for variants of OP_pextrb, OP_pextrw, OP_pinsrw,
OP_pslld, OP_psllq, OP_psllw, OP_psrad, OP_psraw, OP_psrld,
OP_psrlq, OP_psrlw, OP_vpextrb, and OP_vpextrw.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1834 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
Fixed issue that CLIENT_${var} is clobbered in configure_DynamoRIO_global

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1835 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
Add WOW64 version of load_syms for use with 64-bit windbg on a 32-bit process

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1836 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#979 x64 dbghelp, part 1: support for loading 64-bit libraries

Add new API routines to load, look up exports, and invoke x64 library
routines from WOW64 32-bit code:

+ Added dr_load_aux_x64_library(), dr_lookup_aux_x64_library_routine(),
  dr_unload_aux_x64_library(), and dr_invoke_x64_routine().
  They use 64-bit library and routine types but internally
  they're just truncated (until i#1035).
+ Moved load_library_64() and free_library_64() from pre_inject.c to
  module_shared.c.  Moved the helper routines switch_modes_and_load() and
  switch_modes_and_call() from pre_inject_asm.asm to x86.asm.
+ Modeled dr_invoke_x64_routine() after switch_modes_and_call().  It
  takes in a parameter count and copies parameters to the x64 stack
  and registers.
+ Added WOW64 state preservation, as the WOW64 layer assumes nobody
  touches the x64 registers in between system calls.

While part 2 (drsyms x64 support) is being abandoned, and these base
routines have a lot of limitations and caveats, they could be useful, in
particular dr_invoke_x64_routine() for future mixed-mode projects.

Tested on drsyms changes that will likely not be checked in.  Ideally we'll
add some regression tests at some point.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1837 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6