]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Power PC Fix extraction of the L field for sync instruction
authorCarl Love <cel@us.ibm.com>
Tue, 9 Jun 2020 15:42:03 +0000 (10:42 -0500)
committerJulian Seward <jseward@acm.org>
Mon, 22 Jun 2020 07:43:57 +0000 (09:43 +0200)
commitcd0eb37e0a338ce9b3f4576db1598c799be5b5db
tree5b3145c32d727724c3a4efe069727964457a38e9
parentb35657ab54ed5f25d893f1e3f3777ecf78ee51a9
Power PC Fix extraction of the L field for sync instruction

The L field is currently a two bit[22:21] field in ISA 3.0. The size of the
L field has changed over time.

Currently the ISA 3.0 Valgrind sync instruction support code sets the
flag_L for the instruction L field to a five bit value that includes bits
that are marked reserved the sync instruction.  This patch fixes the issue for ISA 3.0
to only setting flag_L the specified two bits.

Valgrind bugzilla:   https://bugs.kde.org/show_bug.cgi?id=422677

(cherry picked from commit fb6f7abcbc92506d302fb18a2c5fc853d2929248)
VEX/priv/guest_ppc_toIR.c