]>
git.ipfire.org Git - thirdparty/valgrind.git/log
Julian Seward [Tue, 12 Oct 2004 09:13:19 +0000 (09:13 +0000)]
Add redundant-PutI elimination, and major cleanup of PutI/GetI
transformations.
git-svn-id: svn://svn.valgrind.org/vex/trunk@318
Nicholas Nethercote [Tue, 12 Oct 2004 08:38:19 +0000 (08:38 +0000)]
Update second expected output to match the first.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2742
Nicholas Nethercote [Sat, 9 Oct 2004 19:08:08 +0000 (19:08 +0000)]
Arch-abstraction:
- abstract out three ELF constants
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2741
Nicholas Nethercote [Sat, 9 Oct 2004 18:50:16 +0000 (18:50 +0000)]
typo
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2740
Nicholas Nethercote [Sat, 9 Oct 2004 15:59:05 +0000 (15:59 +0000)]
Add README_DEVELOPERS to the 'make dist' tarball (since it's mentioned in
README), and add some instructions about attaching GDB to Valgrind itself
within it.
This fixes bug 90138.
MERGE WITH STABLE
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2738
Julian Seward [Sat, 9 Oct 2004 10:07:46 +0000 (10:07 +0000)]
Don't bother to do a spill store if the register chosen for spilling
was only instantaneously live (target of a dead store). I don't think
this is really the right way to fix this, but it works. A better
question is, if this register is dead before the current insn, why was
it chosen for spilling in the first place?
git-svn-id: svn://svn.valgrind.org/vex/trunk@317
Julian Seward [Sat, 9 Oct 2004 10:06:12 +0000 (10:06 +0000)]
More followups to previous increase of x86 FP regs from 4 to 6.
git-svn-id: svn://svn.valgrind.org/vex/trunk@316
Julian Seward [Sat, 9 Oct 2004 09:34:36 +0000 (09:34 +0000)]
Add generic mechanism to get hold of guest bytes when debugging.
git-svn-id: svn://svn.valgrind.org/vex/trunk@315
Julian Seward [Sat, 9 Oct 2004 09:33:54 +0000 (09:33 +0000)]
Update to match new max limit of 50 insns per bb.
git-svn-id: svn://svn.valgrind.org/vex/trunk@314
Julian Seward [Sat, 9 Oct 2004 01:36:57 +0000 (01:36 +0000)]
x86: Increase the number of available floating point registers in the
back end from 4 to 6.
git-svn-id: svn://svn.valgrind.org/vex/trunk@313
Julian Seward [Sat, 9 Oct 2004 00:58:56 +0000 (00:58 +0000)]
Increase maximum-bb size to 50.
git-svn-id: svn://svn.valgrind.org/vex/trunk@312
Julian Seward [Sat, 9 Oct 2004 00:58:19 +0000 (00:58 +0000)]
Fold 1Uto32.
git-svn-id: svn://svn.valgrind.org/vex/trunk@311
Julian Seward [Fri, 8 Oct 2004 21:37:15 +0000 (21:37 +0000)]
Change tabs to spaces. Whitespace change only.
git-svn-id: svn://svn.valgrind.org/vex/trunk@310
Julian Seward [Fri, 8 Oct 2004 21:33:02 +0000 (21:33 +0000)]
fix off-by-one errors (assert fails) in findPutI.
git-svn-id: svn://svn.valgrind.org/vex/trunk@309
Julian Seward [Fri, 8 Oct 2004 21:30:27 +0000 (21:30 +0000)]
Fix indentation for findPutI. Whitespace change only.
git-svn-id: svn://svn.valgrind.org/vex/trunk@308
Nicholas Nethercote [Fri, 8 Oct 2004 14:01:14 +0000 (14:01 +0000)]
Improve error message.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2736
Julian Seward [Fri, 8 Oct 2004 12:26:11 +0000 (12:26 +0000)]
Really really final edits. This is the submitted version.
git-svn-id: svn://svn.valgrind.org/vex/trunk@307
Julian Seward [Fri, 8 Oct 2004 07:59:46 +0000 (07:59 +0000)]
Final edits.
git-svn-id: svn://svn.valgrind.org/vex/trunk@306
Julian Seward [Thu, 7 Oct 2004 13:30:30 +0000 (13:30 +0000)]
Finish first draft.
git-svn-id: svn://svn.valgrind.org/vex/trunk@305
Julian Seward [Thu, 7 Oct 2004 10:18:42 +0000 (10:18 +0000)]
IR -> Itanium conversion discussion
Initial conclusions
git-svn-id: svn://svn.valgrind.org/vex/trunk@304
Tom Hughes [Thu, 7 Oct 2004 08:33:29 +0000 (08:33 +0000)]
Turn off stabs debugging.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2735
Tom Hughes [Thu, 7 Oct 2004 08:33:08 +0000 (08:33 +0000)]
More fixes for stabs generated by the GNAT compiler. This patch
allows negative offsets in structure member definitions as well as
improving the previous fix for names that are declared as both struct
tags and typedefs.
CCMAIL: 90128-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2734
Tom Hughes [Thu, 7 Oct 2004 08:22:59 +0000 (08:22 +0000)]
Added a module level stabs_debug flag to turn on all debugging.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2733
Tom Hughes [Thu, 7 Oct 2004 08:21:38 +0000 (08:21 +0000)]
Assert on any attempt to make a symbol a typedef for itself.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2732
Julian Seward [Wed, 6 Oct 2004 17:06:00 +0000 (17:06 +0000)]
Add stuff about predication.
git-svn-id: svn://svn.valgrind.org/vex/trunk@303
Tom Hughes [Wed, 6 Oct 2004 13:50:12 +0000 (13:50 +0000)]
Put back missing space...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2731
Tom Hughes [Wed, 6 Oct 2004 13:49:36 +0000 (13:49 +0000)]
Cope with arguments over 510 characters in length when writing the
cachegrind output file.
CCMAIL: 90834-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2730
Tom Hughes [Wed, 6 Oct 2004 12:25:49 +0000 (12:25 +0000)]
Remove reference to --tool=memcheck being the default.
CCMAIL: 90086-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2729
Tom Hughes [Wed, 6 Oct 2004 12:18:47 +0000 (12:18 +0000)]
Remove spurious (void) cast from VALGRIND_CHECK_DEFINED so that it
actually does what the comment says it does. Patch from Nathan Kurz.
CCMAIL: 90778-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2728
Julian Seward [Wed, 6 Oct 2004 11:26:49 +0000 (11:26 +0000)]
Add stuff about control speculation.
git-svn-id: svn://svn.valgrind.org/vex/trunk@302
Julian Seward [Wed, 6 Oct 2004 00:14:08 +0000 (00:14 +0000)]
Deal with NaT value propagation.
git-svn-id: svn://svn.valgrind.org/vex/trunk@301
Julian Seward [Tue, 5 Oct 2004 22:44:37 +0000 (22:44 +0000)]
Fix up Heading 2 entries by copying into a new document.
git-svn-id: svn://svn.valgrind.org/vex/trunk@300
Julian Seward [Tue, 5 Oct 2004 22:33:48 +0000 (22:33 +0000)]
Add stuff on data speculation.
git-svn-id: svn://svn.valgrind.org/vex/trunk@299
Julian Seward [Tue, 5 Oct 2004 00:52:07 +0000 (00:52 +0000)]
Describe handling of rotating registers and register windows.
git-svn-id: svn://svn.valgrind.org/vex/trunk@298
Julian Seward [Mon, 4 Oct 2004 09:15:11 +0000 (09:15 +0000)]
First attempt at PutI -> GetI forwarding.
git-svn-id: svn://svn.valgrind.org/vex/trunk@297
Julian Seward [Mon, 4 Oct 2004 09:14:05 +0000 (09:14 +0000)]
x86 host: do spill/reload of floating point registers.
git-svn-id: svn://svn.valgrind.org/vex/trunk@296
Julian Seward [Mon, 4 Oct 2004 07:15:48 +0000 (07:15 +0000)]
Small change to printing of guest-state-array descriptors (IRArrays).
git-svn-id: svn://svn.valgrind.org/vex/trunk@295
Julian Seward [Sun, 3 Oct 2004 23:50:02 +0000 (23:50 +0000)]
Simple program for assessing speed of floating point.
git-svn-id: svn://svn.valgrind.org/vex/trunk@294
Julian Seward [Sun, 3 Oct 2004 23:11:20 +0000 (23:11 +0000)]
Increase startup delay for GDB latching.
git-svn-id: svn://svn.valgrind.org/vex/trunk@293
Julian Seward [Sun, 3 Oct 2004 23:10:48 +0000 (23:10 +0000)]
Implement Add32/Sub32 chain collapsing.
git-svn-id: svn://svn.valgrind.org/vex/trunk@292
Julian Seward [Sun, 3 Oct 2004 17:16:59 +0000 (17:16 +0000)]
Fix typo.
git-svn-id: svn://svn.valgrind.org/vex/trunk@291
Tom Hughes [Mon, 27 Sep 2004 18:57:08 +0000 (18:57 +0000)]
Fixed mistake in yesterday's signal trace patch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2727
Tom Hughes [Mon, 27 Sep 2004 18:55:55 +0000 (18:55 +0000)]
Fix conversion of timeval to milliseconds - tv_usec is microseconds
and not nanoseconds.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2726
Tom Hughes [Sun, 26 Sep 2004 18:44:06 +0000 (18:44 +0000)]
When dieing because a fatal signal was received, print a stack trace for
the location where the signal was received rather then the signal handler.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2725
Tom Hughes [Sun, 26 Sep 2004 14:42:47 +0000 (14:42 +0000)]
Don't free the interpreter structure until we've actually finished
using it... Possible fix for bug 89663 spotted by Mike Cavins.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2724
Tom Hughes [Sat, 25 Sep 2004 16:13:55 +0000 (16:13 +0000)]
Improve the checks in PRE(execve) to check that the file being executed
is a regular file and fail with EINVAL if it is not.
This problem was highlight by bug 89481 although this doesn't solve the
actual problem reported in that bug.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2723
Tom Hughes [Fri, 24 Sep 2004 22:57:17 +0000 (22:57 +0000)]
Fixed the statfs64 wrapper to look at the right argument for the
stat buffer and added an fstatfs64 wrapper.
CCMAIL: 90111-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2722
Julian Seward [Fri, 24 Sep 2004 17:20:23 +0000 (17:20 +0000)]
Stuff about rotating registers.
git-svn-id: svn://svn.valgrind.org/vex/trunk@290
Julian Seward [Fri, 24 Sep 2004 17:19:22 +0000 (17:19 +0000)]
First attempt at Add32/Sub32 chain collapsing.
git-svn-id: svn://svn.valgrind.org/vex/trunk@289
Julian Seward [Thu, 23 Sep 2004 15:37:54 +0000 (15:37 +0000)]
More preliminaries.
git-svn-id: svn://svn.valgrind.org/vex/trunk@288
Julian Seward [Thu, 23 Sep 2004 13:25:19 +0000 (13:25 +0000)]
Make a start on the Itanium report.
git-svn-id: svn://svn.valgrind.org/vex/trunk@287
Julian Seward [Thu, 23 Sep 2004 12:54:03 +0000 (12:54 +0000)]
Fix a couple of silly typos.
git-svn-id: svn://svn.valgrind.org/vex/trunk@286
Julian Seward [Thu, 23 Sep 2004 11:06:17 +0000 (11:06 +0000)]
Change the name of some IR fields from .expr to .data, as .expr
doesn't convey any useful meaning to the reader.
Extra sanity check for PutI: check that the .data type to be put'd
matches the stated array element type in the .descr field.
git-svn-id: svn://svn.valgrind.org/vex/trunk@285
Julian Seward [Wed, 22 Sep 2004 23:49:09 +0000 (23:49 +0000)]
Major revamp of GetI/PutI in preparation for PutI/GetI forwarding.
Now uses implicit circular array referencing, with variable offset
+ literal bias for the index values.
git-svn-id: svn://svn.valgrind.org/vex/trunk@284
Tom Hughes [Wed, 22 Sep 2004 22:48:27 +0000 (22:48 +0000)]
If a name is marked as both a typedef and a tag then ignore the tag marker
and just treat it as a typedef or valgrind gets very confused.
CCMAIL: 87904-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2721
Julian Seward [Wed, 22 Sep 2004 19:49:27 +0000 (19:49 +0000)]
Add a simple common-subexpression removal pass to iropt. Potentially
important for optimising code making heavy use of GetI/PutI.
git-svn-id: svn://svn.valgrind.org/vex/trunk@283
Julian Seward [Tue, 21 Sep 2004 23:39:25 +0000 (23:39 +0000)]
Do a bit of inlining.
git-svn-id: svn://svn.valgrind.org/vex/trunk@282
Julian Seward [Tue, 21 Sep 2004 23:38:53 +0000 (23:38 +0000)]
Duh; fix not-really-a-function-call.
git-svn-id: svn://svn.valgrind.org/vex/trunk@281
Julian Seward [Tue, 21 Sep 2004 23:38:04 +0000 (23:38 +0000)]
Add -Winline.
git-svn-id: svn://svn.valgrind.org/vex/trunk@280
Julian Seward [Tue, 21 Sep 2004 23:00:11 +0000 (23:00 +0000)]
In the flattening phase, reduce the number of tmp-tmp copies
created. This reduces the total amount of heap allocated by iropt
by about 10%.
git-svn-id: svn://svn.valgrind.org/vex/trunk@279
Julian Seward [Mon, 20 Sep 2004 21:36:09 +0000 (21:36 +0000)]
Clarify semantics re dirty helper functions.
git-svn-id: svn://svn.valgrind.org/vex/trunk@278
Julian Seward [Mon, 20 Sep 2004 21:21:15 +0000 (21:21 +0000)]
First version of IR specification doc.
git-svn-id: svn://svn.valgrind.org/vex/trunk@277
Julian Seward [Mon, 20 Sep 2004 21:20:05 +0000 (21:20 +0000)]
A place to put documentation.
git-svn-id: svn://svn.valgrind.org/vex/trunk@276
Julian Seward [Mon, 20 Sep 2004 21:19:03 +0000 (21:19 +0000)]
x86->IR: implement a couple more FP insns. Almost all the GNU Scientific
Library (v 1.5) regression tests run and pass. Missing insns:
* FPREM1
* FPTAN
* FCMOVNE
Also gsl-1.5/integration/test gets one failure due to large inaccuracy
vs expected value (circa 0.1%). ToDo: Investigate.
git-svn-id: svn://svn.valgrind.org/vex/trunk@275
Julian Seward [Mon, 20 Sep 2004 14:54:28 +0000 (14:54 +0000)]
Fully install generic IR machinery for dirty helper calls and make it
work. Use it to implement x86 10-byte loads/stores.
git-svn-id: svn://svn.valgrind.org/vex/trunk@274
Julian Seward [Sun, 19 Sep 2004 12:00:15 +0000 (12:00 +0000)]
Get rid of old condition-code handling stuff, that was unused.
git-svn-id: svn://svn.valgrind.org/vex/trunk@273
Julian Seward [Sun, 19 Sep 2004 11:57:16 +0000 (11:57 +0000)]
Test program to generate spill code on x86 (fstpt/fldt).
git-svn-id: svn://svn.valgrind.org/vex/trunk@272
Julian Seward [Sun, 19 Sep 2004 11:55:46 +0000 (11:55 +0000)]
x86 -> IR -> x86: fix enough bits to make OOo 1.1.2 work.
git-svn-id: svn://svn.valgrind.org/vex/trunk@271
Tom Hughes [Sun, 19 Sep 2004 10:30:36 +0000 (10:30 +0000)]
The fix for bug 85811 added decoding of many extra negative type
numbers in stabs and also removed the expectation of a trailing
semicolon after the type number as gcc didn't seem to be putting
one in. It seems that older gcc's do add one however, so we now
skip one if it is there.
CCMAIL: 88703-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2720
Julian Seward [Sat, 18 Sep 2004 19:14:06 +0000 (19:14 +0000)]
No longer used.
git-svn-id: svn://svn.valgrind.org/vex/trunk@270
Julian Seward [Sat, 18 Sep 2004 19:00:06 +0000 (19:00 +0000)]
This file is unused.
git-svn-id: svn://svn.valgrind.org/vex/trunk@269
Julian Seward [Tue, 14 Sep 2004 23:20:10 +0000 (23:20 +0000)]
Stuff re
git-svn-id: svn://svn.valgrind.org/vex/trunk@268
Julian Seward [Tue, 14 Sep 2004 23:18:06 +0000 (23:18 +0000)]
Improved code sequences for idioms arising from guest x86 floating
point register accesses.
git-svn-id: svn://svn.valgrind.org/vex/trunk@267
Nicholas Nethercote [Tue, 14 Sep 2004 11:55:36 +0000 (11:55 +0000)]
Remove unused macros.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2719
Nicholas Nethercote [Mon, 13 Sep 2004 20:48:20 +0000 (20:48 +0000)]
All newlines are borked; fix.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2717
Nicholas Nethercote [Mon, 13 Sep 2004 16:11:09 +0000 (16:11 +0000)]
Arch-abstraction:
- abstract out all the SET_THREAD_REG macros
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2716
Nicholas Nethercote [Mon, 13 Sep 2004 16:10:17 +0000 (16:10 +0000)]
Arch-abstraction:
- add file for x86-specific signal stuff. Should have gone in with the last
commit, whoops.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2715
Nicholas Nethercote [Mon, 13 Sep 2004 15:19:34 +0000 (15:19 +0000)]
Arch-abstraction:
- abstract out reg filling for core dumps
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2714
Nicholas Nethercote [Mon, 13 Sep 2004 14:15:36 +0000 (14:15 +0000)]
Arch-abstraction:
- abstract out signal frame pushing/popping
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2713
Nicholas Nethercote [Mon, 13 Sep 2004 13:27:30 +0000 (13:27 +0000)]
Don't inline large function
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2712
Nicholas Nethercote [Mon, 13 Sep 2004 13:16:40 +0000 (13:16 +0000)]
Arch-abstraction:
- in vg_scheduler.c, abstract out some stack manipulations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2711
Nicholas Nethercote [Mon, 13 Sep 2004 12:16:06 +0000 (12:16 +0000)]
Fix off-by-one error when counting the number of BBs executed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2710
Nicholas Nethercote [Mon, 13 Sep 2004 11:18:13 +0000 (11:18 +0000)]
Fix grammar
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2708
Nicholas Nethercote [Mon, 13 Sep 2004 11:05:11 +0000 (11:05 +0000)]
Remove suppression files that have never been used, and don't get included in
"make dist".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2707
Tom Hughes [Mon, 13 Sep 2004 10:20:34 +0000 (10:20 +0000)]
When augmenting the argument vector from the VALGRIND_OPTS environment
variable and/or the .valgrindrc files, make sure that enough space is
allocated for all the old arguments, not just those that are arguments
to valgrind itself.
CCMAIL: 88604-done@bugs.kde.org
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2706
Tom Hughes [Sun, 12 Sep 2004 22:48:59 +0000 (22:48 +0000)]
Only mark the section of the stack that has actually been used as
off limits otherwise we can try and invalidate a vast area of memory
if there is no stack limit.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2705
Julian Seward [Sun, 12 Sep 2004 19:25:37 +0000 (19:25 +0000)]
Fix compilation warnings.
git-svn-id: svn://svn.valgrind.org/vex/trunk@266
Julian Seward [Sun, 12 Sep 2004 19:19:17 +0000 (19:19 +0000)]
More tidying up.
git-svn-id: svn://svn.valgrind.org/vex/trunk@265
Julian Seward [Sun, 12 Sep 2004 19:14:46 +0000 (19:14 +0000)]
Clean up the IR definition a bit.
git-svn-id: svn://svn.valgrind.org/vex/trunk@264
Julian Seward [Sun, 12 Sep 2004 12:07:34 +0000 (12:07 +0000)]
Implement yet more x86 FP transcendental instructions.
git-svn-id: svn://svn.valgrind.org/vex/trunk@263
Julian Seward [Sun, 12 Sep 2004 11:09:54 +0000 (11:09 +0000)]
Yet more x86 FP cases.
git-svn-id: svn://svn.valgrind.org/vex/trunk@262
Julian Seward [Sun, 12 Sep 2004 11:09:24 +0000 (11:09 +0000)]
Increase temp storage to 400k (for 20 insns!) ToDo: investigate.
git-svn-id: svn://svn.valgrind.org/vex/trunk@261
Nicholas Nethercote [Sat, 11 Sep 2004 23:51:50 +0000 (23:51 +0000)]
wibble
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2704
Nicholas Nethercote [Sat, 11 Sep 2004 23:48:22 +0000 (23:48 +0000)]
Arch-abstraction:
- in vg_symtab2.c, abstract out mentions of specific registers.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2703
Nicholas Nethercote [Sat, 11 Sep 2004 23:27:09 +0000 (23:27 +0000)]
Fix minor off-by-one error.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2701
Nicholas Nethercote [Sat, 11 Sep 2004 23:07:22 +0000 (23:07 +0000)]
vg_replace_malloc.c doesn't need to be included in "make dist", because it's
generated from vg_replace_malloc.c.base.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2700
Julian Seward [Sat, 11 Sep 2004 20:06:36 +0000 (20:06 +0000)]
Increase translation table size a bit.
git-svn-id: svn://svn.valgrind.org/vex/trunk@260
Julian Seward [Sat, 11 Sep 2004 19:43:51 +0000 (19:43 +0000)]
x86: handle divw/idivw. Needs proper testing.
git-svn-id: svn://svn.valgrind.org/vex/trunk@259
Julian Seward [Sat, 11 Sep 2004 19:23:24 +0000 (19:23 +0000)]
x86: implement FPREM (sigh, nasty, complicated)
git-svn-id: svn://svn.valgrind.org/vex/trunk@258
Nicholas Nethercote [Sat, 11 Sep 2004 18:27:43 +0000 (18:27 +0000)]
Arch-abstraction:
- previous Cachegrind rearrangement broke "make distcheck"; this commit
fixed it again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2699