gem5.git
16 years agoX86: Separate out the page table walker into it's own cc and hh.
Gabe Black [Tue, 13 Nov 2007 02:06:57 +0000 (18:06 -0800)]
X86: Separate out the page table walker into it's own cc and hh.

--HG--
extra : convert_revision : cbc3af01ca3dc911a59224a574007c5c0bcf6042

16 years agoParams: Fix check for cycles in the configuration and clarify the comments/error...
Gabe Black [Tue, 13 Nov 2007 02:06:02 +0000 (18:06 -0800)]
Params: Fix check for cycles in the configuration and clarify the comments/error message.

--HG--
extra : convert_revision : 8f35dde408fae874bcba1a248d32a22222d98c35

16 years agoX86: Fix a stupid typo where WRMSR and RDMSR were switched, and add a debug statement.
Gabe Black [Mon, 12 Nov 2007 22:39:14 +0000 (14:39 -0800)]
X86: Fix a stupid typo where WRMSR and RDMSR were switched, and add a debug statement.

--HG--
extra : convert_revision : f1eb17291f4c01f3c0fa8f99650bc1edf09d21de

16 years agoX86: Implement tlb invalidation and make it happen some of the times it should.
Gabe Black [Mon, 12 Nov 2007 22:39:07 +0000 (14:39 -0800)]
X86: Implement tlb invalidation and make it happen some of the times it should.

--HG--
extra : convert_revision : 376516d33cd539fa526c834ef2b2c33069af3040

16 years agoX86: Implement the wrcr microop which writes a control register, and some control...
Gabe Black [Mon, 12 Nov 2007 22:38:59 +0000 (14:38 -0800)]
X86: Implement the wrcr microop which writes a control register, and some control register work.

--HG--
extra : convert_revision : 3e9daef9cdd0665c033420e5b4f981649e9908ab

16 years agoX86: Implement some bit testing instructions.
Gabe Black [Mon, 12 Nov 2007 22:38:53 +0000 (14:38 -0800)]
X86: Implement some bit testing instructions.

--HG--
extra : convert_revision : 54585e276e44322be9c56af0b2eabfe8d4b3e430

16 years agoX86: Change the meaning of the sext and zext width operand, and make sext set zext...
Gabe Black [Mon, 12 Nov 2007 22:38:45 +0000 (14:38 -0800)]
X86: Change the meaning of the sext and zext width operand, and make sext set zext if the sign bit is 0.

--HG--
extra : convert_revision : 08bd7b4ff183038c016612d04ac73b20a255d141

16 years agoX86: Flesh out the opcode groups for two byte opcodes.
Gabe Black [Mon, 12 Nov 2007 22:38:38 +0000 (14:38 -0800)]
X86: Flesh out the opcode groups for two byte opcodes.

--HG--
extra : convert_revision : 4d51befd6dae4035c0eb685d33e1f5e38467c766

16 years agoX86: Work on the page table walker, TLB, and related faults.
Gabe Black [Mon, 12 Nov 2007 22:38:31 +0000 (14:38 -0800)]
X86: Work on the page table walker, TLB, and related faults.

--HG--
extra : convert_revision : 9edde958b7e571c07072785f18f9109f73b8059f

16 years agoX86: Implement a page table walker.
Gabe Black [Mon, 12 Nov 2007 22:38:24 +0000 (14:38 -0800)]
X86: Implement a page table walker.

--HG--
extra : convert_revision : 36bab5750100318faa9ba7178dc2e38590053aec

16 years agoX86: Make the micropc available through the thread context objects.
Gabe Black [Mon, 12 Nov 2007 22:38:17 +0000 (14:38 -0800)]
X86: Make the micropc available through the thread context objects.
This is necssary for fault handlers that branch to non-zero micro PCs.

--HG--
extra : convert_revision : c1cb4863d779a9f4a508d0b450e64fb7a985f264

16 years agoX86: Implement the startupCPU function.
Gabe Black [Mon, 12 Nov 2007 22:38:10 +0000 (14:38 -0800)]
X86: Implement the startupCPU function.

--HG--
extra : convert_revision : d2331a0e0bd14863e82004508558f657c5b900a2

16 years agoX86: Make some of the bits of CR0 do what they're supposed to.
Gabe Black [Mon, 12 Nov 2007 22:38:02 +0000 (14:38 -0800)]
X86: Make some of the bits of CR0 do what they're supposed to.

--HG--
extra : convert_revision : 13e79ef1ef09bd842d5e075e31f98ab2a4357901

16 years agoX86: Various fixes to indexing segmentation related registers
Gabe Black [Mon, 12 Nov 2007 22:37:54 +0000 (14:37 -0800)]
X86: Various fixes to indexing segmentation related registers

--HG--
extra : convert_revision : 3d45da3a3fb38327582cfdfb72cfc4ce1b1d31af

16 years agoSPARC: Force %g1 to be zero on process startup even though it normally already should be.
Gabe Black [Mon, 12 Nov 2007 01:23:22 +0000 (17:23 -0800)]
SPARC: Force %g1 to be zero on process startup even though it normally already should be.

--HG--
extra : convert_revision : 9feb63109e8c955b49c7e96acad1ad7c29a4349f

16 years agoAlpha: Fix a long standing bug where all code ran as PAL code in FS.
Gabe Black [Fri, 9 Nov 2007 07:50:10 +0000 (23:50 -0800)]
Alpha: Fix a long standing bug where all code ran as PAL code in FS.

--HG--
extra : convert_revision : 654a2376a601ddf91665ca627403518911b32532

16 years agoMake non Apple compilation work again. Ali may have to refix this.
Gabe Black [Fri, 9 Nov 2007 07:42:44 +0000 (23:42 -0800)]
Make non Apple compilation work again. Ali may have to refix this.

--HG--
extra : convert_revision : 0f9455643eec14034314908ee26a6d693c54a864

16 years agoISA parser: Make the isa parser generate MaxInstSrcRegs and MaxInstDestRegs.
Gabe Black [Fri, 9 Nov 2007 02:51:50 +0000 (18:51 -0800)]
ISA parser: Make the isa parser generate MaxInstSrcRegs and MaxInstDestRegs.

--HG--
extra : convert_revision : 8c35891945c6b4ebc320f0c88a7a0449f3c4b4d5

16 years agoCompiling: If possible compile a 64 bit binary on Mac OS X.
Ali Saidi [Thu, 8 Nov 2007 22:45:58 +0000 (17:45 -0500)]
Compiling: If possible compile a 64 bit binary on Mac OS X.

--HG--
extra : convert_revision : 23d7c3744bfb20adaa31c999e0478e9055b4f657

16 years agoCompiling: Fix for 64bit compile on Darwin/OSX 10.5.
Ali Saidi [Thu, 8 Nov 2007 21:11:09 +0000 (16:11 -0500)]
Compiling: Fix for 64bit compile on Darwin/OSX 10.5.

--HG--
extra : convert_revision : 1f23f7a3952f55cca8293fb43ae15db42005aeac

16 years agoTimingSimpleCPU: Add some DPRINTFs when the cpu suspends and resumes.
Ali Saidi [Thu, 8 Nov 2007 15:46:41 +0000 (10:46 -0500)]
TimingSimpleCPU: Add some DPRINTFs when the cpu suspends and resumes.

--HG--
extra : convert_revision : a305cf9dcaca5ed3b97499a5e24c511f4416125a

16 years agoAtomicSimpleCPU: Refactor resume() code to have a cleaner control path.
Ali Saidi [Thu, 8 Nov 2007 15:46:41 +0000 (10:46 -0500)]
AtomicSimpleCPU: Refactor resume() code to have a cleaner control path.

--HG--
extra : convert_revision : f27bb96850e7fb0252fb1f47c3d0860705c32884

16 years agoPython: Allow a range to be a python tuple/list.
Ali Saidi [Thu, 8 Nov 2007 15:46:41 +0000 (10:46 -0500)]
Python: Allow a range to be a python tuple/list.

--HG--
extra : convert_revision : 81cf805055e2f4d62e56a02ac82a0b230251f40b

16 years agoInterrupts: Inline some code and remove duplication.
Ali Saidi [Thu, 8 Nov 2007 15:46:41 +0000 (10:46 -0500)]
Interrupts: Inline some code and remove duplication.

--HG--
extra : convert_revision : 0631c601f281bdd2a12ff0d0ae94576780115c2a

16 years agoCPU: Add function to explictly compare thread contexts after copying.
Ali Saidi [Thu, 8 Nov 2007 15:46:41 +0000 (10:46 -0500)]
CPU: Add function to explictly compare thread contexts after copying.

--HG--
extra : convert_revision : 9b7af59a11202a91409aad7c427b7749cd1d2f12

16 years agoSPARC: Make 64 bit SPARC process initialization check checkpointRestored too.
Gabe Black [Wed, 7 Nov 2007 23:03:49 +0000 (15:03 -0800)]
SPARC: Make 64 bit SPARC process initialization check checkpointRestored too.

--HG--
extra : convert_revision : 8d48f705983f31db5947c6c4ae9f0df57f413d68

16 years agoO3: Remove unneeded variable.
Gabe Black [Tue, 6 Nov 2007 20:51:08 +0000 (12:51 -0800)]
O3: Remove unneeded variable.

--HG--
extra : convert_revision : 4624ccd3f08818f4632881d6aca6d1cc343bbdcf

16 years agoTraceFlags: Fix off-by-one error with number of traceflags. m5_2.0_beta4
Ali Saidi [Mon, 5 Nov 2007 00:06:45 +0000 (19:06 -0500)]
TraceFlags: Fix off-by-one error with number of traceflags.

--HG--
extra : convert_revision : 668299fc0a9083be858fe2f6e8fde512ddac9e32

16 years agoCache: Fix for OS X 10.5 compiling.
Ali Saidi [Sun, 4 Nov 2007 23:57:36 +0000 (18:57 -0500)]
Cache: Fix for OS X 10.5 compiling.

--HG--
extra : convert_revision : ba3c33ed524367280eefc096177d767168ac2cf6

16 years agoRELEASE: A little more work on make_release.py
Ali Saidi [Sun, 4 Nov 2007 23:57:16 +0000 (18:57 -0500)]
RELEASE: A little more work on make_release.py

--HG--
extra : convert_revision : e3efbc0a79212c7474d547545411518b057cc1e9

16 years agoCheckpoint: Use checkpoint_dir, if that is not set use outdir (-d), and if that isn...
Ali Saidi [Sat, 3 Nov 2007 18:41:00 +0000 (14:41 -0400)]
Checkpoint: Use checkpoint_dir, if that is not set use outdir (-d), and if that isn't set use cwd.

--HG--
extra : convert_revision : 6548dd6de376dd59285a37a03bcf2525f8fc3845

16 years agoRELEASE: Add dummy cpu to make SCons + Python 2.5 happy
Ali Saidi [Fri, 2 Nov 2007 06:26:13 +0000 (02:26 -0400)]
RELEASE: Add dummy cpu to make SCons + Python 2.5 happy

--HG--
extra : convert_revision : 85ca7d737a7592946bedb7d1724aefa62ad1231e

16 years agoRELEASE: remove insttest since we're not shipping the binary.
Ali Saidi [Fri, 2 Nov 2007 06:18:46 +0000 (02:18 -0400)]
RELEASE: remove insttest since we're not shipping the binary.

--HG--
extra : convert_revision : e1b074fb21b2be0f2cec59a170a2216913c6e89b

16 years agoSE: fix stat64 syscall on os x
Ali Saidi [Fri, 2 Nov 2007 06:11:15 +0000 (02:11 -0400)]
SE: fix stat64 syscall on os x

--HG--
extra : convert_revision : 40b62ef73d8e408cdd35b22147860f33533db57f

16 years agoRELEASE: Grammer
Ali Saidi [Fri, 2 Nov 2007 01:18:08 +0000 (21:18 -0400)]
RELEASE: Grammer

--HG--
extra : convert_revision : f9ad0ea469aaf6ec059bd50db0cc5d956c354e2c

16 years agoRELEASE: More changes to text
Ali Saidi [Fri, 2 Nov 2007 01:07:49 +0000 (21:07 -0400)]
RELEASE: More changes to text

--HG--
extra : convert_revision : 86c0dec05f392078dfb2c3f941debc9bc46f63bb

16 years agoUpdated my "AUTHORS" entry.
Gabe Black [Thu, 1 Nov 2007 23:04:10 +0000 (16:04 -0700)]
Updated my "AUTHORS" entry.

--HG--
extra : convert_revision : 7c6fe0558f04da7a2fc97a71767cfbd244e71842

16 years agoSConstruct: fix scons null conf object problem
Steve Reinhardt [Thu, 1 Nov 2007 21:28:59 +0000 (14:28 -0700)]
SConstruct: fix scons null conf object problem
so that "scons --help" works again.

--HG--
extra : convert_revision : 317d52480a44339d8a77ce61f1c5e58cd9d1dd01

16 years agoDRAM: Make latency parameters be Param.Latency instead of ints.
Ali Saidi [Thu, 1 Nov 2007 21:30:50 +0000 (17:30 -0400)]
DRAM: Make latency parameters be Param.Latency instead of ints.

--HG--
extra : convert_revision : 553b86cc4653da089d7aa0045a3f3bdcabf6c4d8

16 years agoString constant const-ness changes to placate g++ 4.2.
Steve Reinhardt [Thu, 1 Nov 2007 01:04:22 +0000 (18:04 -0700)]
String constant const-ness changes to placate g++ 4.2.
Also some bug fixes in MIPS ISA uncovered by g++ warnings
(Python string compares don't work in C++!).

--HG--
extra : convert_revision : b347cc0108f23890e9b73b3ee96059f0cea96cf6

16 years agono manual changes
Ali Saidi [Wed, 31 Oct 2007 21:53:13 +0000 (17:53 -0400)]
no manual changes

--HG--
extra : convert_revision : bfc34f3adaabcc8011bf9b22bd614ee8ebcbfd01

16 years agoTraceflags: Old traceflags.py file is no longer needed.
Ali Saidi [Wed, 31 Oct 2007 21:52:56 +0000 (17:52 -0400)]
Traceflags: Old traceflags.py file is no longer needed.

--HG--
extra : convert_revision : 1e88c2d9a0e2a64344d8b4d1a4474dae82473a6d

16 years agoRelease: fix make_release bug
Ali Saidi [Wed, 31 Oct 2007 21:52:07 +0000 (17:52 -0400)]
Release: fix make_release bug

--HG--
extra : convert_revision : 4317e5909f23e2b8bf6e8407f0df10fad34e9e35

16 years agoSConstruct: undo half of last changeset; looked innocuous but wasn't.
Steve Reinhardt [Wed, 31 Oct 2007 07:55:32 +0000 (00:55 -0700)]
SConstruct: undo half of last changeset; looked innocuous but wasn't.

--HG--
extra : convert_revision : 237da629f9e4e8f9151fcf3c47ea2ef72918356a

16 years agoSConstruct: Fix env Dir/String problem
Steve Reinhardt [Wed, 31 Oct 2007 07:44:51 +0000 (00:44 -0700)]
SConstruct: Fix env Dir/String problem

--HG--
extra : convert_revision : 6c5b6e9541030774bc44933f021fec51fb3cb227

16 years agoMerge in bus DPRINTF changes.
Steve Reinhardt [Wed, 31 Oct 2007 07:39:16 +0000 (00:39 -0700)]
Merge in bus DPRINTF changes.

--HG--
extra : convert_revision : 3bbd7c0745b31bb2a628b604ab1627cd9c61643c

16 years agoRELEASE: Update make release for new release.
Ali Saidi [Wed, 31 Oct 2007 05:21:55 +0000 (01:21 -0400)]
RELEASE: Update make release for new release.

--HG--
extra : convert_revision : 94403c4279ef358ea9cf78e5ffb13476496c28f5

16 years agoRELEASE: First cut of updated release files for 2.0b4
Ali Saidi [Wed, 31 Oct 2007 05:21:54 +0000 (01:21 -0400)]
RELEASE: First cut of updated release files for 2.0b4

--HG--
extra : convert_revision : 5d906cfd568e18e082235e515b955efb6a25912a

16 years agoTraceflags: Add SCons function to created a traceflag instead of having one file...
Ali Saidi [Wed, 31 Oct 2007 05:21:54 +0000 (01:21 -0400)]
Traceflags: Add SCons function to created a traceflag instead of having one file with them all.

--HG--
extra : convert_revision : 427f6bd8f050861ace3bc0d354a1afa5fc8319e6

16 years agoLinux Support: Finally update vptr for new memory system.
Ali Saidi [Wed, 31 Oct 2007 05:21:54 +0000 (01:21 -0400)]
Linux Support: Finally update vptr for new memory system.

--HG--
extra : convert_revision : 8b4927431189abc12201d13428a31b746cdb7dee

16 years agoBase: Rework the way M5 provides and creates random numbers.
Ali Saidi [Wed, 31 Oct 2007 05:21:54 +0000 (01:21 -0400)]
Base: Rework the way M5 provides and creates random numbers.

--HG--
extra : convert_revision : 10ec3484647b3acb8e821f8520f97d535e41e861

16 years agoAdd constant stat.
Vilas Sridharan [Wed, 31 Oct 2007 02:21:05 +0000 (22:21 -0400)]
Add constant stat.

Signed Off: Ali Saidi <saidi@eecs.umich.edu>

--HG--
extra : convert_revision : 3da9e507117d0279e212d151d78c312fd9cf0b5c

16 years agoX86: Compile fixes for 32 bit/debug/opt.
Gabe Black [Tue, 30 Oct 2007 20:34:00 +0000 (16:34 -0400)]
X86: Compile fixes for 32 bit/debug/opt.

--HG--
extra : convert_revision : 591fffb316830fca5792666c8df12abd4e7c551b

16 years agoRegressions: Added X86_SE into the default list of builds.
Gabe Black [Fri, 26 Oct 2007 21:32:36 +0000 (14:32 -0700)]
Regressions: Added X86_SE into the default list of builds.

--HG--
extra : convert_revision : 3dcdaca58340ec2cc190ecb692c79128be1a14d6

16 years agoX86: Forgot to update the hello world stats after adding cda microops.
Gabe Black [Fri, 26 Oct 2007 20:53:03 +0000 (13:53 -0700)]
X86: Forgot to update the hello world stats after adding cda microops.

--HG--
extra : convert_revision : d3dd6545d3f8b91adfc03d2e0150996672f4e29b

16 years agoCheckpoints: Change Simulation.py to not go crazy if the simulation ends before the...
Ali Saidi [Fri, 26 Oct 2007 02:20:00 +0000 (22:20 -0400)]
Checkpoints: Change Simulation.py to not go crazy if the simulation ends before the number of checkpoints requested are created.

--HG--
extra : convert_revision : 865179134a219b34dbbba698e1fa0da7c452e074

16 years agoTLB: Fix serialization issues with the tlb entries and make the page table store...
Gabe Black [Fri, 26 Oct 2007 02:04:44 +0000 (19:04 -0700)]
TLB: Fix serialization issues with the tlb entries and make the page table store the process, not the system.

--HG--
extra : convert_revision : 2421af11f62f60fb48faeee6bddadac2987df0e8

16 years agoSE: Fix page table and system serialization, don't reinit process if this is a checkp...
Ali Saidi [Fri, 26 Oct 2007 00:13:35 +0000 (20:13 -0400)]
SE: Fix page table and system serialization, don't reinit process if this is a checkpoint restore.

--HG--
extra : convert_revision : 03dcf3c088e57b7abab60efe700d947117888306

16 years agoX86: Fix X86_FS compilation.
Gabe Black [Wed, 24 Oct 2007 00:40:40 +0000 (17:40 -0700)]
X86: Fix X86_FS compilation.

--HG--
extra : convert_revision : 5f014337e33a9e1ebe4df4063335315539fff69e

16 years agoMerge with head.
Gabe Black [Mon, 22 Oct 2007 21:40:21 +0000 (14:40 -0700)]
Merge with head.

--HG--
extra : convert_revision : 3ed25e91776b025238ba9e77fe43e957ecc99bc7

16 years agoX86: Use the cda microop where appropriate. The ENTER instruction still needs these.
Gabe Black [Mon, 22 Oct 2007 21:39:40 +0000 (14:39 -0700)]
X86: Use the cda microop where appropriate. The ENTER instruction still needs these.

--HG--
extra : convert_revision : c5a1a6d66c454f252d3b798c38a6798e7dd486f0

16 years agoX86: Implement the cda microop which checks if an address is legal to write to.
Gabe Black [Mon, 22 Oct 2007 21:30:56 +0000 (14:30 -0700)]
X86: Implement the cda microop which checks if an address is legal to write to.

--HG--
extra : convert_revision : afe20649180dd59ad0702b98f7293be6c9226359

16 years agoCPU: Add functions to the "ExecContext"s that translate a given address.
Gabe Black [Mon, 22 Oct 2007 21:30:45 +0000 (14:30 -0700)]
CPU: Add functions to the "ExecContext"s that translate a given address.

--HG--
extra : convert_revision : 7d898c6b6b13094fd05326eaa0b095a3ab132397

16 years agoRestore .hgtags (inadvertently lost in a prior merge).
Steve Reinhardt [Mon, 22 Oct 2007 19:53:32 +0000 (15:53 -0400)]
Restore .hgtags (inadvertently lost in a prior merge).

--HG--
extra : convert_revision : d2fb4fe94d26794c95598117de233fd897a8fab9

16 years agoX86: Start using the stupd microop, and update statistics accordingly.
Gabe Black [Mon, 22 Oct 2007 01:45:46 +0000 (18:45 -0700)]
X86: Start using the stupd microop, and update statistics accordingly.

--HG--
extra : convert_revision : 4aa9daa4e19acfb3e6840ce5d83cf199e30c2f19

16 years agoX86: Implement the stupd microop ("store with update", not "stupid") and use it in...
Gabe Black [Mon, 22 Oct 2007 01:44:50 +0000 (18:44 -0700)]
X86: Implement the stupd microop ("store with update", not "stupid") and use it in ENTER.

--HG--
extra : convert_revision : 9151f701162d31ef26298497467c42b7b0ed85d5

16 years agoX86: Implement the PUSHF, POPF, SAHF, and LAHF instructions.
Gabe Black [Fri, 19 Oct 2007 22:21:16 +0000 (15:21 -0700)]
X86: Implement the PUSHF, POPF, SAHF, and LAHF instructions.

--HG--
extra : convert_revision : 37c63b1133022fa3432888592f8c84785fb95091

16 years agoX86: Impelement the HLT instruction and fix the "halt" microop.
Gabe Black [Fri, 19 Oct 2007 22:11:15 +0000 (15:11 -0700)]
X86: Impelement the HLT instruction and fix the "halt" microop.

--HG--
extra : convert_revision : 932e5bb5bf3644f8468dba92177fb87cc54b891a

16 years agoX86: Implement a "halt" microop.
Gabe Black [Fri, 19 Oct 2007 22:10:23 +0000 (15:10 -0700)]
X86: Implement a "halt" microop.

--HG--
extra : convert_revision : 53a846a157e4dce42343b81901df1207738f62cd

16 years agoX86: Implement the ENTER instruction. This could probably be optimized by cleaning...
Gabe Black [Fri, 19 Oct 2007 22:09:37 +0000 (15:09 -0700)]
X86: Implement the ENTER instruction. This could probably be optimized by cleaning up the indexing in the main loop.

--HG--
extra : convert_revision : ad2d560f2a6f36176b22b8510c58cd6fe5a2c9c2

16 years agoMerge with head.
Gabe Black [Fri, 19 Oct 2007 05:44:33 +0000 (22:44 -0700)]
Merge with head.

--HG--
extra : convert_revision : 7a1c612e7f64fc6b35749547d744e919e034e66f

16 years agoX86: Replace "group10" placeholder with the corresponding instructions in the decoder.
Gabe Black [Fri, 19 Oct 2007 05:43:32 +0000 (22:43 -0700)]
X86: Replace "group10" placeholder with the corresponding instructions in the decoder.

--HG--
extra : convert_revision : ffa8f7c4f8d1e381eefd29247ebd705863d385ad

16 years agoX86: Implement the string IO instructions, ins and outs.
Gabe Black [Fri, 19 Oct 2007 05:42:53 +0000 (22:42 -0700)]
X86: Implement the string IO instructions, ins and outs.

--HG--
extra : convert_revision : b021e70390d289b22a8e693cd8a99d6e7bd7d2b4

16 years agoX86: Implement the undocumented SALC instruction which sets AL to 0xFF if CF=1 and...
Gabe Black [Fri, 19 Oct 2007 05:42:17 +0000 (22:42 -0700)]
X86: Implement the undocumented SALC instruction which sets AL to 0xFF if CF=1 and 0x00 otherwise.

--HG--
extra : convert_revision : 845d43c544e296d7595f54054906055a9f21ad9f

16 years agoX86: Implement the XLAT instruction.
Gabe Black [Fri, 19 Oct 2007 05:41:18 +0000 (22:41 -0700)]
X86: Implement the XLAT instruction.

--HG--
extra : convert_revision : 22d7d9e79e722293b4dc1e66d8610301dc04c5fa

16 years agoX86: Implement the BOUND instruction.
Gabe Black [Fri, 19 Oct 2007 05:40:48 +0000 (22:40 -0700)]
X86: Implement the BOUND instruction.

--HG--
extra : convert_revision : 7bcfa5b4a47d342bee267cc593a1bd4b4f31abe0

16 years agoX86: Make the "fault" microop predicated.
Gabe Black [Fri, 19 Oct 2007 05:40:18 +0000 (22:40 -0700)]
X86: Make the "fault" microop predicated.

--HG--
extra : convert_revision : 48dae1f3c680636833c137fe6b95b37ae84e188c

16 years agoX86: Make "Inst" the default format instead of WarnUnimpl for one byte opcodes.
Gabe Black [Fri, 19 Oct 2007 05:39:39 +0000 (22:39 -0700)]
X86: Make "Inst" the default format instead of WarnUnimpl for one byte opcodes.

--HG--
extra : convert_revision : 591e67fc21f5b72977c5876e39f488494fda77c2

16 years agoX86: Implement the in/out instructions. These will still need support from the TLB...
Gabe Black [Fri, 19 Oct 2007 05:39:00 +0000 (22:39 -0700)]
X86: Implement the in/out instructions. These will still need support from the TLB and memory system.

--HG--
extra : convert_revision : a9503248ea9efca7e5247e4f2830967f428b8215

16 years agoX86: Implement the LOOP instructions.
Gabe Black [Fri, 19 Oct 2007 05:38:17 +0000 (22:38 -0700)]
X86: Implement the LOOP instructions.

--HG--
extra : convert_revision : 3ccd0565c83b6d9c9b63f9f7ac2b67839a2c714f

16 years agoX86: Attach the CMC instruction to the decoder.
Gabe Black [Fri, 19 Oct 2007 05:37:44 +0000 (22:37 -0700)]
X86: Attach the CMC instruction to the decoder.

--HG--
extra : convert_revision : 909661062017c7640c343e80431eaf365e8fcf53

16 years agoX86: Implemented the jrcx instruction.
Gabe Black [Fri, 19 Oct 2007 05:37:08 +0000 (22:37 -0700)]
X86: Implemented the jrcx instruction.

--HG--
extra : convert_revision : d738015ff33449e55d8f1624c8467c1bba193e16

16 years agoX86: Make wrip sign extend its second operand.
Gabe Black [Fri, 19 Oct 2007 05:36:36 +0000 (22:36 -0700)]
X86: Make wrip sign extend its second operand.

--HG--
extra : convert_revision : 2531af8b442ea5aaefccd7a7999c7720489edc36

16 years agoCPU: Use the ThreadContext cpu id instead of the params cpu id in all cases.
Ali Saidi [Thu, 18 Oct 2007 17:15:08 +0000 (13:15 -0400)]
CPU: Use the ThreadContext cpu id instead of the params cpu id in all cases.

--HG--
extra : convert_revision : 6d025764682181b1f67df3b1d8d1d59099136df7

16 years agoX86: Add a bzip2 regression.
Gabe Black [Wed, 17 Oct 2007 01:06:17 +0000 (18:06 -0700)]
X86: Add a bzip2 regression.

--HG--
extra : convert_revision : 4bf3f68dbef033e5d4984299bb4aa728fa0d1f8d

16 years agoX86: Fix the parser stats which myseriously differ even for the revision they came...
Gabe Black [Wed, 17 Oct 2007 01:04:46 +0000 (18:04 -0700)]
X86: Fix the parser stats which myseriously differ even for the revision they came from.

--HG--
extra : convert_revision : bd5fbeeea319bffbc60dcd45ef19603b09fc71ce

16 years agoMake the process objects use the Params structs in their constructors, and use a...
Gabe Black [Wed, 17 Oct 2007 01:04:01 +0000 (18:04 -0700)]
Make the process objects use the Params structs in their constructors, and use a limit to check if access are on the stack.

--HG--
extra : convert_revision : af40a7acf424c4c4f62d0d76db1001a714ae0474

16 years agoMerge with head
Gabe Black [Sat, 13 Oct 2007 03:10:57 +0000 (20:10 -0700)]
Merge with head

--HG--
extra : convert_revision : 490f9909469751a6cdaf6669e4cd4589ce3a4093

16 years agoLoader: Identify sections based on virtual addresses, and set the LoadAddrMask correc...
Gabe Black [Sat, 13 Oct 2007 03:10:10 +0000 (20:10 -0700)]
Loader: Identify sections based on virtual addresses, and set the LoadAddrMask correctly for x86.

--HG--
extra : convert_revision : efa6cf42f7e69074c645dfcac335a3edf0941389

16 years agoX86: Added some new versions of MOV and a new argument type tag.
Gabe Black [Sat, 13 Oct 2007 03:08:12 +0000 (20:08 -0700)]
X86: Added some new versions of MOV and a new argument type tag.

--HG--
extra : convert_revision : e21b2062d68baa983c7c631b3e1fe3149de56427

16 years agoX86: Implemented LODS.
Gabe Black [Sat, 13 Oct 2007 03:07:28 +0000 (20:07 -0700)]
X86: Implemented LODS.

--HG--
extra : convert_revision : 4bd8f15bbc25f5dce16ea0504ad6dd21805fa56a

16 years agoX86: Implement MSR reads and writes and the wrsmr and rdmsr instructions.
Gabe Black [Fri, 12 Oct 2007 23:37:55 +0000 (16:37 -0700)]
X86: Implement MSR reads and writes and the wrsmr and rdmsr instructions.
There are no priviledge checks, so these instructions will all work in all
modes.

--HG--
extra : convert_revision : ff893eb569313d8aecbfffb47bcbd1c2d65cd393

16 years agoX86: Add 5 new x86 regressions.
Gabe Black [Fri, 12 Oct 2007 20:16:24 +0000 (13:16 -0700)]
X86: Add 5 new x86 regressions.

--HG--
extra : convert_revision : 02f93ab039144b4586983ab76d27b7d051643e0e

16 years agoMake qdo work with oar. I don't know if this catches every case, but it appears
Ali Saidi [Thu, 11 Oct 2007 03:24:16 +0000 (23:24 -0400)]
Make qdo work with oar. I don't know if this catches every case, but it appears
to be working at the moment.

--HG--
extra : convert_revision : 90a5b0e2a06087259c97ff88b94852ddea8ea7b2

16 years agoRegressions: Make mcf have 256MB which it needs for 64 bit builds.
Gabe Black [Thu, 11 Oct 2007 00:12:40 +0000 (17:12 -0700)]
Regressions: Make mcf have 256MB which it needs for 64 bit builds.

--HG--
extra : convert_revision : 42851d60a4c1e709d79bbd3187227b6e220a253e

16 years agoX86: Get rid of BasicOperate format which wasn't used and referred to SparcStaticInst
Gabe Black [Wed, 10 Oct 2007 00:21:04 +0000 (17:21 -0700)]
X86: Get rid of BasicOperate format which wasn't used and referred to SparcStaticInst

--HG--
extra : convert_revision : 5d2eac9a4b3f0fe5e3c3554d91acf8fee368c9dc

16 years agoX86: Get rid of stray Sparc DPRINTF
Gabe Black [Wed, 10 Oct 2007 00:20:23 +0000 (17:20 -0700)]
X86: Get rid of stray Sparc DPRINTF

--HG--
extra : convert_revision : d98b2d95448cab4e689d01ceedaa6ad46f9ffc09

16 years agoELF Loader: Use physical addresses instead of virtual ones.
Gabe Black [Tue, 9 Oct 2007 20:12:04 +0000 (13:12 -0700)]
ELF Loader: Use physical addresses instead of virtual ones.
This works in SE mode because the virtual and physical addresses specified for
segments are the same. In Alpha, the LoadAddrMask is still necessary because
the virtual and physical addresses are the same and apparently rely on the
super page mechanism. All of the regressions pass.

--HG--
extra : convert_revision : 45e49dec5002d64e541bc466c61a0f304af29ea5

16 years agoConfiguration: Move iocache outside of processors loop so it works for MP systems
Ali Saidi [Mon, 8 Oct 2007 19:19:58 +0000 (15:19 -0400)]
Configuration: Move iocache outside of processors loop so it works for MP systems

--HG--
extra : convert_revision : 0ba563555a94eb22a6d4e402388e75e70d3556c2

16 years agoX86: Make x86 initialize more state.
Gabe Black [Mon, 8 Oct 2007 01:20:51 +0000 (18:20 -0700)]
X86: Make x86 initialize more state.

--HG--
extra : convert_revision : a55866efd339ae795da4072c070918bf419b07fa