Nathan Binkert
3555b2aecc
style: fix style hook when run from a repo subdir.
...
Before this fix, the style hook would blow up when you did a qrefresh to add
a new file, but executed the qrefresh from a repository sub directory.
--HG--
extra : convert_revision : 851b0421dfa5c5b23d0f49441c4ba2e0ac579c5d
2007-08-21 16:15:14 -07:00
Gabe Black
a874cb40ab
Merge with head.
...
--HG--
extra : convert_revision : 6ce77b5bd4f43ddecd51ea8c66759e4b70d4ad82
2007-08-18 19:41:08 -07:00
Ali Saidi
464a51e29e
Ports: Only try to do EthPort stuff in full system.
...
--HG--
extra : convert_revision : 9ea093ea7c9ab22f8467c5cd5d55b66c71eb3427
2007-08-17 04:20:02 -04:00
Ali Saidi
bba265ccd8
PCI: Move PCI Configuration data into devices now that we can inherit parameters.
...
--HG--
extra : convert_revision : bd2214b28fb46a9a9e9e204e0539be33acb548ad
2007-08-16 16:49:05 -04:00
Ali Saidi
773cb77656
Devices: Make EtherInts connect in the same way memory ports currently do.
...
--HG--
extra : convert_revision : 765b096785a77df9adc4791c9101b90696bd7be2
2007-08-16 16:49:02 -04:00
Nathan Binkert
a9e4daf574
style: Don't try to fix files that should be ignored.
...
The style hook was ignoring new files, but processing all modified
files.
--HG--
extra : convert_revision : 97400c24a12103d7ac3d4f69b026853816c39d72
2007-08-14 18:21:23 -07:00
Gabe Black
4bce50340f
Merge with head.
...
--HG--
extra : convert_revision : e02b606752bf1305d3609051b42a9adba009b7df
2007-08-14 16:12:11 -07:00
Ali Saidi
0cb32aadb1
Regression: Update EIO simple-timing test for new cache.
...
--HG--
extra : convert_revision : b64f407f7735706b1162f6a0e7676590bda3ba5d
2007-08-14 14:02:22 -04:00
Ali Saidi
b634e81496
Regression: Update insttest regressions for new cache.
...
--HG--
extra : convert_revision : 100478b2ae00d9d3464c41d940276843a226422f
2007-08-14 00:16:08 -04:00
Ali Saidi
51ac4d1fb5
Regression: Use test-progs in /dist instead of tests/test-progs since they all aren't there.
...
--HG--
extra : convert_revision : 558b970f522f95e3492b7225f227c96cd5e003c3
2007-08-14 00:14:03 -04:00
Ali Saidi
546fbfb47c
fixup bad hand merge
...
--HG--
extra : convert_revision : 71db222856a811f2724bbc9bbe4069c1f61754ed
2007-08-13 23:45:07 -04:00
Ali Saidi
27ddf0b40e
Merge IGNORE_STYLE change and my change.
...
--HG--
extra : convert_revision : 13880ec6df17b0317d4097243bb24add753a098a
2007-08-13 23:44:26 -04:00
Ali Saidi
b069b81acf
Regression: See if using subprocess instead of os.system and erroring immediately will stop regression randomly hanging.
...
--HG--
extra : convert_revision : a663ae935edd1b6e8f0bb5b08583a5b9761d0939
2007-08-13 23:40:43 -04:00
Gabe Black
ca84d953b9
SPARC: Make nops have the IsNop flag set.
...
In O3, a nop is used to carry faults down the pipeline that didn't originate
from an instruction. If the instruction doesn't do anything, that is just
returns NoFault, but doesn't have IsNop set, the NoFault will overwrite the
fault that's being sent down and nothing will happen.
--HG--
extra : convert_revision : 54d99002b550ca0e1cf14603f588dc1038e3e535
2007-08-13 16:11:27 -07:00
Gabe Black
92a57edff1
O3: Set up the predicted npc and nnpc for a fault carrying noop so that it doesn't cause a false branch mispredict.
...
--HG--
extra : convert_revision : 2820597cc966cd7b128cef0dab48fe05089533d7
2007-08-13 16:08:58 -07:00
Gabe Black
e99c56f971
SPARC: Move tlb state into the tlb.
...
Each "strand" may need to have a private copy of this state, but I couldn't
find anywhere in the spec that said that after looking briefly.
This prevents writes to the thread context in o3 which was causing the
pipeline to be flushed and stopping any forward progress. The other ASI
accessible state will probably need to be accessed differently if/when we get
O3 full system up and running.
--HG--
extra : convert_revision : fa7fba812d7f76564ef4a23818e60f536710d557
2007-08-13 16:06:50 -07:00
Gabe Black
26853e11c0
SPARC: Make the spill and fill handlers use the correct ASI, and let No_Fault ASI accesses work.
...
--HG--
extra : convert_revision : 3321bb91da02c1bec27fa34d0ba945cc976b6491
2007-08-13 16:02:47 -07:00
Gabe Black
82f78ebd39
Move the "translate" member functions back into the base o3 class.
...
--HG--
extra : convert_revision : 3c480537bf38f74f0f1d72e75c70aa46ba91b759
2007-08-13 16:01:09 -07:00
Nathan Binkert
9b4be65327
python: make the DictImporter's unload() work in any context.
...
import sys since sys may not be defined in whatever context the DictImporter
is used. Also reset self.installed after an unload since the same DictImporter
could be used again
--HG--
extra : convert_revision : 988ed7ad8cd41b69e8fc583e618b1b4a146216da
2007-08-13 13:39:22 -07:00
Ali Saidi
ce219738b9
Style: fix IGNORE_STYLE so it isn't required on the command line.
...
--HG--
extra : convert_revision : 42ff16a2ae0316cc4b70ade961a50d5d4a5eb950
2007-08-12 22:44:14 -04:00
Ali Saidi
e9ddc7fbca
Regression: fix configuration for SPARC_FS
...
--HG--
extra : convert_revision : 88aa9649cc1b4d8165616e98880d3d6cd2a75762
2007-08-12 19:44:04 -04:00
Ali Saidi
d114e5fae6
Regression: Update stats for cache changes.
...
--HG--
extra : convert_revision : 005672e722dec00cb4c38501b5189b4eb7515ca1
2007-08-12 19:43:55 -04:00
Ali Saidi
02353a60ee
MemorySystem: Fix the use of ?: to produce correct results.
...
--HG--
extra : convert_revision : 31aad7170b35556a4c984f4ebc013137d55d85eb
2007-08-12 19:43:54 -04:00
Nathan Binkert
64295b800f
merge
...
--HG--
extra : convert_revision : 5866eaa4008c4fa5da7fbb443132b8326955f71d
2007-08-12 09:56:37 -07:00
Nathan Binkert
b92594dd90
style: If IGNORE_STYLE=True is set on the scons command line, ignore style.
...
Use this in the regress script to avoid issues with the checker.
--HG--
extra : convert_revision : 562b6a6d73dc46e412d00ba2588af2793335274e
2007-08-12 09:56:05 -07:00
Vincentius Robby
ec4000e0e2
Added fastmem option.
...
Lets CPU accesses to physical memory bypass Bus.
--HG--
extra : convert_revision : e56e3879de47ee10951a19bfcd8b62b6acdfb30c
2007-08-08 18:43:12 -04:00
Vincentius Robby
1caed14654
alpha: Quick fix for things related to TLB MRU cache.
...
simple-timing test for ALPHA_FS breaks.
--HG--
extra : convert_revision : 5a1b05cddd480849913da81a3b3931fec16485a8
2007-08-08 18:38:19 -04:00
Ali Saidi
9493501fdb
Regression: Add an I/O Cache to the full system regressions that have a cache.
...
--HG--
extra : convert_revision : 8ba96e21be2f602eed8258d410038dbe998ef176
2007-08-10 16:14:02 -04:00
Ali Saidi
06a9f58c68
DMA: Add IOCache and fix bus bridge to optionally only send requests one
...
way so a cache can handle partial block requests for i/o devices.
--HG--
extra : convert_revision : a68b5ae826731bc87ed93eb7ef326a2393053964
2007-08-10 16:14:01 -04:00
Ali Saidi
5c38668ed6
Bus: Only call end() on an stl object once in a loop
...
--HG--
extra : convert_revision : 238dcd6da7577b533e52ada2107591c4e9168ebd
2007-08-10 16:14:01 -04:00
Vincentius Robby
3d40cba8d4
Port, StaticInst: Revert unnecessary changes.
...
--HG--
extra : convert_revision : e6ef262bbbc5ad53498e55caac1897e6cc2a61e6
2007-08-08 14:54:02 -04:00
Vincentius Robby
13d10e844c
alpha: Make the TLB cache to actually work.
...
Improve MRU checking for StaticInst, Bus, TLB
--HG--
extra : convert_revision : 9116b5655cd2986aeb4205438aad4a0f5a440006
2007-08-08 14:18:09 -04:00
Gabe Black
ef32494e72
Alpha: Fix an off by one error with the tlb caching mechanism.
...
--HG--
extra : convert_revision : e17f7a0d58a2e59b2e270f0827db33d0a29365e0
2007-08-07 21:51:12 -07:00
Gabe Black
0fd999ca40
Merge with head.
...
--HG--
extra : convert_revision : ae7b3df573368c29a66d5b027ecad9ffb3a99104
2007-08-07 15:31:36 -07:00
Gabe Black
e85144bff2
Statetrace: Make statetrace do string instructions all at once like m5 does.
...
--HG--
extra : convert_revision : 2103029077450e46f70077066708255310963d9d
2007-08-07 15:27:54 -07:00
Gabe Black
cd3f0646ca
X86: Added some missing parenthesis in the condition code calculation function.
...
--HG--
extra : convert_revision : 663021070a4bcc795bb44e1839b8bcec686a42f0
2007-08-07 15:26:50 -07:00
Gabe Black
24541780c6
X86: Implemented and hooked in SCAS (scan string)
...
Fixed the asz assembler symbol.
Adjusted the condion checks to have appropriate options.
Implemented the SCAS microcode.
Attached SCAS into the decoder.
--HG--
extra : convert_revision : 17bf9ddae6bc2069e43b076f8f83c4e54fb7966c
2007-08-07 15:25:41 -07:00
Gabe Black
d79a591608
X86: Add a format to handle string instructions which can use the repe and repne prefixes.
...
--HG--
extra : convert_revision : 205fbbb947258bc0ef2915e22d5b32a3df1a1ce2
2007-08-07 15:23:01 -07:00
Gabe Black
60c61cb2b1
X86: Overhaul of ruflags to get it to work correctly.
...
--HG--
extra : convert_revision : 00a36a80a1945806aac9fa7d9d6a3906465dcad2
2007-08-07 15:21:13 -07:00
Gabe Black
fb6cdf09cb
X86: Make a microcode branch microop.
...
Also some touch up for ruflag.
--HG--
extra : convert_revision : 829947169af25ca6573f53b9430707101c75cc23
2007-08-07 15:19:26 -07:00
Gabe Black
cae8d20633
Merge with head.
...
--HG--
extra : convert_revision : 3edb9f03353b18b4c9f062bccf11e79cfb3c15f2
2007-08-04 20:27:23 -07:00
Gabe Black
30e777a5d3
X86: Implement microops and instructions that manipulate the flags register.
...
--HG--
extra : convert_revision : 566841577bf4a98cac0b65292fe0f7daf89a9203
2007-08-04 20:24:18 -07:00
Gabe Black
802f13e6bd
X86: Make 64 bit unaligned accesses work as well as the other sizes.
...
There is a fundemental flaw in how unaligned accesses are supported, but this
is still an improvement.
--HG--
extra : convert_revision : 1c20b524ac24cd4a812c876b067495ee6a7ae29f
2007-08-04 20:22:20 -07:00
Gabe Black
b9793c2506
X86: Make the open flags correct.
...
--HG--
extra : convert_revision : 2dc81345176d1de247a567d1f748e2b2bd05f829
2007-08-04 20:18:20 -07:00
Gabe Black
fc6b2cceb4
X86: Make fixed register operands ignore register index extensions from the REX prefix.
...
The only cases where this was the correct behavior are now handled with the
"B" operand type, and doing things this way was breaking some instructions,
notably a shift.
--HG--
extra : convert_revision : 072346d4f541edaceba7aecc26ba8d2cd756e481
2007-08-04 20:17:31 -07:00
Gabe Black
6f3bb03a3f
X86: Implement the cmpxchg instruction.
...
--HG--
extra : convert_revision : b9e172bcb9551edf65c63f26dfa07d771edf3e1e
2007-08-04 20:15:27 -07:00
Gabe Black
e410a925df
X86: Start implementing segmentation support.
...
Make instructions observe segment prefixes, default segment rules, segment
base addresses.
Also fix some microcode and add sib and riprel "keywords" to the x86
specialization of the microassembler.
--HG--
extra : convert_revision : be5a3b33d33f243ed6e1ad63faea8495e46d0ac9
2007-08-04 20:12:54 -07:00
Gabe Black
ced6cbcccf
X86: Create a base enum value for indexing into a region of the miscregs.
...
This lets you index into a group of registers without having to know
explicitly which one is the lowest in that group.
--HG--
extra : convert_revision : e3cad25a1c5910955204c37177b049ca9834cfd9
2007-08-04 20:07:42 -07:00
Gabe Black
0e6be2a9b1
X86: Add the arch_prctl system call and fix up some microcoding.
...
The arch_prctl system call is used to set and get the FS and GS segment
bases. The FS segment is use for TLS, so glibc needs to be able to set it
up.
--HG--
extra : convert_revision : 79501491a15967a7a862add846ff88a934fb1b37
2007-08-04 20:02:41 -07:00
Nathan Binkert
df015f17a4
switching: turn on profiling after a switch if there's an event
...
--HG--
extra : convert_revision : 689e5b85c47bb2aaceb7eb38c2a24a2e5b69376c
2007-08-04 16:11:11 -07:00