]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
21 years agoModify this test so it no longer uses client requests, but instead
Julian Seward [Thu, 7 Jul 2005 11:24:14 +0000 (11:24 +0000)] 
Modify this test so it no longer uses client requests, but instead
relies on --smc-support=all to work correctly.  Hence it tests the
s-m-c support at least on x86.  Jump through various hoops to defeat
vex's basic-block-chasing optimisation, which has an annoying habit of
making this test work correctly even without --smc-support=all.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4123

21 years agoSupport for self modifying code on unfriendly platforms (x86, amd64)
Julian Seward [Thu, 7 Jul 2005 10:05:05 +0000 (10:05 +0000)] 
Support for self modifying code on unfriendly platforms (x86, amd64)
via the use of self-checking translations.  (Friendly platforms which
have icache-invalidation instructions we can observe, such as ppc32,
are already handled correctly.)  This should finally fix the
longstanding problem of V incorrectly handling calls of statically
nested functions (a gcc extension), and more generally make it a lot
easier to use V to debug dynamic code generation systems.

Since self-checking is a large performance overhead, there is some
control via a command line flag:

   --smc-support=none

      Don't make any translations self-checking.

   --smc-support=stack

      Add checking code for translations taken from segments which
      have the SF_GROWDOWN flag set -- stacks, basically.
      This is the default.  It should make gcc nested functions and
      GNU Ada work correctly with no intervention from the user.

   --smc-support=all

      Make all translations self-checking.  This is expensive and
      you want to do this if you're debugging a JIT compiler or
      some such.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4122

21 years agoMake LibVEX_Translate (an API fn) take a Bool indicating whether or
Julian Seward [Thu, 7 Jul 2005 09:56:24 +0000 (09:56 +0000)] 
Make LibVEX_Translate (an API fn) take a Bool indicating whether or
not a self-checking translation has been requested.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1263

21 years agorm unused code
Julian Seward [Thu, 7 Jul 2005 08:22:51 +0000 (08:22 +0000)] 
rm unused code

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4121

21 years agoBasic support for self-checking translations. It fits quite neatly
Julian Seward [Thu, 7 Jul 2005 01:32:16 +0000 (01:32 +0000)] 
Basic support for self-checking translations.  It fits quite neatly
into the IR: if a translation self-check fails, the translation exits
passing VEX_TRC_JMP_TINVAL to the despatcher and with the
guest_TISTART/guest_TILEN pseudo-registers indicating what area of the
guest code needs to be invalidated.  The actual checksumming is done
by a helper function which does (a variant of) the Adler32 checksum.

Space/time overhead, whilst substantial, looks tolerable.  There's a
little room for optimisation of the basic scheme.  It would certainly
be viable to run with self-checking for all translations to support
Valgrinding JITs (including V itself) without any assistance from the
JIT.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1262

21 years agoThis is x86 specific; re-home accordingly.
Julian Seward [Wed, 6 Jul 2005 20:22:16 +0000 (20:22 +0000)] 
This is x86 specific; re-home accordingly.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4120

21 years agosmc1 is an x86-specific test; re-home it accordingly. (How did this
Julian Seward [Wed, 6 Jul 2005 20:03:43 +0000 (20:03 +0000)] 
smc1 is an x86-specific test; re-home it accordingly.  (How did this
one evade detection for so long?)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4119

21 years ago--time-stamp=yes is incompatible with --xml=yes, at least for the moment.
Julian Seward [Wed, 6 Jul 2005 19:46:48 +0000 (19:46 +0000)] 
--time-stamp=yes is incompatible with --xml=yes, at least for the moment.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4118

21 years agoScan the entire BB looking for "bogus literals"* before instrumenting
Julian Seward [Wed, 6 Jul 2005 19:42:23 +0000 (19:42 +0000)] 
Scan the entire BB looking for "bogus literals"* before instrumenting
any of it, so as to avoid any problems arising from switching from one
scheme to the other half-way through.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4117

21 years agoAdd a regression test for memcheck's ability do deal with partially
Julian Seward [Wed, 6 Jul 2005 19:01:53 +0000 (19:01 +0000)] 
Add a regression test for memcheck's ability do deal with partially
defined operands in equality comparisons.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4116

21 years agoExtensively re-analyse, re-check and revise the scheme for expensive
Julian Seward [Wed, 6 Jul 2005 18:48:59 +0000 (18:48 +0000)] 
Extensively re-analyse, re-check and revise the scheme for expensive
handling of integer EQ/NE, which can sometimes do better than the
naive scheme when the inputs are partially defined.  I never was
convinced it was correct before, but now I am.  Regtest to follow.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4115

21 years agoRename VG_(get_obj)() as VG_(find_seginfo) to be more consistent
Nicholas Nethercote [Wed, 6 Jul 2005 13:19:11 +0000 (13:19 +0000)] 
Rename VG_(get_obj)() as VG_(find_seginfo) to be more consistent
with the other function names.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4114

21 years agoThis test is nonsensical for ppc; it only applies to x86 and amd64.
Julian Seward [Wed, 6 Jul 2005 08:38:19 +0000 (08:38 +0000)] 
This test is nonsensical for ppc; it only applies to x86 and amd64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4113

21 years agoDefine the system call numbers for pread64 and pwrite64.
Tom Hughes [Wed, 6 Jul 2005 08:17:07 +0000 (08:17 +0000)] 
Define the system call numbers for pread64 and pwrite64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4112

21 years agoKeep older versions of gcc (3.0.4) happy.
Julian Seward [Tue, 5 Jul 2005 23:54:16 +0000 (23:54 +0000)] 
Keep older versions of gcc (3.0.4) happy.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1261

21 years agoEnable some more amd64 syscalls.
Tom Hughes [Tue, 5 Jul 2005 23:34:44 +0000 (23:34 +0000)] 
Enable some more amd64 syscalls.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4111

21 years agoSort out the mess that is pread64/pwrite64 properly. All three platforms
Tom Hughes [Tue, 5 Jul 2005 23:25:17 +0000 (23:25 +0000)] 
Sort out the mess that is pread64/pwrite64 properly. All three platforms
that we currently support use the same handlers in the kernel without any
platform specific wrappers.

The final argument is a 64 bit argument however, which means that it
requires two registers on x86 and ppc32 and only one on amd64. The
reason it works in the kernel is that x86 and ppc32 calling conventions
inside the kernel work out correctly and the values get joined together.

For our purposes we make x86 and ppc32 use the generic veneer with
five arguments and amd64 use a platform specific one with four...

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4110

21 years agoset default fpu, altivec control words in dispatch-ppc.S (both zero)
Cerion Armour-Brown [Tue, 5 Jul 2005 18:24:22 +0000 (18:24 +0000)] 
set default fpu, altivec control words in dispatch-ppc.S (both zero)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4109

21 years agoDisable PIE by default (sorry Tom), even on PIE-enabled platforms. It
Julian Seward [Tue, 5 Jul 2005 13:44:21 +0000 (13:44 +0000)] 
Disable PIE by default (sorry Tom), even on PIE-enabled platforms.  It
causes too much breakage.  PIE builds are still possible, but you have
to say --enable-pie to get them now.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4108

21 years agoFix quoting some more. Shell script sucks.
Julian Seward [Tue, 5 Jul 2005 00:59:08 +0000 (00:59 +0000)] 
Fix quoting some more.  Shell script sucks.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4107

21 years agoFix quoting a bit.
Julian Seward [Tue, 5 Jul 2005 00:00:40 +0000 (00:00 +0000)] 
Fix quoting a bit.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4106

21 years agoCheck args a bit.
Julian Seward [Mon, 4 Jul 2005 23:54:41 +0000 (23:54 +0000)] 
Check args a bit.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4105

21 years agoAdd a test script (recycled version of Tom's nightly/bin/nightly)
Julian Seward [Mon, 4 Jul 2005 23:44:10 +0000 (23:44 +0000)] 
Add a test script (recycled version of Tom's nightly/bin/nightly)
which is useful for doing automated test runs against the GNU
Scientific Library v 1.6 (gsl-1.6).  This has proven very helpful in
shaking out Vex simulation bugs.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4104

21 years ago... and fix the fix (oh for clear documentation...)
Cerion Armour-Brown [Mon, 4 Jul 2005 12:16:56 +0000 (12:16 +0000)] 
... and fix the fix (oh for clear documentation...)

git-svn-id: svn://svn.valgrind.org/vex/trunk@1260

21 years agofixed load-mult-word bad-insn-check bug
Cerion Armour-Brown [Mon, 4 Jul 2005 11:56:13 +0000 (11:56 +0000)] 
fixed load-mult-word bad-insn-check bug

git-svn-id: svn://svn.valgrind.org/vex/trunk@1259

21 years agoWhat is it with me add and's!
Cerion Armour-Brown [Mon, 4 Jul 2005 11:47:44 +0000 (11:47 +0000)] 
What is it with me add and's!

git-svn-id: svn://svn.valgrind.org/vex/trunk@1258

21 years agoBringing back load/store multiple word. *These insns not yet checked*
Cerion Armour-Brown [Mon, 4 Jul 2005 11:11:59 +0000 (11:11 +0000)] 
Bringing back load/store multiple word.  *These insns not yet checked*

git-svn-id: svn://svn.valgrind.org/vex/trunk@1257

21 years agoImplement fcmovu/fcmovnu. gcc-4.0.1 -msse2 -ftree-vectorize generates them.
Julian Seward [Mon, 4 Jul 2005 10:26:32 +0000 (10:26 +0000)] 
Implement fcmovu/fcmovnu.  gcc-4.0.1 -msse2 -ftree-vectorize generates them.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1256

21 years agoAdd some casts.
Julian Seward [Mon, 4 Jul 2005 10:08:24 +0000 (10:08 +0000)] 
Add some casts.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1255

21 years agoA further hack to reduce ppc32 reg-alloc costs: don't give the
Julian Seward [Mon, 4 Jul 2005 09:40:56 +0000 (09:40 +0000)] 
A further hack to reduce ppc32 reg-alloc costs: don't give the
regalloc so many registers to play with.  In the majority of cases it
won't be able to make much use of vast hordes of FP and Altivec
registers anyway.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1254

21 years agoFix (well, ameliorate, at least) some lurking performance problems
Julian Seward [Mon, 4 Jul 2005 09:38:58 +0000 (09:38 +0000)] 
Fix (well, ameliorate, at least) some lurking performance problems
(time taken to do register allocation, not quality of result) which
were tolerable when allocating for x86/amd64 but got bad when dealing
with ppc-ish numbers of real registers (90 ish).

* Don't sanity-check the entire regalloc state after each insn
  processed; this is total overkill.  Instead do it every 7th insn
  processed (somewhat arbitrarily) and just before the last insn.

* Reinstate an optimisation from the old UCode allocator: shadow
  the primary state structure (rreg_state) with a redundant inverse
  mapping (vreg_state) to remove the need to search
  through rreg_state when looking for info about a given vreg, a
  very common operation.  Add logic to keep the two maps consistent.
  Add a sanity check to ensure they really are consistent.

* Rename some variables and macros to make the code easier to
  understand.

On x86->x86 (--tool=none), total Vex runtime is reduced by about 10%,
and amd64 is similar.  For ppc32 the vex runtime is nearly halved.  On
x86->x86 (--tool=none), register allocation now consumes only about
10% of the total Vex run time.

When hooked up to Valgrind, run time of short-running programs --
which is dominated by translation time -- is reduced by up to 10%.

Calltree/kcachegrind/cachegrind proved instrumental in tracking down
and quantifying these performance problems.  Thanks, Josef & Nick.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1253

21 years agoFix comment.
Julian Seward [Mon, 4 Jul 2005 09:21:19 +0000 (09:21 +0000)] 
Fix comment.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1252

21 years agoTweak debug output.
Nicholas Nethercote [Sun, 3 Jul 2005 20:22:39 +0000 (20:22 +0000)] 
Tweak debug output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4103

21 years agoComment changes only.
Nicholas Nethercote [Sun, 3 Jul 2005 20:22:07 +0000 (20:22 +0000)] 
Comment changes only.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4102

21 years agoRemove dead function.
Nicholas Nethercote [Sun, 3 Jul 2005 18:45:37 +0000 (18:45 +0000)] 
Remove dead function.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4101

21 years agoChanged m_hashtable.c to allow the size of the hash table to be specified
Nicholas Nethercote [Sun, 3 Jul 2005 17:53:11 +0000 (17:53 +0000)] 
Changed m_hashtable.c to allow the size of the hash table to be specified
when it is created.  Fortunately this didn't affect code outside this
module except for the calls to VG_(HT_construct)().

As a result, we save some memory because not all tables have to be as big
as the ones needed for malloc/free tracking.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4100

21 years agowhoops
Nicholas Nethercote [Sun, 3 Jul 2005 17:10:04 +0000 (17:10 +0000)] 
whoops

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4099

21 years agoRemove now-obsolete .supp file for glibc-2.1.
Nicholas Nethercote [Sun, 3 Jul 2005 16:08:58 +0000 (16:08 +0000)] 
Remove now-obsolete .supp file for glibc-2.1.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4098

21 years agoThese directories no longer exist.
Nicholas Nethercote [Sun, 3 Jul 2005 16:08:12 +0000 (16:08 +0000)] 
These directories no longer exist.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4097

21 years agogcc-4.0.1 rejects insn_{mmx,sse,sse2}.c despite the fact that
Julian Seward [Sun, 3 Jul 2005 10:41:02 +0000 (10:41 +0000)] 
gcc-4.0.1 rejects insn_{mmx,sse,sse2}.c despite the fact that
gcc-4.0.0 accepted it.  This commit adds flags to placate 4.0.1 (from
Dirk Mueller).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4096

21 years agoglibc-2.1 is now so ancient that it's probably untrue we still support it.
Julian Seward [Sun, 3 Jul 2005 10:18:33 +0000 (10:18 +0000)] 
glibc-2.1 is now so ancient that it's probably untrue we still support it.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4095

21 years agoUpdate ignores.
Robert Walsh [Sun, 3 Jul 2005 06:07:16 +0000 (06:07 +0000)] 
Update ignores.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4094

21 years agoGet rid of endianness assumption in client-request-spotter.
Julian Seward [Sun, 3 Jul 2005 01:51:29 +0000 (01:51 +0000)] 
Get rid of endianness assumption in client-request-spotter.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1251

21 years agoChange type of deltas from ULong to Long throughout. Probably
Julian Seward [Sun, 3 Jul 2005 01:03:01 +0000 (01:03 +0000)] 
Change type of deltas from ULong to Long throughout.  Probably
pointless.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1250

21 years agoChange type of deltas from UInt to Int throughout. Probably
Julian Seward [Sun, 3 Jul 2005 00:52:48 +0000 (00:52 +0000)] 
Change type of deltas from UInt to Int throughout.  Probably
pointless.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1249

21 years agoRemove trailing slash (some part of the autoswamp didn't like it)
Julian Seward [Sun, 3 Jul 2005 00:50:48 +0000 (00:50 +0000)] 
Remove trailing slash (some part of the autoswamp didn't like it)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4093

21 years agoType casting cleanups.
Julian Seward [Sun, 3 Jul 2005 00:05:31 +0000 (00:05 +0000)] 
Type casting cleanups.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1248

21 years agoRemoved the remnants of the attempt at an ARM port, because it had
Nicholas Nethercote [Sat, 2 Jul 2005 23:13:59 +0000 (23:13 +0000)] 
Removed the remnants of the attempt at an ARM port, because it had
bit-rotted badly and was clogging up the code.

I put the useful remnants in docs/porting-to-ARM in case anyone ever
wants to try porting to ARM again.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4092

21 years agoMake the unique tags printed on XML errors actually unique.
Julian Seward [Sat, 2 Jul 2005 21:16:30 +0000 (21:16 +0000)] 
Make the unique tags printed on XML errors actually unique.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4091

21 years agoxml1: add another .stderr.exp file for slightly different systems, and
Nicholas Nethercote [Sat, 2 Jul 2005 21:14:19 +0000 (21:14 +0000)] 
xml1:  add another .stderr.exp file for slightly different systems, and
make the stderr.exp64 consistent with the improved filtering.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4090

21 years agoUpdate expected output. Hopefully this won't be so fragile now
Julian Seward [Sat, 2 Jul 2005 20:43:05 +0000 (20:43 +0000)] 
Update expected output.  Hopefully this won't be so fragile now
(famous last words).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4089

21 years agoImprove filtering to get rid of suppressions, using magic incantations
Julian Seward [Sat, 2 Jul 2005 20:41:25 +0000 (20:41 +0000)] 
Improve filtering to get rid of suppressions, using magic incantations
from Tom H and Ashley Pittman.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4088

21 years agoKludge to stop this program hanging on ppc32-linux and therefore
Julian Seward [Sat, 2 Jul 2005 20:11:59 +0000 (20:11 +0000)] 
Kludge to stop this program hanging on ppc32-linux and therefore
messing up the testsuite.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4087

21 years agoThe logic that drove basic block to IR disassembly had been duplicated
Julian Seward [Sat, 2 Jul 2005 19:24:10 +0000 (19:24 +0000)] 
The logic that drove basic block to IR disassembly had been duplicated
over the 3 front ends (x86, amd64, ppc32).  Given the need to take
into account basic block chasing, adding of instruction marks, etc,
the logic is not completely straightforward, and so commoning it up is
a good thing.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1247

21 years agoDon't need a foo_SOURCES line if the program has only a single source file
Nicholas Nethercote [Sat, 2 Jul 2005 18:24:58 +0000 (18:24 +0000)] 
Don't need a foo_SOURCES line if the program has only a single source file
named foo.c.

Now again using the right flags for building fpu_lazy_eflags.c, too.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4086

21 years agoFixed 'make dist'. In particular, all the arch/platform-specific files
Nicholas Nethercote [Sat, 2 Jul 2005 17:36:11 +0000 (17:36 +0000)] 
Fixed 'make dist'.  In particular, all the arch/platform-specific files
get included in the distro now, not just the ones for the arch/platform
that the distro tarball is built on.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4085

21 years agoFix scalar.
Nicholas Nethercote [Sat, 2 Jul 2005 17:15:28 +0000 (17:15 +0000)] 
Fix scalar.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4084

21 years agoAvoid compile warning.
Nicholas Nethercote [Sat, 2 Jul 2005 17:11:07 +0000 (17:11 +0000)] 
Avoid compile warning.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4083

21 years agoTry to make (client) clone() work for ppc32-linux. I don't know if I
Julian Seward [Sat, 2 Jul 2005 11:27:02 +0000 (11:27 +0000)] 
Try to make (client) clone() work for ppc32-linux.  I don't know if I
was successful for real uses of clone, but fork-disguised-as-clone
appears to work now.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4082

21 years agoA few more syscalls for ppc32-linux.
Julian Seward [Sat, 2 Jul 2005 10:13:34 +0000 (10:13 +0000)] 
A few more syscalls for ppc32-linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4081

21 years agoImplement VG_(getsockname), VG_(getpeername), VG_(getsockopt) for ppc32-linux.
Julian Seward [Sat, 2 Jul 2005 10:13:05 +0000 (10:13 +0000)] 
Implement VG_(getsockname), VG_(getpeername), VG_(getsockopt) for ppc32-linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4080

21 years agoah, crap
Nicholas Nethercote [Sat, 2 Jul 2005 02:56:02 +0000 (02:56 +0000)] 
ah, crap

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4079

21 years agoRemove unnecesary #includes.
Nicholas Nethercote [Sat, 2 Jul 2005 01:59:28 +0000 (01:59 +0000)] 
Remove unnecesary #includes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4078

21 years agoFix backend bug: the immediate on PPC32AMode_IR is 16 bits signed, not
Julian Seward [Sat, 2 Jul 2005 01:29:32 +0000 (01:29 +0000)] 
Fix backend bug: the immediate on PPC32AMode_IR is 16 bits signed, not
unsigned.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1246

21 years agoRemoved Corecheck, as it no longer serves a useful purpose.
Nicholas Nethercote [Fri, 1 Jul 2005 22:20:34 +0000 (22:20 +0000)] 
Removed Corecheck, as it no longer serves a useful purpose.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4077

21 years agoReinstated a couple more syscalls
Cerion Armour-Brown [Fri, 1 Jul 2005 22:06:55 +0000 (22:06 +0000)] 
Reinstated a couple more syscalls

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4076

21 years agoRemove ancient and presumably (since it doesn't work) now-unused script.
Nicholas Nethercote [Fri, 1 Jul 2005 22:00:50 +0000 (22:00 +0000)] 
Remove ancient and presumably (since it doesn't work) now-unused script.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4075

21 years agoImplemented altivec load: lvx - xfontsel runs now (tool=none)
Cerion Armour-Brown [Fri, 1 Jul 2005 21:16:10 +0000 (21:16 +0000)] 
Implemented altivec load: lvx - xfontsel runs now (tool=none)
plus a little cleaning of toIR.c

git-svn-id: svn://svn.valgrind.org/vex/trunk@1245

21 years agoCleaned up read/write register functions, wrt XER, and fixed a bug for write to VSCR.
Cerion Armour-Brown [Fri, 1 Jul 2005 18:56:33 +0000 (18:56 +0000)] 
Cleaned up read/write register functions, wrt XER, and fixed a bug for write to VSCR.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1244

21 years agoFixed a couple of bugs relating to condition register reading/writing, and conditiona...
Cerion Armour-Brown [Fri, 1 Jul 2005 18:44:52 +0000 (18:44 +0000)] 
Fixed a couple of bugs relating to condition register reading/writing, and conditional register logic

git-svn-id: svn://svn.valgrind.org/vex/trunk@1243

21 years agocomment-only change: renumber register offsets correctly
Cerion Armour-Brown [Fri, 1 Jul 2005 18:41:01 +0000 (18:41 +0000)] 
comment-only change: renumber register offsets correctly

git-svn-id: svn://svn.valgrind.org/vex/trunk@1242

21 years agoYet Another Folding Rule (YAFR) (tm)
Julian Seward [Fri, 1 Jul 2005 10:51:24 +0000 (10:51 +0000)] 
Yet Another Folding Rule (YAFR) (tm)

git-svn-id: svn://svn.valgrind.org/vex/trunk@1241

21 years agoTrack recent API change (introduction of VexArchInfo).
Julian Seward [Fri, 1 Jul 2005 10:50:50 +0000 (10:50 +0000)] 
Track recent API change (introduction of VexArchInfo).

git-svn-id: svn://svn.valgrind.org/vex/trunk@1240

21 years agoReinstate wrappers for epoll_{create,wait,ctl}.
Julian Seward [Fri, 1 Jul 2005 08:39:38 +0000 (08:39 +0000)] 
Reinstate wrappers for epoll_{create,wait,ctl}.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4074

21 years agoMove the last remaining tests out of corecheck.
Nicholas Nethercote [Fri, 1 Jul 2005 04:15:36 +0000 (04:15 +0000)] 
Move the last remaining tests out of corecheck.

Also introduced VG_(showing_core_errors)() to make core error display
more consistent.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4073

21 years agoTrack Vex API change (r1239, introduction of endianness-indications in
Julian Seward [Thu, 30 Jun 2005 23:33:37 +0000 (23:33 +0000)] 
Track Vex API change (r1239, introduction of endianness-indications in
IR loads and stores.)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4072

21 years agoUpdate expected output.
Julian Seward [Thu, 30 Jun 2005 23:32:30 +0000 (23:32 +0000)] 
Update expected output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4071

21 years agoEnhance IR so as to distinguish between little- and big-endian loads and
Julian Seward [Thu, 30 Jun 2005 23:31:27 +0000 (23:31 +0000)] 
Enhance IR so as to distinguish between little- and big-endian loads and
stores, so that PPC can be properly handled.  Until now it's been hardwired
to assume little-endian.

As a result, IRStmt_STle is renamed IRStmt_Store and IRExpr_LDle is
renamed IRExpr_Load.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1239

21 years agoAdd missing #include.
Julian Seward [Thu, 30 Jun 2005 23:20:30 +0000 (23:20 +0000)] 
Add missing #include.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4070

21 years agodeltaIRStmt: handle IRStmt_MFence.
Julian Seward [Thu, 30 Jun 2005 13:38:38 +0000 (13:38 +0000)] 
deltaIRStmt: handle IRStmt_MFence.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1238

21 years agoFix pointer-type mismatches.
Julian Seward [Thu, 30 Jun 2005 12:50:50 +0000 (12:50 +0000)] 
Fix pointer-type mismatches.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1237

21 years agoUpdate expected output.
Julian Seward [Thu, 30 Jun 2005 12:40:17 +0000 (12:40 +0000)] 
Update expected output.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4069

21 years agoComment wibble
Julian Seward [Thu, 30 Jun 2005 12:26:18 +0000 (12:26 +0000)] 
Comment wibble

git-svn-id: svn://svn.valgrind.org/vex/trunk@1236

21 years agoFill in guest_ppc32_state_requires_precise_mem_exns() properly, so Vex
Julian Seward [Thu, 30 Jun 2005 12:21:04 +0000 (12:21 +0000)] 
Fill in guest_ppc32_state_requires_precise_mem_exns() properly, so Vex
has a bit more of a chance of optimising the IR.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1235

21 years agoRestrict assertion to cache lines we know we need.
Julian Seward [Thu, 30 Jun 2005 12:11:19 +0000 (12:11 +0000)] 
Restrict assertion to cache lines we know we need.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4068

21 years agoppc32-linux: Vex implements dcbz correctly now. No need to mess with
Julian Seward [Thu, 30 Jun 2005 12:10:45 +0000 (12:10 +0000)] 
ppc32-linux: Vex implements dcbz correctly now.  No need to mess with
the auxv to fool glibc into not using it.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4067

21 years agoConnect up the plumbing which allows the ppc32 front end to know the
Julian Seward [Thu, 30 Jun 2005 12:08:48 +0000 (12:08 +0000)] 
Connect up the plumbing which allows the ppc32 front end to know the
cache line size it is supposed to simulate.  Use this in
dis_cache_manage().  Finally reinstate 'dcbz'.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1234

21 years agoTrack Vex API change in r1233 (VexSubArch -> VexArchInfo).
Julian Seward [Thu, 30 Jun 2005 11:50:11 +0000 (11:50 +0000)] 
Track Vex API change in r1233 (VexSubArch -> VexArchInfo).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4066

21 years ago(API-visible change): generalise the VexSubArch idea. Everywhere
Julian Seward [Thu, 30 Jun 2005 11:49:14 +0000 (11:49 +0000)] 
(API-visible change): generalise the VexSubArch idea.  Everywhere
where a VexSubArch was previously passed around, a VexArchInfo is now
passed around.  This is a struct which carries more details about any
given architecture and in particular gives a clean way to pass around
info about PPC cache line sizes, which is needed for guest-side PPC.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1233

21 years agoMove some more Corecheck tests into none/tests.
Nicholas Nethercote [Thu, 30 Jun 2005 04:41:56 +0000 (04:41 +0000)] 
Move some more Corecheck tests into none/tests.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4065

21 years agoAvoid compiler warning.
Nicholas Nethercote [Thu, 30 Jun 2005 04:09:11 +0000 (04:09 +0000)] 
Avoid compiler warning.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4064

21 years agoAllow for glibc-2.4.
Nicholas Nethercote [Thu, 30 Jun 2005 04:06:38 +0000 (04:06 +0000)] 
Allow for glibc-2.4.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4063

21 years agoUpdate valgrind.spec.in for all the new files in include/.
Nicholas Nethercote [Thu, 30 Jun 2005 03:44:55 +0000 (03:44 +0000)] 
Update valgrind.spec.in for all the new files in include/.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4062

21 years agoTry to make toobig-allocs work on 64-bit platforms.
Nicholas Nethercote [Thu, 30 Jun 2005 02:34:32 +0000 (02:34 +0000)] 
Try to make toobig-allocs work on 64-bit platforms.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4061

21 years agoMove a bunch of tests from corecheck/tests/ to none/tests/.
Nicholas Nethercote [Thu, 30 Jun 2005 02:15:59 +0000 (02:15 +0000)] 
Move a bunch of tests from corecheck/tests/ to none/tests/.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4060

21 years agoRecord important info about Segments and SegInfos.
Nicholas Nethercote [Thu, 30 Jun 2005 00:54:02 +0000 (00:54 +0000)] 
Record important info about Segments and SegInfos.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4059

21 years agoacroread-5.06 for x86-linux requires up to 598 CIEs. Bump the array
Julian Seward [Thu, 30 Jun 2005 00:22:38 +0000 (00:22 +0000)] 
acroread-5.06 for x86-linux requires up to 598 CIEs.  Bump the array
size accordingly.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4058

21 years agoAvoid magic numbers.
Nicholas Nethercote [Thu, 30 Jun 2005 00:16:02 +0000 (00:16 +0000)] 
Avoid magic numbers.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4057

21 years agoA couple more XML cases that slipped through the net.
Julian Seward [Thu, 30 Jun 2005 00:10:16 +0000 (00:10 +0000)] 
A couple more XML cases that slipped through the net.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4056

21 years agoXML output wibble (purely decorative)
Julian Seward [Wed, 29 Jun 2005 23:38:33 +0000 (23:38 +0000)] 
XML output wibble (purely decorative)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4055