gem5.git
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

16 years agoX86: Work on the x86 tlb.
Gabe Black [Mon, 8 Oct 2007 01:18:39 +0000 (18:18 -0700)]
X86: Work on the x86 tlb.

--HG--
extra : convert_revision : a08a5cb049a6030ba9fd56a89383d56026238dbf

16 years agoX86: Make faults maintain an error code which gets pushed on the stack.
Gabe Black [Mon, 8 Oct 2007 01:17:52 +0000 (18:17 -0700)]
X86: Make faults maintain an error code which gets pushed on the stack.

--HG--
extra : convert_revision : 7576f8cfaec9ddfb65e6ba7a6f64a5f453a42069

16 years agoX86: Significantly filled out misc regs.
Gabe Black [Mon, 8 Oct 2007 01:16:00 +0000 (18:16 -0700)]
X86: Significantly filled out misc regs.

--HG--
extra : convert_revision : 4c53be6568134d65e57f5411df986fd9a89e82c9

16 years agoX86: Make sure there are fewer spurious differences between instructions for caching...
Gabe Black [Mon, 8 Oct 2007 01:14:48 +0000 (18:14 -0700)]
X86: Make sure there are fewer spurious differences between instructions for caching purposes.

--HG--
extra : convert_revision : 7e6be1c42f28f92d9e8b47169e683827bb3f4aaf

16 years agoBitUnion: Fix some types in the bitunion classes.
Gabe Black [Mon, 8 Oct 2007 01:12:10 +0000 (18:12 -0700)]
BitUnion: Fix some types in the bitunion classes.

--HG--
extra : convert_revision : 1c003f9fc9ef3a57c9199d692d172e747581f383

16 years agoX86: Make initCPU and startupCPU do something basic.
Gabe Black [Mon, 8 Oct 2007 01:10:42 +0000 (18:10 -0700)]
X86: Make initCPU and startupCPU do something basic.

--HG--
extra : convert_revision : 1a04f4402f4f31e4e5cd482c7983d853fe117df5

16 years agoX86: Make the Interrupts class complain less.
Gabe Black [Mon, 8 Oct 2007 01:08:17 +0000 (18:08 -0700)]
X86: Make the Interrupts class complain less.

--HG--
extra : convert_revision : 81d9544e85c90139704ffe4a117983df4bfa3bcd

16 years agoX86: Adjust the config scripts for x86 fs.
Gabe Black [Mon, 8 Oct 2007 00:52:36 +0000 (17:52 -0700)]
X86: Adjust the config scripts for x86 fs.

--HG--
extra : convert_revision : 36ed22b50066f54be0e51c3419babc07dd218e10

16 years agoX86: Make an x86 system object.
Gabe Black [Mon, 8 Oct 2007 00:48:36 +0000 (17:48 -0700)]
X86: Make an x86 system object.

--HG--
extra : convert_revision : 590a4c29cb9b943a2d8c3a97c5fdfbabb658ac45

16 years agoX86: Make an x86 platform object.
Gabe Black [Mon, 8 Oct 2007 00:48:06 +0000 (17:48 -0700)]
X86: Make an x86 platform object.

--HG--
extra : convert_revision : 7d64d3e78960f3bb937579f5d10937bed5f197be

16 years agoX86: X86 FS compile fix.
Gabe Black [Mon, 8 Oct 2007 00:46:56 +0000 (17:46 -0700)]
X86: X86 FS compile fix.

--HG--
extra : convert_revision : bedd4cbab570d4ae84af9e8ead8f61db5c3c01dc

16 years agoMerge with head.
Gabe Black [Thu, 4 Oct 2007 19:35:35 +0000 (12:35 -0700)]
Merge with head.

--HG--
extra : convert_revision : aa1969b60044f8ed88e689bdd25eeded2b1105ec

16 years agoX86: Fix the PageShift constant in isa_traits.hh (I thought I alread did this?)
Gabe Black [Thu, 4 Oct 2007 19:34:29 +0000 (12:34 -0700)]
X86: Fix the PageShift constant in isa_traits.hh (I thought I alread did this?)

--HG--
extra : convert_revision : bdc51a66e4fdf4b0a51b5c774ca7372a00a57269

16 years agoSPARC: Make software trap 3 flush the register windows like the ABI specifies.
Gabe Black [Thu, 4 Oct 2007 19:24:16 +0000 (12:24 -0700)]
SPARC: Make software trap 3 flush the register windows like the ABI specifies.

--HG--
extra : convert_revision : 8ff43617b56dcca5783d6cc490f87140fc20a36d

16 years agoMerge with head.
Gabe Black [Wed, 3 Oct 2007 06:03:38 +0000 (23:03 -0700)]
Merge with head.

--HG--
extra : convert_revision : 1aa0e4569a7c10e6a395c2c951ac29275b5bcf59

16 years agoX86: Distinguish between the rep and repe prefixes.
Gabe Black [Wed, 3 Oct 2007 06:02:18 +0000 (23:02 -0700)]
X86: Distinguish between the rep and repe prefixes.
STOS and MOVS only accept the rep prefix which always loops until rcx becomes
0. The other string instructions accept repe (same encoding as rep) and repne
which also check the condition code flags each iteration.

--HG--
extra : convert_revision : 544149f640302070810fb53e53bfeb0e87160ffc

16 years agoX86: Start implementing the x86 tlb which will handle segmentation permission and...
Gabe Black [Wed, 3 Oct 2007 06:00:37 +0000 (23:00 -0700)]
X86: Start implementing the x86 tlb which will handle segmentation permission and limit checks and paging.

--HG--
extra : convert_revision : 6072f7d9eecbaa066d39d6da7f0180ea4a2615af

16 years agoX86: Fix places where movfp was used incorrectly.
Gabe Black [Wed, 3 Oct 2007 05:58:48 +0000 (22:58 -0700)]
X86: Fix places where movfp was used incorrectly.

--HG--
extra : convert_revision : a6b5688eaa53d2f6675df1be193726641e558d37

16 years agoX86: Fix the movfp microop.
Gabe Black [Wed, 3 Oct 2007 05:58:04 +0000 (22:58 -0700)]
X86: Fix the movfp microop.

--HG--
extra : convert_revision : 23829782a2802a97a05e4dfdb5dd38fbe4165a90

16 years agoX86: Fix x87 floating point stack register indexing.
Gabe Black [Wed, 3 Oct 2007 05:57:33 +0000 (22:57 -0700)]
X86: Fix x87 floating point stack register indexing.

--HG--
extra : convert_revision : b515ec20cbfc50b38aa7da6cf4d465acf9054c08

16 years agoPredecoder: Clear out predecoder state on an ITLB fault.
Gabe Black [Wed, 3 Oct 2007 05:21:38 +0000 (22:21 -0700)]
Predecoder: Clear out predecoder state on an ITLB fault.

--HG--
extra : convert_revision : 68f8ff778dbd28ade5070edf5a7d662e7bf0045a

16 years agoX86: Put ldst into the microcode (the earlier changeset didn't really).
Gabe Black [Wed, 3 Oct 2007 05:19:53 +0000 (22:19 -0700)]
X86: Put ldst into the microcode (the earlier changeset didn't really).
Also clean things up as much as possible so that faulting won't break an
instruction. More microops which verify addresses are needed.

--HG--
extra : convert_revision : 7c6050cb4798d287fe7d3cc4bb8c20dfa40ad2be

16 years agoX86: Implement the ldst microop and put it in existing microcode where appropriate.
Gabe Black [Wed, 3 Oct 2007 05:08:09 +0000 (22:08 -0700)]
X86: Implement the ldst microop and put it in existing microcode where appropriate.

--HG--
extra : convert_revision : f08bd725d07a501bb7a0ce91590b5d37db99c6f3

16 years agoX86: Fix up the microcode for the FST and FSTP instructions.
Gabe Black [Wed, 3 Oct 2007 05:06:59 +0000 (22:06 -0700)]
X86: Fix up the microcode for the FST and FSTP instructions.

--HG--
extra : convert_revision : ad68633e9b7eab425593acb20cf242bf98c2b642

16 years agoX86: Get rid of a hack for ruflag which is no longer necessary.
Gabe Black [Wed, 3 Oct 2007 05:05:50 +0000 (22:05 -0700)]
X86: Get rid of a hack for ruflag which is no longer necessary.

--HG--
extra : convert_revision : 1bb60c9ddb483aead2af0201bbda938cc6d3f7cb

16 years agoX86: Allow logic instructions to set ECF as well as CF.
Gabe Black [Wed, 3 Oct 2007 05:05:10 +0000 (22:05 -0700)]
X86: Allow logic instructions to set ECF as well as CF.

--HG--
extra : convert_revision : 6ac20f069c86c23a8d443a7127afd6015166c00d

16 years agoX86: Add classes for the actual x86 faults.
Gabe Black [Wed, 3 Oct 2007 05:04:20 +0000 (22:04 -0700)]
X86: Add classes for the actual x86 faults.

--HG--
extra : convert_revision : bc060a01b5415551b335ca68ccbf126333ae20b0

16 years agoX86: Hook in another version of the XCHG instruction.
Gabe Black [Wed, 3 Oct 2007 05:03:38 +0000 (22:03 -0700)]
X86: Hook in another version of the XCHG instruction.

--HG--
extra : convert_revision : 7b6f9cd2f59443622f6963dfee454175322c0ef5

16 years agoX86: Implement MOVS
Gabe Black [Wed, 3 Oct 2007 05:02:58 +0000 (22:02 -0700)]
X86: Implement MOVS

--HG--
extra : convert_revision : 29147e1b86f7c54ce9b5ff68001725802c665fc0

16 years agoX86: Implement STOS.
Gabe Black [Wed, 3 Oct 2007 05:02:30 +0000 (22:02 -0700)]
X86: Implement STOS.

--HG--
extra : convert_revision : 95f3bf185f07fe644d6ab96bbb6e598e406b92f4

16 years agoCPU: Make the cpuid parameter get set in SE mode as well.
Gabe Black [Wed, 3 Oct 2007 01:33:57 +0000 (18:33 -0700)]
CPU: Make the cpuid parameter get set in SE mode as well.

--HG--
extra : convert_revision : bc47206acb683ebaaa31f57af79b4b8db64e4d31

16 years agoRemote GDB: Turn on remote gdb in SE mode.
Gabe Black [Wed, 3 Oct 2007 01:26:27 +0000 (18:26 -0700)]
Remote GDB: Turn on remote gdb in SE mode.

--HG--
extra : convert_revision : e17eb629071edd0dbcb09dd6a6a2220d2c83d33f

16 years agoCPU: Make the cpus check the pc event queues in SE mode.
Gabe Black [Wed, 3 Oct 2007 01:25:37 +0000 (18:25 -0700)]
CPU: Make the cpus check the pc event queues in SE mode.

--HG--
extra : convert_revision : 9dc4ea136c3c3f87a73d55e91bc4aae4eba70464

16 years agoSPARC,Remote GDB: Flesh out the acc function for SE mode.
Gabe Black [Wed, 3 Oct 2007 01:25:10 +0000 (18:25 -0700)]
SPARC,Remote GDB: Flesh out the acc function for SE mode.

--HG--
extra : convert_revision : eada066ab64701b5c53e7351dfffbdc0e0d4f344

16 years agoSPARC,Remote GDB: Fix an accounting bug in the remote gdb stuff.
Gabe Black [Wed, 3 Oct 2007 01:24:24 +0000 (18:24 -0700)]
SPARC,Remote GDB: Fix an accounting bug in the remote gdb stuff.

--HG--
extra : convert_revision : f6f0986211c442ac94da315e344a8f54d4d58c8a

16 years agoRemote GDB: Get rid of an unwanted delete in SE.
Gabe Black [Wed, 3 Oct 2007 01:23:11 +0000 (18:23 -0700)]
Remote GDB: Get rid of an unwanted delete in SE.

--HG--
extra : convert_revision : 7531ba87893a8ebff3863adb846b382d07a1d18d

16 years agoCPU: Make sure the system parameter gets set in the cpu builders. Other parameters...
Gabe Black [Wed, 3 Oct 2007 01:22:36 +0000 (18:22 -0700)]
CPU: Make sure the system parameter gets set in the cpu builders. Other parameters need to be fixed as well.

--HG--
extra : convert_revision : 0401970a79855ee0a96eb29305346ce07b5c98ea

16 years agoCPU: fix sparc_fs booting with SimpleTimingCPU.
Ali Saidi [Mon, 1 Oct 2007 06:55:27 +0000 (02:55 -0400)]
CPU: fix sparc_fs booting with SimpleTimingCPU.

--HG--
extra : convert_revision : 3d95f6daa7f0e8e376d1a880f64c056619263885

16 years agoUpdate statistics for the last three revisions
Ali Saidi [Fri, 28 Sep 2007 17:22:34 +0000 (13:22 -0400)]
Update statistics for the last three revisions

--HG--
extra : convert_revision : 117e2a40bd6e0867d013a3a6076fb758ac526d24

16 years agoUpdate stats for quiesced cycles
Ali Saidi [Fri, 28 Sep 2007 17:22:14 +0000 (13:22 -0400)]
Update stats for quiesced cycles

--HG--
extra : convert_revision : 703ba58f156c9f2677b020f05d36bc1e3ae0b9e5

16 years agoRename cycles() function to ticks()
Ali Saidi [Fri, 28 Sep 2007 17:21:52 +0000 (13:21 -0400)]
Rename cycles() function to ticks()

--HG--
extra : convert_revision : 790eddb793d4f5ba35813d001037bd8601bd76a5

16 years agoUpdate statistics to use cycles properly instead of ticks
Ali Saidi [Fri, 28 Sep 2007 17:21:30 +0000 (13:21 -0400)]
Update statistics to use cycles properly instead of ticks

--HG--
extra : convert_revision : 62911280b631ef24720f9ce701d1c19a9b8a9784

16 years agoCondition Codes: Fix the findParity function.
Gabe Black [Wed, 26 Sep 2007 03:26:10 +0000 (20:26 -0700)]
Condition Codes: Fix the findParity function.

--HG--
extra : convert_revision : 37520ed12f55f6b8d9daedca9947eaa2eb8d7cc7

16 years agoMerge with head.
Gabe Black [Wed, 26 Sep 2007 03:11:41 +0000 (20:11 -0700)]
Merge with head.

--HG--
extra : convert_revision : f331b9cbd82086d63d4f35e18f9e08466c016225

16 years agoSPARC: Remove parameter that was only ever set to one value.
Gabe Black [Wed, 26 Sep 2007 03:11:03 +0000 (20:11 -0700)]
SPARC: Remove parameter that was only ever set to one value.

--HG--
extra : convert_revision : 3c22e576d95bdc7566bbce9b92cf2a6ff153a66f

16 years agoSPARC: Remove some redundant code from some of the fp instructions.
Gabe Black [Wed, 26 Sep 2007 03:10:04 +0000 (20:10 -0700)]
SPARC: Remove some redundant code from some of the fp instructions.

--HG--
extra : convert_revision : 68b0341ae7a367b84c44081f9a3d6d0bc6631649

16 years agoSPARC: Clean up of privileged instructions.
Gabe Black [Wed, 26 Sep 2007 03:09:25 +0000 (20:09 -0700)]
SPARC: Clean up of privileged instructions.

--HG--
extra : convert_revision : 1fb055a7d186a3e9dff46f1c1b46bad6bcd00562

16 years agoSPARC: Long overdue cleanup of the condition code handlers.
Gabe Black [Wed, 26 Sep 2007 03:08:34 +0000 (20:08 -0700)]
SPARC: Long overdue cleanup of the condition code handlers.

--HG--
extra : convert_revision : ddc53a622a8f908fa48788f3b570f33fcfc25fff

16 years agoCondition Codes: Fix type error.
Gabe Black [Wed, 26 Sep 2007 03:07:06 +0000 (20:07 -0700)]
Condition Codes: Fix type error.

--HG--
extra : convert_revision : 99f6c232cc421c6f741a8a11c029285e599eb183

16 years agoSPARC: Clean up the branch instructions a bit.
Gabe Black [Wed, 26 Sep 2007 03:05:11 +0000 (20:05 -0700)]
SPARC: Clean up the branch instructions a bit.

--HG--
extra : convert_revision : 93d5cc68e4a327ee0492eeed7f3b56e98d2d83bb

16 years agoLoader: Load all segments of an elf, rather than just the "text" and "data".
Gabe Black [Wed, 26 Sep 2007 03:03:51 +0000 (20:03 -0700)]
Loader: Load all segments of an elf, rather than just the "text" and "data".

--HG--
extra : convert_revision : b28bb9ac5cde72878e948d64f629de6e4b42c2e8

16 years agoLoader: Only complain about TLS sections if you're using Alpha.
Gabe Black [Wed, 26 Sep 2007 03:02:30 +0000 (20:02 -0700)]
Loader: Only complain about TLS sections if you're using Alpha.

--HG--
extra : convert_revision : 125d19ad3fa1847752e455fa248ca3b2a55a2067

16 years agoSPARC: Fix a stupid mistake which was breaking the SPARC regressions.
Gabe Black [Wed, 26 Sep 2007 03:00:46 +0000 (20:00 -0700)]
SPARC: Fix a stupid mistake which was breaking the SPARC regressions.

--HG--
extra : convert_revision : 34a11df0d467ea249211dd3aba86bc8d2aea45de

16 years agoX86: Fix for uninitialized variables in stacktrace code.
Gabe Black [Tue, 25 Sep 2007 21:44:12 +0000 (14:44 -0700)]
X86: Fix for uninitialized variables in stacktrace code.

--HG--
extra : convert_revision : d19a03d8c14eb93a99f2c1838a9caa1286804c81

16 years agoX86: Get X86_FS to compile.
Gabe Black [Tue, 25 Sep 2007 00:39:56 +0000 (17:39 -0700)]
X86: Get X86_FS to compile.

--HG--
extra : convert_revision : fb973bcf13648876d5691231845dd47a2be50f01

16 years agoSPARC: Fix linking error from new flattenFloatIndex function.
Gabe Black [Thu, 20 Sep 2007 02:08:42 +0000 (19:08 -0700)]
SPARC: Fix linking error from new flattenFloatIndex function.

--HG--
extra : convert_revision : 5260f33336e3a9d5e3592b784458e243157f17e3

16 years agoX86: Implement the fld, fst, and fstp instructions.
Gabe Black [Thu, 20 Sep 2007 01:28:34 +0000 (18:28 -0700)]
X86: Implement the fld, fst, and fstp instructions.

--HG--
extra : convert_revision : 7dd274bdc3c34839c17d9012a745d7c95dfcfdd8

16 years agoX86: Move the fp microops to their own file with their own base classes in C++ and...
Gabe Black [Thu, 20 Sep 2007 01:27:55 +0000 (18:27 -0700)]
X86: Move the fp microops to their own file with their own base classes in C++ and python.

--HG--
extra : convert_revision : 9cd223f2005adb36fea2bb56fa39793a58ec958c

16 years agoX86: Put in the foundation for x87 stack based fp registers.
Gabe Black [Thu, 20 Sep 2007 01:26:42 +0000 (18:26 -0700)]
X86: Put in the foundation for x87 stack based fp registers.

--HG--
extra : convert_revision : 940f92efd4a9dc59106e991cc6d9836861ab69de

16 years agoX86: Put in stubs for x87, 64 bit and 128 bit SIMD instruction microcode.
Gabe Black [Thu, 20 Sep 2007 01:25:17 +0000 (18:25 -0700)]
X86: Put in stubs for x87, 64 bit and 128 bit SIMD instruction microcode.

--HG--
rename : src/arch/x86/isa/insts/sse/__init__.py => src/arch/x86/isa/insts/simd128/__init__.py
extra : convert_revision : efb4405aebaa4a04f33572e7d078ceca45872d9c

16 years agoX86: Enable the rename system call.
Gabe Black [Thu, 20 Sep 2007 01:24:11 +0000 (18:24 -0700)]
X86: Enable the rename system call.

--HG--
extra : convert_revision : bc4a3b5b5ce8e17f632e65ce89df91e2b50e1274

16 years agoX86: Enable the unlink system call.
Gabe Black [Thu, 20 Sep 2007 01:23:35 +0000 (18:23 -0700)]
X86: Enable the unlink system call.

--HG--
extra : convert_revision : 4230a13fdb652a87271f8d2ac9ead96cd2af07a5

16 years agoMerge with head.
Gabe Black [Thu, 13 Sep 2007 23:36:25 +0000 (16:36 -0700)]
Merge with head.

--HG--
extra : convert_revision : 22aafb1cead3f584e64c188dc8eb45e271f4e7e9

16 years agoX86: Fix how ECF is computed in genFlags, and get rid of some duplicate code.
Gabe Black [Thu, 13 Sep 2007 23:35:41 +0000 (16:35 -0700)]
X86: Fix how ECF is computed in genFlags, and get rid of some duplicate code.

--HG--
extra : convert_revision : f86330a5a9fea782ee63aaa18ca964fb6f9cef0b

16 years agoX86: Make the shift and rotate instructions set the carry flag(s) and overflow flags...
Gabe Black [Thu, 13 Sep 2007 23:35:20 +0000 (16:35 -0700)]
X86: Make the shift and rotate instructions set the carry flag(s) and overflow flags like they're supposed to.

--HG--
extra : convert_revision : c0523a5bbf53375ce979ca7d98a95e465be66fbe

16 years agoX86: Total overhaul of the division instructions and microops.
Gabe Black [Thu, 13 Sep 2007 23:34:46 +0000 (16:34 -0700)]
X86: Total overhaul of the division instructions and microops.

--HG--
extra : convert_revision : 303ea45f69f7805361ad877fe6bb43fbc3dfd7a6

16 years agoSyscall Emulation: Add stat64 syscall.
Ali Saidi [Thu, 13 Sep 2007 16:30:12 +0000 (12:30 -0400)]
Syscall Emulation: Add stat64 syscall.

Patch submitted by: Jonas Diemer [diemer (a) ida.ing.tu-bs.de]

--HG--
extra : convert_revision : 07638c05bb3f79aacce49457bbb8c17d0a3a7238

16 years agoCheckpointing: Fix directory regex
Ali Saidi [Wed, 12 Sep 2007 19:27:15 +0000 (15:27 -0400)]
Checkpointing: Fix directory regex

--HG--
extra : convert_revision : 4d3958eda66209373249e54e7deadd1a7442e828

16 years agoCheckpointing: Force drain/resume when switching a CPU
Ali Saidi [Wed, 12 Sep 2007 19:24:24 +0000 (15:24 -0400)]
Checkpointing: Force drain/resume when switching a CPU

--HG--
extra : convert_revision : 7d9c3f4c8c357e3a9214deba5df3581beeaf7cb6

16 years agoDevices: More fixes to Intel NIC Model.
Ali Saidi [Wed, 12 Sep 2007 19:24:23 +0000 (15:24 -0400)]
Devices: More fixes to Intel NIC Model.

--HG--
extra : convert_revision : 14306d3cd79bbef7decdf2fd370ed7e7f2b10a93

16 years agoLoader: Error if a TLS section is found in the binary.
Ali Saidi [Tue, 11 Sep 2007 04:01:24 +0000 (00:01 -0400)]
Loader: Error if a TLS section is found in the binary.

--HG--
extra : convert_revision : d763c0382f3cbcc9786510f5a8e521ec9d55eff1

16 years agoX86: Make the isa parser run if any of the microcode files change.
Gabe Black [Mon, 10 Sep 2007 23:49:07 +0000 (16:49 -0700)]
X86: Make the isa parser run if any of the microcode files change.

--HG--
extra : convert_revision : 7f6d07de7e0d728a9333fb46c953dbe6cb04e600

16 years agoFix for leaving EXTRAS blank
Gabe Black [Mon, 10 Sep 2007 23:42:41 +0000 (16:42 -0700)]
Fix for leaving EXTRAS blank
Apparently env['EXTRAS'] will return an empty string if not set. split will
then split it into an empty string, and normalize will turn "" into ".".

--HG--
extra : convert_revision : f79efebb129fdd65161fcf4d4582c2a8541aeacd

16 years agoNormalize the path pathed in through EXTRAS so it won't break with a trailing slash.
Gabe Black [Mon, 10 Sep 2007 19:48:06 +0000 (12:48 -0700)]
Normalize the path pathed in through EXTRAS so it won't break with a trailing slash.

--HG--
extra : convert_revision : c14e2c6d97b5bcb491b91eeb4e7dc04d1cc35475

16 years agoRemove redundant endian.hh and use byteswap.hh in its place.
Gabe Black [Mon, 10 Sep 2007 18:02:50 +0000 (11:02 -0700)]
Remove redundant endian.hh and use byteswap.hh in its place.

--HG--
extra : convert_revision : 5be1a5ba20d69d696d3974df147c2f219414c0b2

16 years agoX86: Move a comment to be next to the code it describes.
Gabe Black [Mon, 10 Sep 2007 18:01:52 +0000 (11:01 -0700)]
X86: Move a comment to be next to the code it describes.

--HG--
extra : convert_revision : c384391175babb7cfdd3885ae9d9f1a9405ea44f

16 years agoMerge with head.
Gabe Black [Thu, 6 Sep 2007 23:32:03 +0000 (16:32 -0700)]
Merge with head.

--HG--
extra : convert_revision : 4fc5f595b23f72c0825d62f21efab46ed1db835b

16 years agoX86: Rework the multiplication microops so that they work like they would in the...
Gabe Black [Thu, 6 Sep 2007 23:27:28 +0000 (16:27 -0700)]
X86: Rework the multiplication microops so that they work like they would in the patent.

--HG--
extra : convert_revision : 6fcf5dee440288d8bf92f6c5c2f97ef019975536

16 years agoX86: Make signed multiplication do something different from unsigned.
Gabe Black [Thu, 6 Sep 2007 23:25:29 +0000 (16:25 -0700)]
X86: Make signed multiplication do something different from unsigned.

--HG--
extra : convert_revision : 333c4a3464d708d4d8cea88931259ab96c2f75ed

16 years agoX86: Make signed versions of partial register values available to microops.
Gabe Black [Thu, 6 Sep 2007 23:22:08 +0000 (16:22 -0700)]
X86: Make signed versions of partial register values available to microops.

--HG--
extra : convert_revision : c820d1250f505911a341ced42d4f73796ea77f87

16 years agoX86: Correct how the hi portion of a product is computed.
Gabe Black [Thu, 6 Sep 2007 23:20:12 +0000 (16:20 -0700)]
X86: Correct how the hi portion of a product is computed.

--HG--
extra : convert_revision : 1f503e1cae0374e62e6254e8073e903adc29d067

16 years agoX86: Add a square root microop and the SSE sqrt instruction.
Gabe Black [Thu, 6 Sep 2007 23:18:34 +0000 (16:18 -0700)]
X86: Add a square root microop and the SSE sqrt instruction.

--HG--
extra : convert_revision : ddc6e7e95111189d43f75bf84cd3d82433d982b3

16 years agoX86: Add SSE comparison instructions and microops and move some FP microops to be...
Gabe Black [Thu, 6 Sep 2007 23:09:28 +0000 (16:09 -0700)]
X86: Add SSE comparison instructions and microops and move some FP microops to be with the other ones.

--HG--
extra : convert_revision : ee0b5acde08d12c51a5282efb58d1ac72e0779af

16 years agoBus: Fix drain code; old method could return 1 in atomic mode and never call de-...
Ali Saidi [Wed, 5 Sep 2007 21:12:41 +0000 (17:12 -0400)]
Bus: Fix drain code; old method could return 1 in atomic mode and never call de->process().

--HG--
extra : convert_revision : 35990e5eaf93f7a95a0ec72e9f92034a042def3e

16 years agoConfiguration: Fix example script to only create one L2 if --l2cache and -nX are...
Ali Saidi [Wed, 5 Sep 2007 18:57:50 +0000 (14:57 -0400)]
Configuration: Fix example script to only create one L2 if --l2cache and -nX are given as parameters.

Patch submitted by: Jonas Diemer [diemer (a) ida.ing.tu-bs.de]

--HG--
extra : convert_revision : 1dfc548d2bc33d622d829bbf385f4bf9700711cd

16 years agoMerge with head.
Gabe Black [Wed, 5 Sep 2007 06:46:08 +0000 (23:46 -0700)]
Merge with head.

--HG--
extra : convert_revision : 19bea7995285eeb7e277d3064f427429ade2bcb8

16 years agoX86: Implement an SSE xor microop and instruction.
Gabe Black [Wed, 5 Sep 2007 06:44:37 +0000 (23:44 -0700)]
X86: Implement an SSE xor microop and instruction.

--HG--
extra : convert_revision : 949737d0f5d6fe4aa77cc4680d0c88caab3e8174