]> git.ipfire.org Git - thirdparty/valgrind.git/log
thirdparty/valgrind.git
21 years agoMore instructions: moves, and conditional jumps.
Julian Seward [Fri, 28 Jan 2005 13:46:29 +0000 (13:46 +0000)] 
More instructions: moves, and conditional jumps.

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

21 years agoChange a couple of panics into decode failures, which is what they
Julian Seward [Fri, 28 Jan 2005 13:45:42 +0000 (13:45 +0000)] 
Change a couple of panics into decode failures, which is what they
should be.

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

21 years agoMess around a bit with icc's (jolly useful) collection of
Julian Seward [Fri, 28 Jan 2005 01:53:38 +0000 (01:53 +0000)] 
Mess around a bit with icc's (jolly useful) collection of
ultra-paranoid flags.

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

21 years agoFix various type inconsistencies picked up by icc running in
Julian Seward [Fri, 28 Jan 2005 01:36:56 +0000 (01:36 +0000)] 
Fix various type inconsistencies picked up by icc running in
ultra-paranoid mode.

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

21 years agoDo more insns: inc idiv imul
Julian Seward [Fri, 28 Jan 2005 00:50:10 +0000 (00:50 +0000)] 
Do more insns: inc idiv imul

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

21 years agoCleaned up and filled out:
Cerion Armour-Brown [Thu, 27 Jan 2005 23:02:41 +0000 (23:02 +0000)] 
Cleaned up and filled out:
Added some clean helper functions to calculate CR0 and XER flags
Made a start on add and branch ops (mostly to get a feel, will prob have
to redo)

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

21 years agoamd64 front end marches ever onwards.
Julian Seward [Thu, 27 Jan 2005 20:12:52 +0000 (20:12 +0000)] 
amd64 front end marches ever onwards.

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

21 years agoHack on through the undergrowth. Still a long way from anything
Julian Seward [Thu, 27 Jan 2005 16:06:23 +0000 (16:06 +0000)] 
Hack on through the undergrowth.  Still a long way from anything
working.

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

21 years agoAdd a folding rule for a very common idiom of the amd64 front end.
Julian Seward [Thu, 27 Jan 2005 16:05:09 +0000 (16:05 +0000)] 
Add a folding rule for a very common idiom of the amd64 front end.

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

21 years agoSync with ./Makefile changes
Julian Seward [Thu, 27 Jan 2005 16:04:08 +0000 (16:04 +0000)] 
Sync with ./Makefile changes

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

21 years agoFix spelling error in error msg. Duh.
Julian Seward [Wed, 26 Jan 2005 01:24:34 +0000 (01:24 +0000)] 
Fix spelling error in error msg.  Duh.

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

21 years agoTry and get the amd64 address mode mess sorted out a bit.
Julian Seward [Wed, 26 Jan 2005 01:19:35 +0000 (01:19 +0000)] 
Try and get the amd64 address mode mess sorted out a bit.

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

21 years agoVerify that the x86 address mode decoder is really right, and reword a
Julian Seward [Wed, 26 Jan 2005 00:01:52 +0000 (00:01 +0000)] 
Verify that the x86 address mode decoder is really right, and reword a
failure message.

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

21 years agochanged all occurences of ppc to ppc32 (filenames and text)
Cerion Armour-Brown [Tue, 25 Jan 2005 17:21:23 +0000 (17:21 +0000)] 
changed all occurences of ppc to ppc32 (filenames and text)

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

21 years agooops, more cpustate stuff
Cerion Armour-Brown [Tue, 25 Jan 2005 16:58:21 +0000 (16:58 +0000)] 
oops, more cpustate stuff

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

21 years agoupdated cpustate
Cerion Armour-Brown [Tue, 25 Jan 2005 16:56:18 +0000 (16:56 +0000)] 
updated cpustate

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

21 years agoMucho baseline hacking to get amd64 front end to work. No luck so far :-)
Julian Seward [Tue, 25 Jan 2005 15:48:43 +0000 (15:48 +0000)] 
Mucho baseline hacking to get amd64 front end to work.  No luck so far :-)

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

21 years agoDon't do anything special with "rep nop". The former behaviour was to
Julian Seward [Tue, 25 Jan 2005 15:47:39 +0000 (15:47 +0000)] 
Don't do anything special with "rep nop".  The former behaviour was to
notify the scheduler that this thread wants to yield, but that gives
such huge delays as to mess up spin-wait loops using "rep nop".  New
behaviour is to simply treat it as a no-op, with no scheduling
consequences.

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

21 years agoInitial file setup for guest-ppc
Cerion Armour-Brown [Tue, 25 Jan 2005 12:24:25 +0000 (12:24 +0000)] 
Initial file setup for guest-ppc

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

21 years agoTest hackery for chasing across conditional branches. Experimental
Julian Seward [Mon, 24 Jan 2005 11:54:11 +0000 (11:54 +0000)] 
Test hackery for chasing across conditional branches.  Experimental
and currently disabled.

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

21 years agoThis commit does multiple things (bad, I know):
Julian Seward [Mon, 24 Jan 2005 10:49:02 +0000 (10:49 +0000)] 
This commit does multiple things (bad, I know):
* Rearranged the order of functions in ghelpers.c to be cleaner and
  tidier
* Improved the %eflags-profiling machinery in ghelpers.c, so I can
  better understand the numbers it produces
* Using that, add some more eflags specialisation cases
* Make calculate_eflags_c into a regparm(3) function, since it can
  get called quite a lot.

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

21 years agoIncrease the number of top-bbs in a profile to a useful number.
Julian Seward [Mon, 24 Jan 2005 10:42:46 +0000 (10:42 +0000)] 
Increase the number of top-bbs in a profile to a useful number.

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

21 years agoMore tuning of the eflags machinery.
Julian Seward [Sun, 23 Jan 2005 11:39:02 +0000 (11:39 +0000)] 
More tuning of the eflags machinery.

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

21 years agoAnother speedup case resulting from profiled runs of bzip2.
Julian Seward [Sat, 22 Jan 2005 11:00:42 +0000 (11:00 +0000)] 
Another speedup case resulting from profiled runs of bzip2.

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

21 years agoParanoia in enum.
Julian Seward [Sat, 22 Jan 2005 11:00:07 +0000 (11:00 +0000)] 
Paranoia in enum.

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

21 years agoAdd more gcc paranoia flags in Makefile, and fix a resulting warning.
Julian Seward [Fri, 21 Jan 2005 21:23:07 +0000 (21:23 +0000)] 
Add more gcc paranoia flags in Makefile, and fix a resulting warning.

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

21 years agoFix various compilation warnings emitted by icc, mostly to do with
Julian Seward [Fri, 21 Jan 2005 20:55:36 +0000 (20:55 +0000)] 
Fix various compilation warnings emitted by icc, mostly to do with
dead code -- it is better at spotting it than gcc is.

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

21 years agoBring this up to date.
Julian Seward [Fri, 21 Jan 2005 20:54:33 +0000 (20:54 +0000)] 
Bring this up to date.

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

21 years agoFirst pass at doing amd64 address mode decoding.
Julian Seward [Fri, 21 Jan 2005 20:33:44 +0000 (20:33 +0000)] 
First pass at doing amd64 address mode decoding.

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

21 years agoLots of grunge for dealing with amd64 integer registers.
Julian Seward [Fri, 21 Jan 2005 14:26:37 +0000 (14:26 +0000)] 
Lots of grunge for dealing with amd64 integer registers.

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

21 years agoAdd stub definitions for amd64 front end functions.
Julian Seward [Thu, 20 Jan 2005 20:26:33 +0000 (20:26 +0000)] 
Add stub definitions for amd64 front end functions.

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

21 years agoAdd a dummy AMD64 front end, as a completely commented-out version of
Julian Seward [Thu, 20 Jan 2005 20:04:07 +0000 (20:04 +0000)] 
Add a dummy AMD64 front end, as a completely commented-out version of
the x86 equivalents.

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

21 years agoFix comment.
Julian Seward [Thu, 20 Jan 2005 19:43:56 +0000 (19:43 +0000)] 
Fix comment.

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

21 years agoProgram for making bootstrap .orig files from 'as -a' output.
Julian Seward [Thu, 20 Jan 2005 17:57:55 +0000 (17:57 +0000)] 
Program for making bootstrap .orig files from 'as -a' output.

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

21 years agoPut a ret (0xC3) after each insn, to keep the decoder happy.
Julian Seward [Thu, 20 Jan 2005 17:56:39 +0000 (17:56 +0000)] 
Put a ret (0xC3) after each insn, to keep the decoder happy.

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

21 years agoA bunch of insns to get the amd64 front end hackery started.
Julian Seward [Thu, 20 Jan 2005 17:29:03 +0000 (17:29 +0000)] 
A bunch of insns to get the amd64 front end hackery started.

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

21 years agoNew directory, for messing with the amd64 front end.
Julian Seward [Thu, 20 Jan 2005 17:19:38 +0000 (17:19 +0000)] 
New directory, for messing with the amd64 front end.

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

21 years agoBasic Block Profiler Roolz OK !
Julian Seward [Thu, 20 Jan 2005 12:00:51 +0000 (12:00 +0000)] 
Basic Block Profiler Roolz OK !

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

21 years agoFix performance hole exposed by profiling gzip.
Julian Seward [Thu, 20 Jan 2005 10:48:20 +0000 (10:48 +0000)] 
Fix performance hole exposed by profiling gzip.

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

21 years agoReinstate "cmps" (without rep). gzip seems to require it.
Julian Seward [Thu, 20 Jan 2005 10:47:46 +0000 (10:47 +0000)] 
Reinstate "cmps" (without rep).  gzip seems to require it.

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

21 years agoFirst fruits from using new bb profiler: improve handling of guest x86
Julian Seward [Thu, 20 Jan 2005 10:04:05 +0000 (10:04 +0000)] 
First fruits from using new bb profiler: improve handling of guest x86
floating point comparisons.  A lot.  There is more to be done here.

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

21 years agoAMD64 build fixes.
Julian Seward [Wed, 19 Jan 2005 14:05:09 +0000 (14:05 +0000)] 
AMD64 build fixes.

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

21 years agoComplete rewrite (I think this is the 4th incarnation) of translation
Julian Seward [Wed, 19 Jan 2005 11:55:34 +0000 (11:55 +0000)] 
Complete rewrite (I think this is the 4th incarnation) of translation
table/cache management.  Two main changes.  (1) Translation areas are
recorded using VexGuestExtents, so that Vex is now properly supported
and code deletion works correctly.  (2) Low overhead BB profiling,
enabled by the --profile-flags=<XXXXXXXX> option.  This finds the top
N bbs at exit and shows them, so as to give a basis from which to do
performane tuning.

To support this, the way tt/tc work is changed.  It is still a
sectored arrangement, but now each sector has its own hash table.
This simplifies a lot of things.

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

21 years agoProper support for translation cache management: when a translation is
Julian Seward [Wed, 19 Jan 2005 11:49:45 +0000 (11:49 +0000)] 
Proper support for translation cache management: when a translation is
made, record precisely the areas of guest address space from which the
translation was made.  This is needed to be sure we can later discard
translations accurately.  The new info is record in a structure called
VexGuestExtents.

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

21 years agofixed shift_immed & branch
Cerion Armour-Brown [Tue, 18 Jan 2005 14:55:12 +0000 (14:55 +0000)] 
fixed shift_immed & branch

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

21 years agoTrack VEX API changes introduced in Vex rev 718.
Julian Seward [Mon, 17 Jan 2005 18:35:30 +0000 (18:35 +0000)] 
Track VEX API changes introduced in Vex rev 718.

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

21 years agoRename some functions and types in the top level interface to be more
Julian Seward [Mon, 17 Jan 2005 18:34:34 +0000 (18:34 +0000)] 
Rename some functions and types in the top level interface to be more
consistent.  Also make private some functions that Valgrind never
used.

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

21 years agoAlso test 64-bit add/sub insns (paddq/psubq), although these only
Julian Seward [Sat, 15 Jan 2005 23:35:03 +0000 (23:35 +0000)] 
Also test 64-bit add/sub insns (paddq/psubq), although these only
appeared in sse2.

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

21 years agoHandle Add64/Sub64 (naively).
Julian Seward [Sat, 15 Jan 2005 20:43:58 +0000 (20:43 +0000)] 
Handle Add64/Sub64 (naively).

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

21 years agoInstruction selection/emission for Add64 and Sub64.
Julian Seward [Sat, 15 Jan 2005 20:43:10 +0000 (20:43 +0000)] 
Instruction selection/emission for Add64 and Sub64.

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

21 years agoAdd support for 64-bit SIMD primops.
Julian Seward [Thu, 13 Jan 2005 19:17:06 +0000 (19:17 +0000)] 
Add support for 64-bit SIMD primops.

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

21 years agoAdd new IR primops: Iop_CmpNEZ8x8, Iop_CmpNEZ16x4, Iop_CmpNEZ32x2 and
Julian Seward [Thu, 13 Jan 2005 19:16:04 +0000 (19:16 +0000)] 
Add new IR primops: Iop_CmpNEZ8x8, Iop_CmpNEZ16x4, Iop_CmpNEZ32x2 and
isel support for them in the x86 back end.  They are used for Memcheck
annotation of 64-bit SIMD code.

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

21 years agoFix typos in comment.
Julian Seward [Thu, 13 Jan 2005 16:36:42 +0000 (16:36 +0000)] 
Fix typos in comment.

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

21 years agoComment-only change: record code generation conventions and
Julian Seward [Thu, 13 Jan 2005 16:33:19 +0000 (16:33 +0000)] 
Comment-only change: record code generation conventions and
limitations for x86.

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

21 years agoOn x86 host and guest, re-implement the way MMX instructions are done,
Julian Seward [Thu, 13 Jan 2005 15:06:51 +0000 (15:06 +0000)] 
On x86 host and guest, re-implement the way MMX instructions are done,
to bring them into line with how SSE works.  Previously, MMX was done
using helper functions calls inserted by the front end.  This meant
proper MMX instrumentation was impossible (unlike SSE).  Now it works
the way all other code does: the front end does not insert calls to
helper functions, but rather builds expression trees using 64-bit
vector primops.  These are instrumented as the 128-bit vector primops
already are, and passed to the back ends.

Because emitting combined x87 and MMX code together is too complex,
the x86 back end generates calls to the same helpers as before --
except they are invisible to the front end.  And, of course, some of
those calls may now be running instrumentation operations rather than
real-value operations.

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

21 years agoAdd some starting-off material for PPC32.
Julian Seward [Wed, 12 Jan 2005 11:25:02 +0000 (11:25 +0000)] 
Add some starting-off material for PPC32.

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

21 years agoRename ...
Julian Seward [Wed, 12 Jan 2005 11:12:49 +0000 (11:12 +0000)] 
Rename ...

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

21 years agoFor holding 32-bit PPC originals.
Julian Seward [Wed, 12 Jan 2005 11:12:28 +0000 (11:12 +0000)] 
For holding 32-bit PPC originals.

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

21 years agoThis is no longer useful.
Julian Seward [Wed, 12 Jan 2005 11:10:40 +0000 (11:10 +0000)] 
This is no longer useful.

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

21 years agoHandle another PSLLDQ sub-case.
Julian Seward [Tue, 11 Jan 2005 15:03:53 +0000 (15:03 +0000)] 
Handle another PSLLDQ sub-case.

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

21 years agoRe-enable regression tests for PSLLDQ.
Julian Seward [Tue, 11 Jan 2005 15:02:34 +0000 (15:02 +0000)] 
Re-enable regression tests for PSLLDQ.

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

21 years agoUpdate some expected regtest outputs.
Julian Seward [Tue, 11 Jan 2005 14:21:02 +0000 (14:21 +0000)] 
Update some expected regtest outputs.

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

21 years agoImplement --log-file-exactly= for when the user wants to specify
Julian Seward [Tue, 11 Jan 2005 14:01:02 +0000 (14:01 +0000)] 
Implement --log-file-exactly= for when the user wants to specify
*exactly* the log file name.

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

21 years agoPartial implementation of pslldq (SSE2).
Julian Seward [Mon, 10 Jan 2005 20:37:31 +0000 (20:37 +0000)] 
Partial implementation of pslldq (SSE2).

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

21 years agoAdd a new variant for --gen-suppressions: --gen-suppressions=all,
Julian Seward [Mon, 10 Jan 2005 17:24:47 +0000 (17:24 +0000)] 
Add a new variant for --gen-suppressions: --gen-suppressions=all,
which just prints a suppression for all reported errors without asking
questions.

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

21 years agoRun x86 host with FPU in 53-bit precision mode (non default).
Julian Seward [Mon, 10 Jan 2005 16:51:14 +0000 (16:51 +0000)] 
Run x86 host with FPU in 53-bit precision mode (non default).

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

21 years agox86 floating point accuracy improvements. The aim is to make x86 FP
Julian Seward [Mon, 10 Jan 2005 16:49:19 +0000 (16:49 +0000)] 
x86 floating point accuracy improvements.  The aim is to make x86 FP
behave more consistently like an 64-bit implementation.  Mostly this
means running the host with the FPU set to 64-bit precision, not
80-bit.

Requires corresponding changes on the Valgrind side of the fence.

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

21 years agoProgram to check values of x87 constants.
Julian Seward [Mon, 10 Jan 2005 13:34:46 +0000 (13:34 +0000)] 
Program to check values of x87 constants.

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

21 years agoProgram for investigating FP rounding error effects.
Julian Seward [Sat, 8 Jan 2005 18:26:47 +0000 (18:26 +0000)] 
Program for investigating FP rounding error effects.

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

21 years agoObserve the memory fencing properties of CPUID.
Julian Seward [Sat, 8 Jan 2005 18:25:05 +0000 (18:25 +0000)] 
Observe the memory fencing properties of CPUID.

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

21 years agoFix printing of various instructions when disassembling.
Julian Seward [Sat, 8 Jan 2005 18:17:32 +0000 (18:17 +0000)] 
Fix printing of various instructions when disassembling.

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

21 years agoFix some minor things to do with memory fences and the Elan3 drivers.
Julian Seward [Fri, 7 Jan 2005 14:14:50 +0000 (14:14 +0000)] 
Fix some minor things to do with memory fences and the Elan3 drivers.
Also recognise "lock addl $0,0(%esp)" as a memory fence.

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

21 years agoSSE2 fixes for mfence-ing.
Julian Seward [Fri, 7 Jan 2005 13:36:14 +0000 (13:36 +0000)] 
SSE2 fixes for mfence-ing.

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

21 years agoMachinery for investigation of LOCK prefixes.
Julian Seward [Fri, 7 Jan 2005 13:25:28 +0000 (13:25 +0000)] 
Machinery for investigation of LOCK prefixes.

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

21 years agoHandle IRStmt_MFence in the tools.
Julian Seward [Fri, 7 Jan 2005 12:10:21 +0000 (12:10 +0000)] 
Handle IRStmt_MFence in the tools.

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

21 years agoAdd a trivial new IR construction: a memory fence statement. Connect
Julian Seward [Fri, 7 Jan 2005 12:09:15 +0000 (12:09 +0000)] 
Add a trivial new IR construction: a memory fence statement.  Connect
up to x86 front and back ends.

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

21 years agoMake the Quadrics Elan3 clone-hack be controllable by a command-line
Julian Seward [Thu, 6 Jan 2005 16:13:40 +0000 (16:13 +0000)] 
Make the Quadrics Elan3 clone-hack be controllable by a command-line
flag.

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

21 years agoMake it a more effective test.
Julian Seward [Thu, 6 Jan 2005 15:46:22 +0000 (15:46 +0000)] 
Make it a more effective test.

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

21 years agoDarn; fix stupid copy-n-paste bug introduced in previous fsave/frstor
Julian Seward [Thu, 6 Jan 2005 15:45:54 +0000 (15:45 +0000)] 
Darn; fix stupid copy-n-paste bug introduced in previous fsave/frstor
fix.  Thanks to 'make regtest' for finding it.

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

21 years ago* x86 guest: fix bug in stmxcsr -- rounding mode field set wrongly
Julian Seward [Thu, 6 Jan 2005 12:36:38 +0000 (12:36 +0000)] 
* x86 guest: fix bug in stmxcsr -- rounding mode field set wrongly
* x86 guest: fix longstanding bug in fsave/frstor -- they dumped
             FP registers in physical order, instead of ST order
* x86 guest: implement fxsave

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

21 years agoImprove these test programs.
Julian Seward [Thu, 6 Jan 2005 12:33:30 +0000 (12:33 +0000)] 
Improve these test programs.

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

21 years agoTest program for x86 fxsave insn.
Julian Seward [Thu, 6 Jan 2005 10:57:16 +0000 (10:57 +0000)] 
Test program for x86 fxsave insn.

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

21 years agoAdd crude 'minidist' target (not yet entirely satisfactory).
Julian Seward [Wed, 5 Jan 2005 19:11:09 +0000 (19:11 +0000)] 
Add crude 'minidist' target (not yet entirely satisfactory).

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

21 years agoRemove old CPUID stuff that wasn't being used.
Julian Seward [Wed, 5 Jan 2005 10:38:54 +0000 (10:38 +0000)] 
Remove old CPUID stuff that wasn't being used.

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

21 years agoAppalling hack which may or may not help making Quadrics Elan 3
Julian Seward [Tue, 4 Jan 2005 16:41:46 +0000 (16:41 +0000)] 
Appalling hack which may or may not help making Quadrics Elan 3
drivers work until such time proper support for sys_clone is added.

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

21 years agoPush subarchitecture stuff through the x86 parts.
Julian Seward [Fri, 31 Dec 2004 22:37:42 +0000 (22:37 +0000)] 
Push subarchitecture stuff through the x86 parts.

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

21 years agoError message cosmetics.
Julian Seward [Fri, 31 Dec 2004 18:10:17 +0000 (18:10 +0000)] 
Error message cosmetics.

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

21 years agogcc-2.96 build fixes.
Julian Seward [Fri, 31 Dec 2004 18:09:32 +0000 (18:09 +0000)] 
gcc-2.96 build fixes.

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

21 years agoC89 police (make buildable with gcc-2.96)
Julian Seward [Fri, 31 Dec 2004 17:22:04 +0000 (17:22 +0000)] 
C89 police (make buildable with gcc-2.96)

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

21 years agoNo longer try to build the attached Valgrind snapshots.
Julian Seward [Fri, 31 Dec 2004 17:21:28 +0000 (17:21 +0000)] 
No longer try to build the attached Valgrind snapshots.

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

21 years agoFinishing installing PaulM's improved accuracy handling for Add/Sub,
Julian Seward [Fri, 31 Dec 2004 01:16:11 +0000 (01:16 +0000)] 
Finishing installing PaulM's improved accuracy handling for Add/Sub,
and also do better for CmpEQ/CmpNE.

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

21 years agoMake --dump-error= work properly.
Julian Seward [Fri, 31 Dec 2004 01:14:04 +0000 (01:14 +0000)] 
Make --dump-error= work properly.

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

21 years agoUpdate the memcheck instrumenter embedded herein.
Julian Seward [Thu, 30 Dec 2004 02:05:34 +0000 (02:05 +0000)] 
Update the memcheck instrumenter embedded herein.

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

21 years agoRename some variables and types, to make it easier to read. No
Julian Seward [Thu, 30 Dec 2004 01:44:51 +0000 (01:44 +0000)] 
Rename some variables and types, to make it easier to read.  No
functionality changes.

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

21 years agoRemove register preferencing mechanism; does not seem to help.
Julian Seward [Thu, 30 Dec 2004 00:14:54 +0000 (00:14 +0000)] 
Remove register preferencing mechanism; does not seem to help.

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

21 years agoIn iropt, try and call flatten_BB less. Enhance the sanity checker
Julian Seward [Wed, 29 Dec 2004 19:25:06 +0000 (19:25 +0000)] 
In iropt, try and call flatten_BB less.  Enhance the sanity checker
so that it does check for flatness at the relevant places.

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

21 years agoFix nonsensical assertion.
Julian Seward [Wed, 29 Dec 2004 19:23:49 +0000 (19:23 +0000)] 
Fix nonsensical assertion.

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

21 years agoOops. Track arch/subarch changes.
Julian Seward [Wed, 29 Dec 2004 17:48:22 +0000 (17:48 +0000)] 
Oops.  Track arch/subarch changes.

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

21 years agoSanity check re support for precise exceptions, resulting in more
Julian Seward [Wed, 29 Dec 2004 17:34:50 +0000 (17:34 +0000)] 
Sanity check re support for precise exceptions, resulting in more
comments.  No functionality change.

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

21 years agoLooks like major changes, but in fact are just rearrangements and
Julian Seward [Wed, 29 Dec 2004 17:09:11 +0000 (17:09 +0000)] 
Looks like major changes, but in fact are just rearrangements and
further commenting of code.  Rearrange sequence of procedures to
better reflect the flow of data through iropt.  Add documentation at
the start explaining more precisely what it does.

The only functional change is to do initial flattening even at
optimisation level 0, so we can disable most of iropt for debugging
purposes and still have a functioning Valgrind.

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