Fix bugs with tbnz/tbz instructions.
authorJim Wilson <jim.wilson@linaro.org>
Sun, 4 Dec 2016 01:29:44 +0000 (17:29 -0800)
committerJim Wilson <jim.wilson@linaro.org>
Sun, 4 Dec 2016 01:29:44 +0000 (17:29 -0800)
commit668650d58d61d9d170f3e5b5c1657ed1c3e2b34b
treeef3a1267d747b322ada68357c9c88ce918146c59
parent4132f1c0dfe6bb8984c0dd521388ba6b7b32a4af
Fix bugs with tbnz/tbz instructions.

sim/aarch64
* simulator.c (tbnz, tbz): Cast 1 to uint64_t before shifting.
(dexTestBranchImmediate): Shift high bit of pos by 5 not 4.
sim/aarch64/ChangeLog
sim/aarch64/simulator.c