Correctly implement x86 bt/btc/bts/btr insn.  Previous impl was wrong:

* Didn't handle correctly operands in memory, where arbitrary signed
  bit offsets are allowed.  Prior impl will trash the client's stack
  and give the wrong answer.

* Was done by a helper function and therefore could give spurious
  value errors.

Now the address computations are done in-line.

Old implementation is there, but unused and scheduled for demolition.

Test case to follow.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@73 a5019735-40e9-0310-863c-91ae7b9d1cf9
2 files changed