History log of /external/valgrind/none/tests/ppc64/test_tm.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5bd4f6d6531cfa8534d063e2a5adc43cbcd343e1 20-Jul-2015 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> Patch 4 and 5 of 7, improve PPC HW capabiltiy checking.

The patch was submitted by Will Schmidt (will_schmidt@vnet.ibm.com).

Patches 4 and 5 need to be applied together. Add convenience function
for processing hwcap entries. Add logic to check for HTM support in compiler.

Bugzilla 34979


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15423 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/none/tests/ppc64/test_tm.c
40fc342595f93fdaabe64b617c4e5b4a8a09eab2 02-Oct-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> The test case for the Transaction Memory instructions failes with older
compilers as the -mhtm flag is not known. The patch fixes the makefile
issue and addes #defines to the testcase code.

The testcase was added in valgrind commit 13607.

The bugzilla for adding the TM instruction support is 323803

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13608 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/none/tests/ppc64/test_tm.c
36b4a94f7f0fe9fe3e79986f7082bedd6ba6cb8c 02-Oct-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> IBM POWER PC, Add the Transactional Memory test case

The test case for the transaction memory instructions executes the
failure path when run under valgrind. This is since the initial
Transaction Memory implemnetation is to simply fail the TBEGIN instruction
forcing the execution flow to take the failure path. When the
test case is executed on the real hardware, the success path will
be taken. Only the TBEGIN instruction actually does anything. All other
transactional memory instructions are NOPs since only failure path is executed
and it assumed to not have any transactional memory instructions on it.

Signed-off-by: Carl Love <cel@us.ibm.com>

VEX commit revision 2780
Bugzilla 323803

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13607 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/none/tests/ppc64/test_tm.c