Test cases for 128-bit --partial-loads-ok=no|yes on x86 need a prereq on sse.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13514 a5019735-40e9-0310-863c-91ae7b9d1cf9
Support mmxext (integer sse) subset on i386 (athlon). Bug #323713

Some processors like the AMD Athlon "Classic" support mmxext,
a sse1 subset. This subset is not properly detected by VEX.
The subset uses the same encoding as the sse1 instructions.

The subset is described at:
  http://support.amd.com/us/Embedded_TechDocs/22466.pdf
  https://en.wikipedia.org/wiki/3DNow!#3DNow.21_extensions

Detects mmxext subset from cpuid information (and enables it
when full sse1 is found). Also fixes the prereq of
none/tests/x86/insn_mmxext.vgtest so that it also runs when
full sse1 (and not just the mmxext subset) is found.
It already passed on such configurations. With the VEX patch
(r2745) it also passes with just the mmxext subset.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13515 a5019735-40e9-0310-863c-91ae7b9d1cf9
When XML mode is selected messages from VALGRIND_PRINTF and friends
should go to the XML stream not stderr.  Fixes BZ 322807.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13516 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips64: Add some test cases for mips64 in vbit-test.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13517 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add missing headers and such so that 'make dist' works again.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13518 a5019735-40e9-0310-863c-91ae7b9d1cf9
Fix misleading comment, as VG_(releasePA) is deleting the PA when zero ref count


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13519 a5019735-40e9-0310-863c-91ae7b9d1cf9
s390: Fix Makefile.am. Essentially, revert r13317 which does not seem to
be necessary. The additional DIST_INSN_TESTS variable was causing problems
in check_makefile_consistecy which reported false errors. I suspect this
is because my awk is mawk and not gawk.
Also add dfp_utils.h which was missing in the tarball from 'make dist'.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13520 a5019735-40e9-0310-863c-91ae7b9d1cf9
Rename configure.in to configure.ac to make more recent auto*s happy,
and also add the automake option "subdir-objects".  As advisde by
Tromey and Mjw.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13521 a5019735-40e9-0310-863c-91ae7b9d1cf9
add_mapping_callback on Darwin: also produce a ChangedSeg record in
the case where V's record of the permissions for a range differs from
that of the kernel's.  The lack of this caused synthetic segfaults
("can't translate here") from m_translate on OSX 10.8 for pretty much
any graphical .



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13522 a5019735-40e9-0310-863c-91ae7b9d1cf9
Make wqthread_hijack work with the OSX 10.8 kernel.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13523 a5019735-40e9-0310-863c-91ae7b9d1cf9
Fixes and kludges (mostly the latter) needed to	run graphical
apps on	  OSX 10.8:

* port_create_vanilla: deal with the fact that ports get looked
  up before they get registered in the allocated_ports list.  I
  think this is	 a side effect of ..

* .. various syscalls: add stub (no-op) wrappers



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13524 a5019735-40e9-0310-863c-91ae7b9d1cf9
MacOS only: fix somee compiler complaints about casting from pointers
and integers of a different size.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13525 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips32/mips64: Add tests for lwl and lwr for mips32 and mips64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13526 a5019735-40e9-0310-863c-91ae7b9d1cf9
Rename cg-arch.c to cg_arch.c so as to be consistent with other
filenames, including cg_arch.h :)  No functional change.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13527 a5019735-40e9-0310-863c-91ae7b9d1cf9
Reuse (shared) cachegrind source files in callgrind directly.

The callgrind Makefile.am had a common sources list that included
../cachegrind/cg_arch.c. This doesn't play well with automake and
subdir-objects. Especially make distclean was broken because some
.deps files were removed multiple times.

Just include the shared source file directly into the callgrind
source file that needs it (cg_arch.c in sim.c).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13528 a5019735-40e9-0310-863c-91ae7b9d1cf9
check_uuid_matches: fix infinite loop following rewrite of this
function during big overhaul of the debuginfo reader earlier this
year.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13529 a5019735-40e9-0310-863c-91ae7b9d1cf9
PRE(workq_ops): handle KI_WQOPS_QUEUE_REQTHREADS without complaining.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13530 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add a bunch of suppressions for 64-bit OSX 10.8 processes.  This is a
huge kludge in that the right fix is to write proper syscall wrappers
for the new threading syscalls in 10.8, but that hasn't happened yet.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13531 a5019735-40e9-0310-863c-91ae7b9d1cf9
Fix 324514  gdbserver monitor cmd output behaviour consistency + allow user
            to put a "marker" msg in process log output

* v.info n_errs_found accepts optional msg, added in the output of
   the monitor command.

* use VG_(printf) rather than VG_(gdb_printf) when output of command
  should be redirected according to v.set gdb_output|log_output|mixed_output

* also avoid calling gdb_printf in output sink processing
  to output zero bytes, as gdb_printf expects to have a null terminated
  string, which is not ensured when 0 bytes have to be output.

* some minor reformatting (replace char* xxx by char *xxx).




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13532 a5019735-40e9-0310-863c-91ae7b9d1cf9
The flag for compiling test none/tests/ppc32/test_isa_2_07_part2.c was
incorrectly set to FLAG_M64 instead of FLAG_M32.  Fixed the flag.  The 
issue was reported in Bugzilla 324546.

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