]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Power PC, add the two privileged Transactional Memory instructions.
authorCarl Love <cel@us.ibm.com>
Wed, 9 Oct 2013 17:56:34 +0000 (17:56 +0000)
committerCarl Love <cel@us.ibm.com>
Wed, 9 Oct 2013 17:56:34 +0000 (17:56 +0000)
commit8044c5ce56571b1e43c60e507c8f1e699df8974a
tree851928e81e2f5624989d12df27aaf3f4009b83f8
parentf0b787e8bf6b6d87a51851df54e43d91537760e9
Power PC, add the two privileged Transactional Memory instructions.

The initial Transactional Memory instruction patch did not include the two
privileged (OS) instructions treclaim and trechkpt. VEX commit 2784 added
the support for these two instructions.

This patch adds a touch test to make sure all of the POWER Transactional
memory instrutions are recognized by Valgrind.  All of the the Transactional
Memory instructions, with the exception of tbegin, are treated as NOPs in the
first implementation.  The tbegin instruction causes the transaction to fail
thus no additional Transactional Memory instructions on the successful
transaction path would be executed in a real program.  This test just makes
sure each instruction is actually recognized by Valgrind.

The patch if for Bugzilla 325751.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13630
none/tests/ppc32/Makefile.am
none/tests/ppc32/test_touch_tm.stderr.exp [new file with mode: 0644]
none/tests/ppc32/test_touch_tm.stdout.exp [new file with mode: 0644]
none/tests/ppc32/test_touch_tm.vgtest [new file with mode: 0644]
none/tests/ppc64/Makefile.am
none/tests/ppc64/test_touch_tm.c [new file with mode: 0644]
none/tests/ppc64/test_touch_tm.stderr.exp [new file with mode: 0644]
none/tests/ppc64/test_touch_tm.stdout.exp [new file with mode: 0644]
none/tests/ppc64/test_touch_tm.vgtest [new file with mode: 0644]