Julian Seward
439c8fd491
Merge stuff for 3.1.1.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5775
2006-03-16 11:33:14 +00:00
Julian Seward
623a127875
upmerge r5768 (Allow a thread to spin longer when yielding before
...
switching to a different thread.)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5774
2006-03-16 11:31:29 +00:00
Julian Seward
51dd75a602
Recycle Dirk's glibc-2.3.90 suppressions, since at some point it will
...
really become glibc-2.4.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5769
2006-03-15 17:27:56 +00:00
Julian Seward
477737598a
A couple of initialisations to keep gcc-4.1.0 happy.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5765
2006-03-15 11:50:32 +00:00
Julian Seward
e97332eaee
Minor futzing (fontification, etc) of the function-wrappers documentation.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5764
2006-03-14 00:56:29 +00:00
Julian Seward
315601a4b4
First pass at documenting how to use the function-wrapping facility.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5763
2006-03-13 13:40:57 +00:00
Julian Seward
fe3195038c
Sigh; rename mpiwrap.c to libmpiwrap.c so that 'make dist' doesn't barf
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5762
2006-03-12 19:28:34 +00:00
Julian Seward
f3ac92c16b
When testing 'mpicc', try at least somewhat to test for the primary
...
target, as that is what it will be used to compile for.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5761
2006-03-12 18:29:18 +00:00
Julian Seward
18b93ae29d
Unbreak mtoctf configure check.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5760
2006-03-12 17:27:44 +00:00
Julian Seward
14fc0c54bb
Mess with this even more so that fn_1 doesn't return zero.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5759
2006-03-12 16:57:07 +00:00
Julian Seward
6cc171e050
Add missing CALL_FN_* macros for ppc64-linux.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5758
2006-03-12 16:48:14 +00:00
Julian Seward
090c5bd0e4
Work around lameness in older ppc assemblers.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5757
2006-03-12 16:47:10 +00:00
Julian Seward
3323731af8
LAM/MPI compile fix
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5756
2006-03-12 16:44:05 +00:00
Julian Seward
41cc1d0804
Updated expected output following r5753.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5755
2006-03-12 14:15:23 +00:00
Julian Seward
fb374bd1f5
Add CALL_FN_* missing cases for ppc32-linux.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5754
2006-03-12 13:39:15 +00:00
Julian Seward
a452b1fca6
TRASH_IREGS: add enough live variables to make ppc32 spill (not easy)
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5753
2006-03-12 13:38:46 +00:00
Julian Seward
d354e78afe
sizeofOneNamedTy(): handle long double correctly on non-x86/amd64 platforms.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5752
2006-03-12 13:37:19 +00:00
Julian Seward
3142a61b73
Add ppc32-linux details.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5751
2006-03-12 13:36:06 +00:00
Julian Seward
0b7e01a2fa
Fix a redirection bug created by the overhaul of m_redir.c. Bug
...
caused hardwired Actives to be discarded at the first call to
VG_(redir_notify_delete_SegInfo). This causes crashes on amd64-linux
by throwing away the hardwired redirections
0xFFFFFFFFFF600000 -> VG_(amd64_linux_REDIR_FOR_vgettimeofday)
0xFFFFFFFFFF600400 -> VG_(amd64_linux_REDIR_FOR_vtime)
which I'm sure got mentioned at some point recently, but I cannot find
the email now.
Bug does not affect 3.1.X, since that line contains the old m_redir.c
implementation.
Bug does not affect any platform other than amd64-linux since no
others have hardwired Actives at the start.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5750
2006-03-12 00:39:19 +00:00
Julian Seward
42ace2cacd
A 64-bit fix
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5749
2006-03-12 00:35:42 +00:00
Julian Seward
c4a8d96725
Complete CALL_FN_W_* wrappers for amd64-linux.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5748
2006-03-11 16:19:14 +00:00
Julian Seward
b74d8afad0
Majorly beef up this test:
...
* test all wrapped-function arities from 0 to 12
* try hard to run both callers and callees out of integer registers,
so as to detect problems where the CALL_FN_* macros do not
properly save registers around the call
This will cause failure in building the regtests on all non-x86
platforms. Will fix shortly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5747
2006-03-11 13:20:41 +00:00
Julian Seward
4aa28584f5
Fix comment typo.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5746
2006-03-11 12:58:03 +00:00
Julian Seward
b0c46d47bd
Add missing x86-linux CALL_FN_W_11W macro.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5745
2006-03-11 12:57:41 +00:00
Nicholas Nethercote
d70346f24e
Add a comment.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5744
2006-03-11 06:48:20 +00:00
Julian Seward
d53b9625ef
Quadrics MPI build fixes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5743
2006-03-10 22:17:57 +00:00
Julian Seward
599c6fec16
Make sure we get the right headers, not whatever happens to be already
...
installed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5742
2006-03-10 22:17:02 +00:00
Julian Seward
07ffda382b
Add a (rather ingenious, if I do say so myself) program to test the
...
type-walking stuff in mpiwrap.c.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5741
2006-03-10 21:48:29 +00:00
Julian Seward
b33221bdd1
Even more MPI wrappers.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5740
2006-03-10 21:41:01 +00:00
Julian Seward
169ee58033
Add a bunch more wrappers and generally tidy up a bit.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5739
2006-03-10 18:37:45 +00:00
Julian Seward
6d4e04f465
* try to handle MPI_{LONG,DOUBLE,SHORT}_INT better (despite the best
...
efforts of the MPI spec to screw this up)
* Add locking to accesses to the "sReqs" shadow-requests table
used to keep track of uncompleted MPI_Irecv's. This might
even mean the wrappers are thread-safe now :-)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5738
2006-03-10 14:51:19 +00:00
Julian Seward
7a0ef0a088
- Improve handling of MPI base types
...
- Use MAKE_DEFINED rather than MAKE_READABLE, as the latter's
behaviour - changing A bits as well as V bits - can hide
addressing problems later
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5737
2006-03-10 13:43:49 +00:00
Julian Seward
522cf5944f
Add a new kind of memory-painting primitive, which is: 'make_defined'.
...
For each byte in the range, if the byte is addressible, make it be
initialised, but if it isn't addressible, leave it alone. So it's
like a version of make_readable which doesn't alter addressibility.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5736
2006-03-10 13:41:58 +00:00
Julian Seward
84a3cb8637
Give *all* MPI-1.1 and MPI-2 functions a wrapper; most of them get a
...
default wrapper which can either run transparently, run transparently
but give a warning, or abort the run -- depending on flags set in
$MPIWRAP_DEBUG. Mess with flag handling accordingly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5735
2006-03-09 19:08:20 +00:00
Julian Seward
a701e9d4c4
Add a couple of missing cases. Function wrapping is really ugly :-(
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5734
2006-03-09 19:06:23 +00:00
Julian Seward
03800a6ef6
Record list of MPI-2 entry points, laboriously extracted from Open MPI
...
1.0.X header files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5733
2006-03-09 19:05:29 +00:00
Julian Seward
ee64265a01
Add a 'quiet' option to make it shut up except for showing errors.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5732
2006-03-09 03:05:17 +00:00
Julian Seward
18bac89381
The mpicc being tested needs to be able to link stuff, not merely compile it.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5731
2006-03-09 02:49:56 +00:00
Julian Seward
d3177783d3
MPI checks: use AC_TRY_COMPILE correctly, so as to generate a test program
...
that icc can compile (just in case mpicc is a wrapper round icc).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5730
2006-03-09 02:41:41 +00:00
Julian Seward
9636545add
More MPICH build fixes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5729
2006-03-08 21:40:34 +00:00
Julian Seward
d726ad08ff
Add showCombiner and move showTy to a better place.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5728
2006-03-08 20:41:44 +00:00
Julian Seward
efb39d7e17
New wrapper, and an MPICH build fix.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5727
2006-03-08 15:27:37 +00:00
Julian Seward
2ae1dc4941
MPI build system refinements: just base everything off mpicc, and don't
...
try to figure out where mpi.h is.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5726
2006-03-08 15:26:10 +00:00
Julian Seward
ea762eae30
Oops, missed out of r5724.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5725
2006-03-08 13:24:21 +00:00
Julian Seward
a8587eef99
Regression test for memcheck's SET/GET_VBITS client requests.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5724
2006-03-08 13:21:07 +00:00
Julian Seward
aee8146a06
Reinstate the SET/GET_VBITS client requests.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5723
2006-03-08 13:20:09 +00:00
Julian Seward
eea205d222
walk_type: handle all remaining MPI1 combiners ({H,}VECTOR and
...
{H,}INDEXED). Should now be able to enumerate essentially all MPI1
user-defined types.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5722
2006-03-08 03:54:37 +00:00
Julian Seward
fe1b35ef4f
Update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5718
2006-03-07 01:49:54 +00:00
Julian Seward
4e65de3448
Add an amd64 test program for 'fxtract' - just a copy of the x86 one.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5716
2006-03-07 01:17:12 +00:00
Julian Seward
fecb77b6e6
A test for fcmovnu.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5715
2006-03-06 19:50:06 +00:00