History log of /external/valgrind/memcheck/tests/sh-mem.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
06bc722457ffe12e056d2f40d0d2f5c8711b541f 02-Oct-2013 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Silence clang warnings about uninitialised and unused values in
memcheck testcases.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13599 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/memcheck/tests/sh-mem.c
a5aad63bc3be1f04fe6d4541b5ed1ba5465f9ef0 23-Apr-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Whitespace changes only -- no functional change.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13377 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/memcheck/tests/sh-mem.c
575ce8ef8fa86a502dabe152293320676922dcfe 15-May-2011 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Get rid of the remaining "set but not used" warnings reported by gcc 4.6 by
swapping the roles of the VALGRIND_DO_CLIENT_REQUEST() and
VALGRIND_DO_CLIENT_REQUEST_EXPR() macros. Also, many __attribute__((unused))
declarations on variables have been eliminated. Closes #269778.

Note: so far this patch has been tested on x86/Linux, amd64/Linux and
ppc64/Linux but not yet on any other supported CPU/OS combination.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11755 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/memcheck/tests/sh-mem.c
2f3bcd2d524670e18b8b017eaadab1eaafb9724f 12-Dec-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Minor tidying for regtests on AIX.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6395 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/memcheck/tests/sh-mem.c
3024d0355a3e0702c5c95338e9e6f91e4734396c 26-May-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Sigh .. now fix for 32-bit targets.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5936 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/memcheck/tests/sh-mem.c
3cbed8c91f462b761cdf57410add39593bc30724 26-May-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix gcc pedantry on 64-bit platforms


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5934 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/memcheck/tests/sh-mem.c
2229db006c45804658439ebfc2d2a896771cbef3 02-Apr-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> In check_all, allow two different acceptable byte values, so as to
cover the behaviour of all possible variants of float loads/stores.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5809 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/memcheck/tests/sh-mem.c
b2963ad8d4a11e8a26dda2e180b7e1ab2f773e71 02-Apr-2006 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Partial fix for the sh-mem.c failure on PPC32. This should make it work
on PPC32 now but break it on the other platforms. Julian will commit a
change to ensure the 32-bit floats are copied through the FP regs on all
platforms to make the broken ones work again.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5808 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/memcheck/tests/sh-mem.c
dbf7ca71128c6787ba8a99cbd03c3773ff572d96 31-Mar-2006 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Terminology change: previously in Memcheck we had the four states:

noaccess, writable, readable, other

Now they are:

noaccess, undefined, defined, partdefined

As a result, the following names:

make_writable, make_readable,
check_writable, check_readable, check_defined

have become:

make_mem_undefined, make_mem_defined,
check_mem_is_addressable, check_mem_is_defined, check_value_is_defined

(and likewise for the upper-case versions for client request macros).
The old MAKE_* and CHECK_* macros still work for backwards compatibility.

This is much better, because the old names were subtly misleading. For
example:

- "readable" really meant "readable and writable".
- "writable" really meant "writable and maybe readable, depending on how
the read value is used".
- "check_writable" really meant "check writable or readable"

The new names avoid these problems.

The recently-added macro which was called MAKE_DEFINED is now
MAKE_MEM_DEFINED_IF_ADDRESSABLE.

I also corrected the spelling of "addressable" in numerous places in
memcheck.h.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5802 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/memcheck/tests/sh-mem.c
1d0825ff46d57f0ce83c3fa88538a42f67022eee 27-Mar-2006 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge in the COMPVBITS branch to the trunk. This is a big change to
Memcheck, replacing the 9-bits-per-byte shadow memory representation to a
2-bits-per-byte representation (with possibly a little more on the side) by
taking advantage of the fact that extremely few memory bytes are partially
defined.

For the SPEC2k benchmarks with "test" inputs, this speeds up Memcheck by a
(geometric mean) factor of 1.20, and reduces the size of shadow memory by a
(geometric mean) factor of 4.26.

At the same time, Addrcheck is removed. It hadn't worked for quite some
time, and with these improvements in Memcheck its raisons-d'etre have
shrivelled so much that it's not worth the effort to keep around. Hooray!

Nb: this code hasn't been tested on PPC. If things go wrong, look first in
the fast stack-handling functions (eg. mc_new_mem_stack_160,
MC_(helperc_MAKE_STACK_UNINIT)).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5791 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/memcheck/tests/sh-mem.c