22a5f66820
X86: Fix the carry flag for shl.
Gabe Black
2009-08-05 02:56:38 -07:00
df2c862a07
X86: Fix how the parity flag is computed. It's only for the lowest order byte, and I had the polarity wrong.
Gabe Black
2009-08-05 02:56:12 -07:00
7f012ef8da
ruby: made mapAddressToRange based off a bit count
Derek Hower
2009-08-04 23:05:37 -05:00
c1e0bd1df4
slicc: generate html by default
Derek Hower
2009-08-04 12:42:45 -05:00
bd7af84d5e
slicc: better error messages when the python parser fails
Nathan Binkert
2009-08-04 09:37:27 -07:00
f5c21eaa1a
Merged with head.
Gabe Black
2009-08-03 11:06:19 -07:00
676dc6d292
X86: Fix segment override prefixes on instructions that use rbp/rsp and a displacement.
Gabe Black
2009-08-03 11:01:40 -07:00
ac15e42c17
Automated merge with ssh://hg@m5sim.org/m5
Derek Hower
2009-08-03 11:39:08 -05:00
38c2af17a5
X86: Set up the IDE device correctly, ie. with and using legacy ports.
Gabe Black
2009-08-02 18:01:13 -07:00
80aa771dbc
IDE: Configure the IDE control to reflect the initial value of the command register.
Gabe Black
2009-08-02 18:01:09 -07:00
aff57202b4
X86: Fix the high result of mul1s, and removed undefined shifts from the mult microops.
Gabe Black
2009-08-02 08:39:29 -07:00
a13a706a20
Fix setting of INST_FETCH flag for O3 CPU. It's still broken in inorder. Also enhance DPRINTFs in cache and physical memory so we can see more easily whether it's getting set or not.
Steve Reinhardt
2009-08-01 22:50:14 -07:00
1c28004654
Clean up some inconsistencies with Request flags.
Steve Reinhardt
2009-08-01 22:50:13 -07:00
c0755e6085
Rename internal Request fields to start with '_'. The inconsistency was causing a subtle bug with some of the constructors where the params had the same name as the fields. This is also a first step to switching the accessors over to our new "standard", e.g., getVaddr() -> vaddr().
Steve Reinhardt
2009-08-01 22:50:10 -07:00
e09ae149af
Statetrace: Make sure the current state is loaded to print the initial stack frame. The early call to child->step() was removed earlier because it confused the new differences-only protocol ARM sendState() was using. It's necessary that that gets called at least once before attempting to print the initial stack frame, though, because otherwise statetrace doesn't know what the stack pointer is. By putting the first call to child->step() in a common spot, both needs are met.
Gabe Black
2009-07-29 00:35:49 -07:00
b066e717f4
ARM: Fix an instruction in the cmpxchg kernel provided routine. The instruction was encoded as a load instead of the intended store.
Gabe Black
2009-07-29 00:18:26 -07:00
c2da5bae17
ARM: Get rid of a stray line in the set_tls handler.
Gabe Black
2009-07-29 00:17:20 -07:00
1e04b6281d
ARM: Make the ARM native tracer stop M5 if control diverges. If the control flow of M5's executable and statetrace's target process get out of sync even a little, there will be a LOT of output, very little of which will be useful. There's also almost no hope for recovery. In those cases, we might as well give up and not generate a huge, mostly worthless trace file.
Gabe Black
2009-07-29 00:17:11 -07:00
2871a13ab3
Simple CPU: Make the simple CPU handle the IntRegs trace flag.
Gabe Black
2009-07-29 00:15:26 -07:00
873112ea99
ARM: Make sure the target process doesn't run away from statetrace.
Gabe Black
2009-07-29 00:14:43 -07:00
0a9eb59e6f
ARM: Ignore the "times" system call.
Ali Saidi
2009-07-29 00:09:46 -07:00
19a4fb0ff3
ARM: Fix an ioctl constant.
Ali Saidi
2009-07-29 00:09:44 -07:00
9e292c950a
ARM: Update the stats for the EABI version of hello world.
Gabe Black
2009-07-27 00:55:14 -07:00
daf8718da9
ARM: Update some syscall constants and delete others that are Alpha only.
Ali Saidi
2009-07-27 00:54:55 -07:00
d3f2992e39
ARM: Decode fstmx and fldmx instructions. We can ignore them for now.
Gabe Black
2009-07-27 00:54:50 -07:00
52b4a7c36f
ARM: Only send information that changed between statetrace and M5.
Gabe Black
2009-07-27 00:54:30 -07:00
90d3d3535b
imported patch nativetracestreamline.patch
Gabe Black
2009-07-27 00:54:24 -07:00
8ec235c7b1
ARM: Make native trace print out what instruction caused an error.
Gabe Black
2009-07-27 00:54:09 -07:00
1ad4de2528
imported patch statetracehost.patch
Gabe Black
2009-07-27 00:54:04 -07:00
081b6fe9db
ARM: Add ARM support to statetrace.
Ali Saidi
2009-07-27 00:53:39 -07:00
6835dbce34
Statetrace: Fix up headers.
Gabe Black
2009-07-27 00:53:32 -07:00
c18d6cb1a7
ARM: Implement a basic version of the fmxr instruction.
Gabe Black
2009-07-27 00:53:29 -07:00
2828fa459d
ARM: Implement a basic version of the fmrx instruction.
Gabe Black
2009-07-27 00:53:24 -07:00
4079792f2b
ARM: Add in spots for the VFP control registers.
Gabe Black
2009-07-27 00:53:10 -07:00
b560acfe17
ARM: Fix the CLZ instruction.
Gabe Black
2009-07-27 00:52:59 -07:00
dc0df3f396
ARM: Initialize the CPSR so that we're in user mode.
Gabe Black
2009-07-27 00:52:48 -07:00
b8bf34be05
ARM: Set up the initial stack frame to match a recent Linux.
Gabe Black
2009-07-27 00:52:31 -07:00
ebc2897673
Elf: Add in some new aux vector type constants.
Gabe Black
2009-07-27 00:52:19 -07:00
a41e132007
ARM: Make native trace only print when registers are changing value. When registers have incorrect values but aren't actively changing, it's likely they're not being modified at all. The fact that they're still wrong isn't very important.
Gabe Black
2009-07-27 00:52:01 -07:00
519ace4dfd
ARM: Add a native tracer.
Gabe Black
2009-07-27 00:51:35 -07:00
a343e33699
ARM: Update the reference outputs for the new binary and fstat64 struct.
Gabe Black
2009-07-27 00:51:27 -07:00
e7640227ca
ARM: Fix fstat/fstat64 structs to match EABI definitions.
Ali Saidi
2009-07-27 00:51:20 -07:00
70dedd1d35
ARM: Replace hello world with an EABI version.
Gabe Black
2009-07-27 00:51:15 -07:00
99831ed938
ARM: Handle register indexed system calls.
Ali Saidi
2009-07-27 00:51:01 -07:00
0a18bc0d6c
ARM: Detect OABI binaries and complain that they're no-longer supported.
Ali Saidi
2009-07-27 00:50:55 -07:00
6c46313556
se-configs: edit se.py to account for non-O3CPU workloads
Korey Sewell
2009-07-26 00:13:35 -04:00
80544cda8a
ruby: libruby_init now takes parsed Ruby-lang config text
Derek Hower
2009-07-21 18:33:05 -05:00
74584d79b6
MIPS: Get MIPS_FS to compile, more style fixes. Some breakage was from my BitUnion change, some was much older.
Gabe Black
2009-07-21 01:09:05 -07:00
7548082d3b
MIPS: Many style fixes. White space, commented out code, some other minor fixes.
Gabe Black
2009-07-21 01:08:53 -07:00
dc0a017ed0
isa_parser: Get rid of the now unused ControlBitfieldOperand.
Gabe Black
2009-07-20 20:20:17 -07:00
5161bc19d9
MIPS: Use BitUnions instead of bits() functions and constants. Also fix style issues in regions around these changes.
Gabe Black
2009-07-20 20:14:15 -07:00
6262b31515
Merge with head.
Gabe Black
2009-07-14 18:06:30 -07:00
fce4412d76
ARM: Fix the "open" flag constants.
Jack Whitham
2009-07-14 21:03:33 -07:00
289cd00326
Changed the state machine to generate code such that multiple processors can make atomic requests at once
Polina Dudnik
2009-07-13 18:39:32 -05:00
5f551d9ca2
1. Got rid of unused functions in DirectoryMemory 2. Reintroduced RMW_Read and RMW_Write 3. Defined -2 in the Sequencer as well as made a note about mandatory queue
Polina Dudnik
2009-07-13 17:22:29 -05:00
9a675a0391
Changes to add tracing and replaying command-line options Trace is automatically ended upon a manual checkpoint
Polina Dudnik
2009-07-13 12:50:10 -05:00
b28058917c
Locked requests should actually be converted to ST rather than ATOMIC, because ATOMIC is for RMW.
Polina Dudnik
2009-07-13 12:11:17 -05:00