]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
21 years agoFix incorrect DIP.
Julian Seward [Tue, 29 Mar 2005 21:33:11 +0000 (21:33 +0000)] 
Fix incorrect DIP.

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

21 years agoIncrease default max bb size from 50 to 60 guest instructions.
Julian Seward [Tue, 29 Mar 2005 21:32:41 +0000 (21:32 +0000)] 
Increase default max bb size from 50 to 60 guest instructions.

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

21 years agoFixed ROUNDDN to avoid truncating the result when the first argument
Tom Hughes [Tue, 29 Mar 2005 12:16:10 +0000 (12:16 +0000)] 
Fixed ROUNDDN to avoid truncating the result when the first argument
doesn't fit in 32 bits and the second one does.

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

21 years agoBuild the arch and platform libraries as PIE code when appropriate.
Tom Hughes [Tue, 29 Mar 2005 10:03:04 +0000 (10:03 +0000)] 
Build the arch and platform libraries as PIE code when appropriate.

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

21 years agoRevive VG_(cpuid) which had been commented out during the merge and
Tom Hughes [Tue, 29 Mar 2005 09:53:47 +0000 (09:53 +0000)] 
Revive VG_(cpuid) which had been commented out during the merge and
add VG_(has_cpuid) as well. These are then used in place of the inline
assembly in state.c as the compiler was having trouble allocating the
required registers when building in PIE mode.

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

21 years agoRework inline assembly to avoid requiring specific registers as they
Tom Hughes [Tue, 29 Mar 2005 09:52:21 +0000 (09:52 +0000)] 
Rework inline assembly to avoid requiring specific registers as they
may not always be available, especially in PIE builds.

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

21 years agoAvoid truncating addresses returned from mmap on 64 bit platforms.
Tom Hughes [Tue, 29 Mar 2005 09:00:37 +0000 (09:00 +0000)] 
Avoid truncating addresses returned from mmap on 64 bit platforms.

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

21 years agoAvoid truncating addresses in debugging message.
Tom Hughes [Tue, 29 Mar 2005 09:00:12 +0000 (09:00 +0000)] 
Avoid truncating addresses in debugging message.

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

21 years agoBuild the arch, os and platform libraries as PIE code if PIE is
Tom Hughes [Tue, 29 Mar 2005 08:09:31 +0000 (08:09 +0000)] 
Build the arch, os and platform libraries as PIE code if PIE is
enabled as they get linked into stage2 which is the PIE part.

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

21 years agoFix overnight build script to use subversion to get the source and
Tom Hughes [Tue, 29 Mar 2005 07:54:30 +0000 (07:54 +0000)] 
Fix overnight build script to use subversion to get the source and
to handle needing to checkout and build vex before valgrind.

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

21 years agoFixed test result to be independent of the system address size.
Tom Hughes [Tue, 29 Mar 2005 07:40:04 +0000 (07:40 +0000)] 
Fixed test result to be independent of the system address size.

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

21 years agoThe open system call has a post handler.
Tom Hughes [Mon, 28 Mar 2005 23:25:58 +0000 (23:25 +0000)] 
The open system call has a post handler.

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

21 years agoImplement some more system calls on amd64.
Tom Hughes [Mon, 28 Mar 2005 18:19:45 +0000 (18:19 +0000)] 
Implement some more system calls on amd64.

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

21 years agoActually setup the arguments for a signal handler before running
Tom Hughes [Mon, 28 Mar 2005 18:19:21 +0000 (18:19 +0000)] 
Actually setup the arguments for a signal handler before running
it - that way the signal might do what is expected.

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

21 years agomore icc -Wall cleanups
Julian Seward [Mon, 28 Mar 2005 00:46:27 +0000 (00:46 +0000)] 
more icc -Wall cleanups

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

21 years agoReinstate a few more syscalls.
Julian Seward [Sun, 27 Mar 2005 18:20:26 +0000 (18:20 +0000)] 
Reinstate a few more syscalls.

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

21 years agoHandle Grp8 w/immediate arg.
Julian Seward [Sun, 27 Mar 2005 17:59:45 +0000 (17:59 +0000)] 
Handle Grp8 w/immediate arg.

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

21 years agoFix a stupid bug causing FP instructions to sometimes be ignored, and
Julian Seward [Sun, 27 Mar 2005 17:36:08 +0000 (17:36 +0000)] 
Fix a stupid bug causing FP instructions to sometimes be ignored, and
fill in various missing cases.

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

21 years agoRemove an out-of-date FAQ, putting the still-relevant part in another
Nicholas Nethercote [Sun, 27 Mar 2005 17:05:08 +0000 (17:05 +0000)] 
Remove an out-of-date FAQ, putting the still-relevant part in another
question.  Man, double maintenance sucks.  And when/how does the website FAQ
get updated...?

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

21 years agoImplement yet more amd64 instructions.
Julian Seward [Sun, 27 Mar 2005 05:08:32 +0000 (05:08 +0000)] 
Implement yet more amd64 instructions.

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

21 years agoRe-enable a couple of SSE MOVQ cases.
Julian Seward [Sun, 27 Mar 2005 04:48:32 +0000 (04:48 +0000)] 
Re-enable a couple of SSE MOVQ cases.

Observe that MOVQ is probably subtly broken on both x86 and amd64 wrt
zeroing out upper halves of destination registers.  This should be
checked out.

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

21 years agocomment-only change
Julian Seward [Sun, 27 Mar 2005 04:08:09 +0000 (04:08 +0000)] 
comment-only change

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

21 years agoFix many amd64 floating point cases that were missing.
Julian Seward [Sun, 27 Mar 2005 04:01:15 +0000 (04:01 +0000)] 
Fix many amd64 floating point cases that were missing.

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

21 years agoVG_(get_memory_from_mmap_for_client)() need not be tool-visible.
Nicholas Nethercote [Sun, 27 Mar 2005 03:48:13 +0000 (03:48 +0000)] 
VG_(get_memory_from_mmap_for_client)() need not be tool-visible.

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

21 years agoRemove the "vg_" prefix from a lot of non-global variables.
Nicholas Nethercote [Sun, 27 Mar 2005 03:40:28 +0000 (03:40 +0000)] 
Remove the "vg_" prefix from a lot of non-global variables.

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

21 years agoVG_(bbs_done) doesn't need to be tool-visible.
Nicholas Nethercote [Sun, 27 Mar 2005 03:17:52 +0000 (03:17 +0000)] 
VG_(bbs_done) doesn't need to be tool-visible.

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

21 years agoRemove dead field '.siginfo' from ThreadState(!)
Nicholas Nethercote [Sun, 27 Mar 2005 02:38:15 +0000 (02:38 +0000)] 
Remove dead field '.siginfo' from ThreadState(!)

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

21 years agoImplement ldmxcsr/stmxcsr.
Julian Seward [Sun, 27 Mar 2005 02:22:32 +0000 (02:22 +0000)] 
Implement ldmxcsr/stmxcsr.

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

21 years agoLooks like I forgot to tell memcheck not to bother to track
Julian Seward [Sun, 27 Mar 2005 02:21:52 +0000 (02:21 +0000)] 
Looks like I forgot to tell memcheck not to bother to track
definedness of the sse rounding mode info.  Fixed.

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

21 years agoMore paranoia
Julian Seward [Sun, 27 Mar 2005 02:20:56 +0000 (02:20 +0000)] 
More paranoia

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

21 years agoRemove dead macros and declaration.
Nicholas Nethercote [Sun, 27 Mar 2005 02:01:31 +0000 (02:01 +0000)] 
Remove dead macros and declaration.

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

21 years agoAdd VGA_ prefix to the arch-specific macros {MIN,MAX}_INSTR_SIZE and
Nicholas Nethercote [Sun, 27 Mar 2005 01:55:21 +0000 (01:55 +0000)] 
Add VGA_ prefix to the arch-specific macros {MIN,MAX}_INSTR_SIZE and
REGPARMS.

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

21 years agoAdd VG_ prefix to SKIPLIST_INIT and IS_*_ALIGNED macros. Also pull
Nicholas Nethercote [Sun, 27 Mar 2005 01:42:41 +0000 (01:42 +0000)] 
Add VG_ prefix to SKIPLIST_INIT and IS_*_ALIGNED macros.  Also pull
IS_PAGE_ALIGNED into tool.h with the others.

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

21 years agoTrack generic and x86 changes.
Julian Seward [Sun, 27 Mar 2005 01:35:16 +0000 (01:35 +0000)] 
Track generic and x86 changes.

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

21 years agoRemove dead macros 'mycat' and 'mycat_wrk'.
Nicholas Nethercote [Sun, 27 Mar 2005 01:27:17 +0000 (01:27 +0000)] 
Remove dead macros 'mycat' and 'mycat_wrk'.

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

21 years agoMerge STR and VG__STRING macros into one, VG_STRINGIFY. Also, in
Nicholas Nethercote [Sun, 27 Mar 2005 01:25:38 +0000 (01:25 +0000)] 
Merge STR and VG__STRING macros into one, VG_STRINGIFY.  Also, in
valgrind-listener.c, don't use the VG_ prefix on its equivalent, because
it's a local definition.

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

21 years agoMake the 'arg' parameter to VG_BOOL_CLO and similar macros explicit, rather
Nicholas Nethercote [Sun, 27 Mar 2005 01:00:11 +0000 (01:00 +0000)] 
Make the 'arg' parameter to VG_BOOL_CLO and similar macros explicit, rather
than implicit.  Also tweak some formatting of command-line arg code.

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

21 years agoRemove some old CLOs that were hanging around for backward compatibility.
Nicholas Nethercote [Sun, 27 Mar 2005 00:44:31 +0000 (00:44 +0000)] 
Remove some old CLOs that were hanging around for backward compatibility.

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

21 years agoPay attention to the annotations on dirty helper calls, since they
Julian Seward [Sat, 26 Mar 2005 21:55:21 +0000 (21:55 +0000)] 
Pay attention to the annotations on dirty helper calls, since they
they tell us about the memory transactions done by such calls.

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

21 years agoamd64 front/back end stuff needed to support x87 extended-real
Julian Seward [Sat, 26 Mar 2005 21:50:31 +0000 (21:50 +0000)] 
amd64 front/back end stuff needed to support x87 extended-real
loads/stores.

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

21 years agoFix comment.
Julian Seward [Sat, 26 Mar 2005 21:49:42 +0000 (21:49 +0000)] 
Fix comment.

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

21 years agoTweaks involving VG_(strncpy_safely)(), mostly to shorten code sequences.
Nicholas Nethercote [Sat, 26 Mar 2005 21:34:45 +0000 (21:34 +0000)] 
Tweaks involving VG_(strncpy_safely)(), mostly to shorten code sequences.

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

21 years agoMove some conversion functions (IEEE double <-> x87 extended-real
Julian Seward [Sat, 26 Mar 2005 20:33:38 +0000 (20:33 +0000)] 
Move some conversion functions (IEEE double <-> x87 extended-real
format) into their own module, so they can be shared by the x86 and
amd64 front ends.

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

21 years agoThe two patches attached resolve the exit-hang (of OOo) bug for me. The first
Nicholas Nethercote [Sat, 26 Mar 2005 20:08:06 +0000 (20:08 +0000)] 
The two patches attached resolve the exit-hang (of OOo) bug for me.  The first
fixes getppid(), and the second fixes the next bug which is revealed
once getppid() does what LinuxThreads wants;  LinuxThreads uses SIGKILL
to kill off stray threads, but if we send naked SIGKILLs to Valgrind
threads, they'll die without cleaning up or informing anyone of their
death, which means that they're waited on forever.

ADAPTED FROM CVS HEAD

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

21 years agoAdd missing declaration.
Nicholas Nethercote [Sat, 26 Mar 2005 20:03:07 +0000 (20:03 +0000)] 
Add missing declaration.

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

21 years agosys_futex's FUTEX_(CMP_)REQUEUE requests use the futex2 pointer (not
Nicholas Nethercote [Sat, 26 Mar 2005 16:44:19 +0000 (16:44 +0000)] 
sys_futex's FUTEX_(CMP_)REQUEUE requests use the futex2 pointer (not
timeout); FUTEX_CMP_REQUEUE also uses the timespec pointer as an integer.

Also, more clearly document the argument usages, and make the per-operation
special cases clearer.

MERGED FROM CVS HEAD

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

21 years agoHandle a couple kinds of executable mutation: a read-only bss, and a
Nicholas Nethercote [Sat, 26 Mar 2005 16:22:43 +0000 (16:22 +0000)] 
Handle a couple kinds of executable mutation: a read-only bss, and a
zero-length segment.

MERGED FROM CVS HEAD

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

21 years agoSkip a stab if it has no ':' at all.
Nicholas Nethercote [Sat, 26 Mar 2005 16:10:49 +0000 (16:10 +0000)] 
Skip a stab if it has no ':' at all.

MERGED FROM CVS HEAD

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

21 years agoSync NEWS with CVS version.
Nicholas Nethercote [Sat, 26 Mar 2005 16:04:27 +0000 (16:04 +0000)] 
Sync NEWS with CVS version.

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

21 years agoMore amd64 signal handling fixes (Tom Hughes)
Julian Seward [Sat, 26 Mar 2005 13:48:19 +0000 (13:48 +0000)] 
More amd64 signal handling fixes (Tom Hughes)

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

21 years agoOn amd64, use default cache sizes for now, rather than bombing out
Julian Seward [Sat, 26 Mar 2005 13:46:49 +0000 (13:46 +0000)] 
On amd64, use default cache sizes for now, rather than bombing out
completely.

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

21 years agoUnbreak amd64 build. We need to have an overnight autobuild running
Julian Seward [Sat, 26 Mar 2005 13:33:27 +0000 (13:33 +0000)] 
Unbreak amd64 build.  We need to have an overnight autobuild running
on amd64 asap.

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

21 years agoGenerate IRStmt_IMark so that cachegrind et al work on amd64.
Julian Seward [Sat, 26 Mar 2005 13:15:23 +0000 (13:15 +0000)] 
Generate IRStmt_IMark so that cachegrind et al work on amd64.

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

21 years agoMove an assertion to a better place.
Julian Seward [Sat, 26 Mar 2005 13:14:54 +0000 (13:14 +0000)] 
Move an assertion to a better place.

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

21 years agoUpdate the embedded memcheck instrumenter so it works again.
Julian Seward [Sat, 26 Mar 2005 13:02:20 +0000 (13:02 +0000)] 
Update the embedded memcheck instrumenter so it works again.

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

21 years agoUpdate comment.
Julian Seward [Sat, 26 Mar 2005 12:57:39 +0000 (12:57 +0000)] 
Update comment.

Stare at sanity checks but still fail to figure out how to make them
cheaper.  The register allocator's sanity checks consume 15%-20% of
the total running time of Vex.

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

21 years agoicc -Wall cleanups
Julian Seward [Sat, 26 Mar 2005 11:59:23 +0000 (11:59 +0000)] 
icc -Wall cleanups

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

21 years agoreinstate test_misc()
Julian Seward [Sat, 26 Mar 2005 11:58:50 +0000 (11:58 +0000)] 
reinstate test_misc()

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

21 years agoRemove unneeded vg_intercept.c.base, which was still hanging around from the
Nicholas Nethercote [Sat, 26 Mar 2005 04:20:04 +0000 (04:20 +0000)] 
Remove unneeded vg_intercept.c.base, which was still hanging around from the
CVS/SVN merge.  Also removed a reference to it in vg_replace_malloc.c.base.

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

21 years agoMake our VG_(isspace)() match libc's isspace(). And remove ISSPACE and
Nicholas Nethercote [Sat, 26 Mar 2005 04:14:01 +0000 (04:14 +0000)] 
Make our VG_(isspace)() match libc's isspace().  And remove ISSPACE and
VG_ISSPACE, replacing them with calls to VG_(isspace)().

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

21 years agoObsoleted three client requests that were still hanging around from the old
Nicholas Nethercote [Sat, 26 Mar 2005 03:50:14 +0000 (03:50 +0000)] 
Obsoleted three client requests that were still hanging around from the old
libpthread implementation: USERREQ__READ_MILLISECOND_TIMER, USERREQ__MALLOC,
USERREQ__FREE.

As a consequence, all the PTHREQ macros (eg. VGA_PTHREQ_RET,
SET_PTHREQ_RETVAL) could be removed.  And VG_(tl_malloc_called_by_scheduler)
has been renamed VG_(tl_malloc_called_deliberately) to reflect how its role
has changed.

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

21 years agoUse "VGO_" prefix for various OS-specific exports.
Nicholas Nethercote [Sat, 26 Mar 2005 02:57:36 +0000 (02:57 +0000)] 
Use "VGO_" prefix for various OS-specific exports.

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

21 years agoUse VGP_ prefix more consistently for platform-specific exports.
Nicholas Nethercote [Sat, 26 Mar 2005 02:42:31 +0000 (02:42 +0000)] 
Use VGP_ prefix more consistently for platform-specific exports.

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

21 years agoDon't use the VGP_ for profiling any more, just use VG_ -- we want to use
Nicholas Nethercote [Sat, 26 Mar 2005 00:42:02 +0000 (00:42 +0000)] 
Don't use the VGP_ for profiling any more, just use VG_ -- we want to use
VGP_ for platform-specific things.

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

21 years agoUse "VGA_" prefix more consistently.
Nicholas Nethercote [Sat, 26 Mar 2005 00:32:29 +0000 (00:32 +0000)] 
Use "VGA_" prefix more consistently.

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

21 years agoUse "VGA_" prefix more consistently for arch-specific things.
Nicholas Nethercote [Sat, 26 Mar 2005 00:18:45 +0000 (00:18 +0000)] 
Use "VGA_" prefix more consistently for arch-specific things.

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

21 years agoRename some arch-specific macros to use the more consistent "VGA_" prefix.
Nicholas Nethercote [Sat, 26 Mar 2005 00:04:03 +0000 (00:04 +0000)] 
Rename some arch-specific macros to use the more consistent "VGA_" prefix.

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

21 years agoAvoid compiler warnings.
Nicholas Nethercote [Fri, 25 Mar 2005 23:50:11 +0000 (23:50 +0000)] 
Avoid compiler warnings.

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

21 years agoRename M_VG_ERRTXT as VG_ERRTXT_LEN, which is more consistent with other
Nicholas Nethercote [Fri, 25 Mar 2005 23:47:16 +0000 (23:47 +0000)] 
Rename M_VG_ERRTXT as VG_ERRTXT_LEN, which is more consistent with other
names.

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

21 years agoA modularisation + refactoring commit. vg_execontext.c has been split into
Nicholas Nethercote [Fri, 25 Mar 2005 23:35:48 +0000 (23:35 +0000)] 
A modularisation + refactoring commit.  vg_execontext.c has been split into
two halves: stacktrace.c, which deals with getting, traversing and printing
stack traces;  and execontext.c, which deals with storing stack traces
permanently in a way that avoids duplicates, and comparing them.

One nice outcome:  previously we were often creating ExeContexts, which live
forever, even when they were only needed temporarily.  Ie. this was a memory
leak, which has been removed.

As part of this, new headers have been created, carved off core.h and
tool.h.  Lots of function names have changed, too.

In Massif, I also changed a lot of "eip" names to "ip" to make them less
x86-specific.

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

21 years agoFix bug? in do_put_x87 which would have resulting in FLDENV setting to
Julian Seward [Fri, 25 Mar 2005 22:39:28 +0000 (22:39 +0000)] 
Fix bug? in do_put_x87 which would have resulting in FLDENV setting to
zero registers which the to-be-loaded tag word indicates are empty.

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

21 years agoThe helper for FXAM wasn't setting the C1 flag correctly. This bug
Julian Seward [Fri, 25 Mar 2005 22:33:54 +0000 (22:33 +0000)] 
The helper for FXAM wasn't setting the C1 flag correctly.  This bug
is more-or-less undetectable at least if you use fstsw to examine
the results of FXAM, since fstsw doesn't copy C1.

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

21 years agoDo a sane level of testing.
Julian Seward [Fri, 25 Mar 2005 22:32:39 +0000 (22:32 +0000)] 
Do a sane level of testing.

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

21 years agoPut some ULLs at the end of 64-bit constants for good measure.
Julian Seward [Fri, 25 Mar 2005 20:31:46 +0000 (20:31 +0000)] 
Put some ULLs at the end of 64-bit constants for good measure.

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

21 years agoicc -Wall fixes
Julian Seward [Fri, 25 Mar 2005 20:30:58 +0000 (20:30 +0000)] 
icc -Wall fixes

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

21 years agoicc -Wall fixes
Julian Seward [Fri, 25 Mar 2005 20:30:32 +0000 (20:30 +0000)] 
icc -Wall fixes

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

21 years agoImplement %ffree.
Julian Seward [Fri, 25 Mar 2005 20:30:00 +0000 (20:30 +0000)] 
Implement %ffree.

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

21 years agoUpdate stuff in test harness.
Julian Seward [Fri, 25 Mar 2005 20:29:35 +0000 (20:29 +0000)] 
Update stuff in test harness.

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

21 years agoVery inadequate test program for fxam.
Julian Seward [Fri, 25 Mar 2005 20:29:00 +0000 (20:29 +0000)] 
Very inadequate test program for fxam.

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

21 years agoPlacate icc -Wall. Required hand-to-hand combat with icc, and I may
Julian Seward [Fri, 25 Mar 2005 14:39:37 +0000 (14:39 +0000)] 
Placate icc -Wall.  Required hand-to-hand combat with icc, and I may
have broken something.

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

21 years agoPlacate icc -Wall.
Julian Seward [Fri, 25 Mar 2005 14:07:11 +0000 (14:07 +0000)] 
Placate icc -Wall.

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

21 years agoIcc typechecker police.
Julian Seward [Fri, 25 Mar 2005 13:48:55 +0000 (13:48 +0000)] 
Icc typechecker police.

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

21 years agoFix some isel cases pertaining to 1-bit values. This makes lackey
Julian Seward [Thu, 24 Mar 2005 20:40:12 +0000 (20:40 +0000)] 
Fix some isel cases pertaining to 1-bit values.  This makes lackey
work on amd64.  Yay!

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

21 years agoDon't shout about kludged rdtsc
Julian Seward [Thu, 24 Mar 2005 20:39:05 +0000 (20:39 +0000)] 
Don't shout about kludged rdtsc

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

21 years agosetup_pointercheck(): be silent
Julian Seward [Thu, 24 Mar 2005 20:38:24 +0000 (20:38 +0000)] 
setup_pointercheck(): be silent

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

21 years agoInitial get-threads-working patch (Tom Hughes)
Julian Seward [Thu, 24 Mar 2005 19:38:57 +0000 (19:38 +0000)] 
Initial get-threads-working patch (Tom Hughes)

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

21 years agoSync ACKNOWLEDGEMENTS with the CVS version.
Nicholas Nethercote [Thu, 24 Mar 2005 18:35:41 +0000 (18:35 +0000)] 
Sync ACKNOWLEDGEMENTS with the CVS version.

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

21 years agoVarious amd64 syscall improvements (Tom Hughes)
Julian Seward [Thu, 24 Mar 2005 17:52:02 +0000 (17:52 +0000)] 
Various amd64 syscall improvements (Tom Hughes)

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

21 years agoA first cut at amd64 signal frame build/unbuild, from Tom Hughes.
Julian Seward [Thu, 24 Mar 2005 17:48:02 +0000 (17:48 +0000)] 
A first cut at amd64 signal frame build/unbuild, from Tom Hughes.

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

21 years agoRemove a couple of compiler warnings.
Nicholas Nethercote [Thu, 24 Mar 2005 04:44:26 +0000 (04:44 +0000)] 
Remove a couple of compiler warnings.

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

21 years agoBah, get the compiler-warning avoidance right this time.
Nicholas Nethercote [Thu, 24 Mar 2005 04:41:16 +0000 (04:41 +0000)] 
Bah, get the compiler-warning avoidance right this time.

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

21 years agoAvoid numerous compiler warnings by being more precise with REGPARM
Nicholas Nethercote [Thu, 24 Mar 2005 04:40:08 +0000 (04:40 +0000)] 
Avoid numerous compiler warnings by being more precise with REGPARM
attributes in declarations.

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

21 years agoAvoid compile warning.
Nicholas Nethercote [Thu, 24 Mar 2005 04:39:33 +0000 (04:39 +0000)] 
Avoid compile warning.

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

21 years agoTrack recent Vex change, in order to remove a compile warning.
Nicholas Nethercote [Thu, 24 Mar 2005 04:35:11 +0000 (04:35 +0000)] 
Track recent Vex change, in order to remove a compile warning.

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

21 years agoAvoid GCC warnings by adding necessary declarations for non-static
Nicholas Nethercote [Thu, 24 Mar 2005 04:15:44 +0000 (04:15 +0000)] 
Avoid GCC warnings by adding necessary declarations for non-static
functions.

Also, renamed VALGRIND_INTERNAL_PRINTF() and internal_printf().

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

21 years agoUse a macro to add declarations for functions like memcpy(), so that GCC
Nicholas Nethercote [Thu, 24 Mar 2005 04:00:03 +0000 (04:00 +0000)] 
Use a macro to add declarations for functions like memcpy(), so that GCC
doesn't warn about missing declarations.

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

21 years agoReinstate 'xadd' instruction.
Julian Seward [Wed, 23 Mar 2005 13:34:11 +0000 (13:34 +0000)] 
Reinstate 'xadd' instruction.

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

21 years agoMake the regtests buildable on amd64, by moving various x86 specific
Julian Seward [Wed, 23 Mar 2005 13:32:27 +0000 (13:32 +0000)] 
Make the regtests buildable on amd64, by moving various x86 specific
programs to the right place.

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

21 years agoWibble
Julian Seward [Wed, 23 Mar 2005 13:31:48 +0000 (13:31 +0000)] 
Wibble

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

21 years agocachegrind/tests/myprintf needs -fPIC on amd64
Julian Seward [Wed, 23 Mar 2005 13:11:14 +0000 (13:11 +0000)] 
cachegrind/tests/myprintf needs -fPIC on amd64

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