Commit Graph

6075 Commits

Author SHA1 Message Date
Bart Van Assche
b5c8e5bb9f Implemented cache rotation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8209
2008-06-09 19:50:51 +00:00
Bart Van Assche
e3154d43e4 Memory tracing now also works while not recording memory accesses for conflict analysis. Added branch prediction hints.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8208
2008-06-09 15:18:59 +00:00
Bart Van Assche
41ff8baae4 Commented out assert statements because of performance reasons.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8207
2008-06-09 15:08:22 +00:00
Bart Van Assche
285d7339c5 Reran benchmark after latest optimizations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8206
2008-06-09 12:43:20 +00:00
Bart Van Assche
8c4c4c31cb Updated results.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8205
2008-06-08 14:44:41 +00:00
Bart Van Assche
05343ad14a Only run tests with -p4 -- omitted -p1 and -p2.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8204
2008-06-08 11:22:23 +00:00
Bart Van Assche
9df289e9ed More maual inlining.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8203
2008-06-08 11:21:34 +00:00
Bart Van Assche
4d21f6dba1 Moved shell commands for running matinv to a separate file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8202
2008-06-08 08:09:50 +00:00
Bart Van Assche
8c5c90c085 Declared more inline functions static, such that the compiler can omit the out-of-line code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8201
2008-06-08 08:08:31 +00:00
Bart Van Assche
f895b20c0c Reorganized SPLASH-2 benchmarking script.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8200
2008-06-07 11:40:14 +00:00
Bart Van Assche
07e9471509 Split long line.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8199
2008-06-07 10:43:26 +00:00
Bart Van Assche
062c410aab - Output is now saved in a ${PROGRAM}.out file.
- Next to --check-stack-var=no, DRD with --check-stack-var=yes is also
  timed.
- Added timing results for DRD compiled with gcc 4.2.1.
- Cache size specified to SPLASH-2 programs is now half of the CPU L2
  cache instead of the whole cache.
- Removed command-line argument from CHOLESKY run that was not
  understood by that program.
- Changed FFT problem size from -m20 to -m18 such that it fits in 2 GB
  RAM.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8198
2008-06-07 10:42:52 +00:00
Bart Van Assche
9749b6a541 Enabled more inlining.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8197
2008-06-07 10:26:31 +00:00
Bart Van Assche
d75a4f4b24 Speed up analysis of programs that access the thread stack intensively.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8196
2008-06-06 14:31:36 +00:00
Bart Van Assche
380d96c2be Enable more optimization opportunities.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8195
2008-06-06 10:18:24 +00:00
Bart Van Assche
dbfc525689 The run-splash2 script now works regardless from which directory it is started in.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8194
2008-06-06 10:17:26 +00:00
Bart Van Assche
6238af9085 Removed duplicate invocation of radiosity. Updated results after optimizations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8193
2008-06-05 13:47:15 +00:00
Bart Van Assche
e4203caa51 Use same inputs as in ITC paper for water-nsquared and water-spatial.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8192
2008-06-05 10:14:53 +00:00
Bart Van Assche
b3096ffe85 Joined if-statements.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8191
2008-06-05 09:01:52 +00:00
Bart Van Assche
22df7e35eb Manual inlining.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8190
2008-06-05 08:53:42 +00:00
Bart Van Assche
3a43aa6faa Introduced bm_access_*_triggers_conflict() functions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8189
2008-06-05 08:29:53 +00:00
Bart Van Assche
3f8379801f Enabled parallel compilation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8188
2008-06-04 18:57:08 +00:00
Bart Van Assche
8c64ad3736 Documentation updates.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8187
2008-06-04 18:08:10 +00:00
Bart Van Assche
e483bde705 Added more SPLASH-2 tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8186
2008-06-04 13:02:22 +00:00
Julian Seward
ebfa8979ae Sync with 3_3_BRANCH.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8185
2008-06-04 11:47:51 +00:00
Nicholas Nethercote
7a741317fa Try to make this test more consistent across different machines.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8182
2008-06-04 09:41:53 +00:00
Julian Seward
dfc08e58d2 Followup to r8178: don't segfault if VG_(clo_log_name) is NULL.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8181
2008-06-04 09:07:36 +00:00
Julian Seward
9551b14c18 Reinstate printing of log-file-qualifiers in XML output (Ashley Pittman).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8178
2008-06-04 06:51:58 +00:00
Julian Seward
1fb920eeb5 Add '*flags |= SfMayBlock' to PRE(sys_sync_file_range).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8177
2008-06-04 06:49:56 +00:00
Julian Seward
e0aa666b28 Import recent suppression upgrades from 3_3_BRANCH:
revs 8163 8166 8167 8168.

Also, mention glibc-2.X.supp.in in Makefile.am so it gets included
in the distro tarball.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8176
2008-06-03 20:58:46 +00:00
Bart Van Assche
e58ace22fc Added Cholesky and FFT.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8175
2008-06-03 15:12:59 +00:00
Bart Van Assche
9f4c35f80b Made script more robusts. Ratio is now always computed relative to the non-Valgrind single-CPU run.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8174
2008-06-03 11:41:19 +00:00
Bart Van Assche
463381c162 Modified TLS-test slightly: the program checking for TLS support is now compiled, linked and run when compiling natively and compiled and linked only when cross-compiling. Before it was compiled and linked only, both for native and cross-compilation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8172
2008-06-02 07:14:20 +00:00
Nicholas Nethercote
ed38943118 Try to make these tests more reliable for different machines.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8171
2008-06-01 22:49:25 +00:00
Bart Van Assche
46f92fc29f Changed _Spec::mandatory from HChar* into const HChar*. If no symbol information is found in ld.so during startup of the exp-drd tool, let Valgrind abort and print an informative error message.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8170
2008-06-01 16:33:37 +00:00
Bart Van Assche
4185dcb248 Added intercepts for strlen() and strnlen().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8165
2008-06-01 08:48:48 +00:00
Bart Van Assche
7c8723184e Fixed typo.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8164
2008-06-01 07:33:14 +00:00
Julian Seward
84a03affe1 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8161
2008-05-31 08:33:59 +00:00
Bart Van Assche
ae68d92415 - Replaced algorithm for suppressing false positives on symbol
relocations: instead of not instrumenting code in .plt sections (which
  is x86 specific), suppress all data accesses to .plt and .got.plt
  sections (which works both on x86 and on PowerPC).
- A warning is now printed upon startup to inform users about false
  positives which will be reported on PowerPC because with the current
  version of VEX it is impossible for tools to recognize atomic PowerPC
  instructions as such.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8160
2008-05-31 07:55:51 +00:00
Bart Van Assche
8480f85e39 Don't complain on .got.plt sections of size zero. Apparently such
sections are generated by older toolchains (binutils 2.15.90.0.3 ?)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8158
2008-05-30 13:21:13 +00:00
Bart Van Assche
73dea70691 Updated scripts for running SPLASH-2.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8157
2008-05-30 09:52:13 +00:00
Nicholas Nethercote
9914dd3c89 update
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8156
2008-05-29 23:18:18 +00:00
Nicholas Nethercote
bb0819a3bb Fix a bug in Massif and Cachegrind, whereby if program's forked, the child
wrote into the parent's output file even if %p was specified.

Josef, I think Callgrind does not have this bug, but you might want to say
something about forking in the manual, as I have done for Massif and
Cachegrind.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8154
2008-05-29 23:09:52 +00:00
Julian Seward
85b312c498 Allow 64-byte line sizes (PA6T cpu).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8151
2008-05-29 16:39:57 +00:00
Julian Seward
72a3a2f4f2 Make the size calculations inside VG_(mallinfo) 64-bit clean.
I don't really understand how 'struct mallinfo' makes any sense on a
64-bit platform given that all the field sizes are 32-bit ints, and
surely at least .arena and .uordblocks and probably others could
easily exceed 32-bit range.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8149
2008-05-29 13:45:49 +00:00
Julian Seward
b2651c395b More fiddling with the sys_signalfd wrapper.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8147
2008-05-29 12:56:08 +00:00
Julian Seward
6dbfe6814f In the leak checker, don't assert when there are multiple identical
blocks in the lc_shadows array.  Such a situation could arise from
incorrect use of VALGRIND_MALLOCLIKE_BLOCK, and has been observed to
cause assertion failures for some runs of Wine on Valgrind.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8144
2008-05-29 12:23:24 +00:00
Bart Van Assche
7fbbba6ae4 Make sure the debug information is read before a tool is notified about an mmap() system call.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8142
2008-05-29 08:52:44 +00:00
Bart Van Assche
1d9c8f92d5 Added to repository.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8141
2008-05-29 08:34:27 +00:00
Julian Seward
0c9f994403 Add initial glibc-2.8 support for Helgrind.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8140
2008-05-29 07:26:28 +00:00