Re-establich configury checking for -Wno-pointer-sign. We need that
flag to compile pref/tinycc.c. Sigh.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13126 a5019735-40e9-0310-863c-91ae7b9d1cf9
One more Char/HChar mixup in conditional code. Reported by Bart.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13127 a5019735-40e9-0310-863c-91ae7b9d1cf9
Fix a couple of x86 char-signedness stragglers


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13128 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add test cases for dependency tracking through pmovmskb and bsfl.
Part of #308627.  (Patrick J. LoPresti, lopresti@gmail.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13129 a5019735-40e9-0310-863c-91ae7b9d1cf9
Callgrind: fix Ir cost update for ignored functions

Also without cache simulation, Callgrind maintains Ir cost.
This is done in setup_bbcc by incrementing an execution counter
for last_bbcc (the cost center for the previously executed BB
in current context) and the global cost counter.

However, we forgot to increment any counter if the currently
executing function should be ignored. We need to still update
costs, add attribute this to a not-ignored call site (as
given in CLG_(current_state).nonskipped).

Before this fix, there was a difference in Ir cost with vs. without
cache simulation. This was because ignored functions (e.g. PLT code)
contributed no cost when not doing cache simulation.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13130 a5019735-40e9-0310-863c-91ae7b9d1cf9
Remove not-used typedef

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13131 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add test cases for definedness propagation through PCMPISTRI $0x3A.
#309921, comment 7.  (Patrick J. LoPresti, lopresti@gmail.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13132 a5019735-40e9-0310-863c-91ae7b9d1cf9
Fix up another char-signedness straggler.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13133 a5019735-40e9-0310-863c-91ae7b9d1cf9
Another signedness fix.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13134 a5019735-40e9-0310-863c-91ae7b9d1cf9
Update list of ignored files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13135 a5019735-40e9-0310-863c-91ae7b9d1cf9
Flush events in Callgrind before enering a RMW region.

On some MIPS platforms, we had an issue in which SC would fail each time
due to some memory access occuring in the RMW region.
If code for simulator events is called before LL, it can help SC to pass.

This change fixes a few LL/SC issues on MIPS arch.

The patch by Josef Weidendorfer.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13136 a5019735-40e9-0310-863c-91ae7b9d1cf9
Changes to allow compilation with -Wwrite-strings. That compiler option
is not used for testcases, just for valgrind proper.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13137 a5019735-40e9-0310-863c-91ae7b9d1cf9
Fix some casts that removed const-ness as pointed out by
GCC's -Wcast-qual.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13138 a5019735-40e9-0310-863c-91ae7b9d1cf9
Before LL, instrument outstanding helper calls.

Callgrind, Cachegrind, and Lackey call
helpers for memory accesses in bunches, to reduce
register save/restore overhead (and merge load/store
within same instruction into a "modify" event).

The calls should not be done within a RMW section
enclosed by LL/SC instructions, as this reduces the
chance of SC to succeed, and can result in hangs.
For Callgrind, this definitly helped MIPS, and was
committed in r13136. Do the same for Cachegrind/Lackey.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13143 a5019735-40e9-0310-863c-91ae7b9d1cf9
Improve FAQ section discussing statically linked lib
Valgrind 3.8.1 can work with statically linked lib or alternative
malloc libs.
Ensure FAQ properly describe this.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13144 a5019735-40e9-0310-863c-91ae7b9d1cf9
Skip memcheck's getregset for MIPS.

Skip the getregset test for MIPS since we still does not have TRACEHOOK
support in MIPS kernel for it, and that is needed to support PTRACE_GETREGSET.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13145 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add testcase for LAA insn.
Patch by Divya Vyas (divyvyas@linux.vnet.ibm.com).
Part of fixing BZ #306035.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13146 a5019735-40e9-0310-863c-91ae7b9d1cf9
Update opcode status. Announce fix for BZ #306035.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13147 a5019735-40e9-0310-863c-91ae7b9d1cf9
Correctly skip memcheck's getregset for MIPS.

Previous change r13145 incorrectly disables getregset test for all architectures
rather than just for MIPS arch. Issue spotted by Bart Van Assche and reported on
the list.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13148 a5019735-40e9-0310-863c-91ae7b9d1cf9
Probe host for conditional load/store facility.
New hwcaps: VEX_HWCAPS_S390X_LSCOND


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13149 a5019735-40e9-0310-863c-91ae7b9d1cf9