gem5.git
14 years agoARM: Add base classes for multiply instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:03 +0000 (12:58 -0500)]
ARM: Add base classes for multiply instructions.

14 years agoARM: Decode plain binary immediate thumb data processing instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:03 +0000 (12:58 -0500)]
ARM: Decode plain binary immediate thumb data processing instructions.

14 years agoARM: Define a new "movt" data processing instruction.
Gabe Black [Wed, 2 Jun 2010 17:58:03 +0000 (12:58 -0500)]
ARM: Define a new "movt" data processing instruction.

14 years agoARM: Hook the new branch instructions into the 32 bit thumb decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:03 +0000 (12:58 -0500)]
ARM: Hook the new branch instructions into the 32 bit thumb decoder.

14 years agoARM: Hook the new branch instructions into the 16 bit thumb decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:03 +0000 (12:58 -0500)]
ARM: Hook the new branch instructions into the 16 bit thumb decoder.

14 years agoARM: Eliminate the old style branch instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:03 +0000 (12:58 -0500)]
ARM: Eliminate the old style branch instructions.

14 years agoARM: Hook the new branch instructions into the ARM decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Hook the new branch instructions into the ARM decoder.

14 years agoARM: Implement branch instructions external to the decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Implement branch instructions external to the decoder.

14 years agoARM: Add new templates for branch instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Add new templates for branch instructions.

14 years agoARM: Implement new base classes for branches.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Implement new base classes for branches.

14 years agoARM: Replace the interworking branch base class with a special operand.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Replace the interworking branch base class with a special operand.

14 years agoARM: Fix PC operand handling.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Fix PC operand handling.

14 years agoARM: Remove the special naming from the new version of data processing instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Remove the special naming from the new version of data processing instructions.

14 years agoARM: Get rid of unnecessary flag calculating functions.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Get rid of unnecessary flag calculating functions.

14 years agoARM: Get rid of the unused Jump format.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Get rid of the unused Jump format.

14 years agoARM: Get rid of obsoleted predicated inst formats, etc.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Get rid of obsoleted predicated inst formats, etc.

14 years agoARM: Implement disassembly for the new data processing classes.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Implement disassembly for the new data processing classes.

14 years agoARM: Hook the external data processing instructions into the Thumb decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Hook the external data processing instructions into the Thumb decoder.

14 years agoARM: Move the modified_imm function from all ARM instructions to just data processing...
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Move the modified_imm function from all ARM instructions to just data processing ones.

14 years agoARM: Hook the new external data processing instructions to the ARM decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Hook the new external data processing instructions to the ARM decoder.

14 years agoARM: Implement data processing instructions external to the decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Implement data processing instructions external to the decoder.

14 years agoARM: Add new base classes for data processing instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Add new base classes for data processing instructions.

14 years agoARM: Hook up 32 bit thumb load/store multiple.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Hook up 32 bit thumb load/store multiple.

14 years agoARM: Hook up 16 bit thumb load/store multiple.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Hook up 16 bit thumb load/store multiple.

14 years agoARM: Reimplement load/store multiple external to the decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)]
ARM: Reimplement load/store multiple external to the decoder.

--HG--
rename : src/arch/arm/isa/formats/macromem.isa => src/arch/arm/isa/insts/macromem.isa
rename : src/arch/arm/isa/formats/macromem.isa => src/arch/arm/isa/templates/macromem.isa

14 years agoARM: Move the templates for predicated instructions into a separate file.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Move the templates for predicated instructions into a separate file.
This allows the templates to all be available at the same time before any of
the formats, etc. This breaks an artificial circular dependence.

--HG--
rename : src/arch/arm/isa/formats/pred.isa => src/arch/arm/isa/templates/pred.isa

14 years agoARM: Remove the special naming for the new memory instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Remove the special naming for the new memory instructions.
These are the only memory instructions now.

14 years agoARM: Eliminate the old memory formats which are no longer used.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Eliminate the old memory formats which are no longer used.

14 years agoARM: Eliminate decoding for the very deprecated FPA instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Eliminate decoding for the very deprecated FPA instructions.

14 years agoARM: Make the addressing mode 3 loads/stores use the externally defined instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Make the addressing mode 3 loads/stores use the externally defined instructions.

14 years agoARM: Pull double memory instructions out of the decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Pull double memory instructions out of the decoder.

14 years agoARM: Force the condition code for 16 bit thumb instructions to be unconditional.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Force the condition code for 16 bit thumb instructions to be unconditional.
Before, because 16 bit thumb instructions didn't set the upper 16 bits of the
ExtMachInst, that field would be interpretted as "equals".

14 years agoARM: Decode 16 bit thumb PC relative memory instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Decode 16 bit thumb PC relative memory instructions.

14 years agoARM: Decode 16 bit thumb immediate addressed memory instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Decode 16 bit thumb immediate addressed memory instructions.

14 years agoARM: Decode 16 bit thumb register addressed memory instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Decode 16 bit thumb register addressed memory instructions.

14 years agoARM: Make single stores decode to the new external store instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Make single stores decode to the new external store instructions.

14 years agoARM: Add a .w to the disassembly of 32 bit thumb instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Add a .w to the disassembly of 32 bit thumb instructions.
This isn't technically correct since the .w should only be added if there are
32 and 16 bit encodings, but always having it always is better than never
having it.

14 years agoARM: Make 32 bit thumb use the new, external load instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Make 32 bit thumb use the new, external load instructions.

14 years agoARM: Define the store instructions from outside the decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Define the store instructions from outside the decoder.

--HG--
rename : src/arch/arm/isa/insts/ldr.isa => src/arch/arm/isa/insts/str.isa

14 years agoARM: Define the load instructions from outside the decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Define the load instructions from outside the decoder.

14 years agoARM: Implement a new set of base classes for non macro memory instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Implement a new set of base classes for non macro memory instructions.

14 years agoARM: Create a "decoder" directory for the files implementing the decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Create a "decoder" directory for the files implementing the decoder.

--HG--
rename : src/arch/arm/isa/armdecode.isa => src/arch/arm/isa/decoder/arm.isa
rename : src/arch/arm/isa/decoder.isa => src/arch/arm/isa/decoder/decoder.isa
rename : src/arch/arm/isa/thumbdecode.isa => src/arch/arm/isa/decoder/thumb.isa
rename : src/arch/arm/isa/vfpdecode.isa => src/arch/arm/isa/decoder/vfp.isa

14 years agoARM: Flesh out the 32 bit thumb store single instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Flesh out the 32 bit thumb store single instructions.

14 years agoARM: Implement the 32 bit thumb load word instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:01 +0000 (12:58 -0500)]
ARM: Implement the 32 bit thumb load word instructions.

14 years agoARM: Add an operand for accessing the current PC.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Add an operand for accessing the current PC.

14 years agoARM: Flesh out 32 bit thumb load word decoding.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Flesh out 32 bit thumb load word decoding.

14 years agoARM: Implement some 32 bit thumb data processing immediate instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Implement some 32 bit thumb data processing immediate instructions.

14 years agoARM: Replace the "never" condition with the "unconditional" condition.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Replace the "never" condition with the "unconditional" condition.

14 years agoARM: Add a base class for 32 bit thumb data processing immediate instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Add a base class for 32 bit thumb data processing immediate instructions.

14 years agoARM: Add a function to decode 32 bit thumb immediate values.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Add a function to decode 32 bit thumb immediate values.

14 years agoARM: Expand the decoding for 32 bit thumb data processing immediate instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Expand the decoding for 32 bit thumb data processing immediate instructions.

14 years agoARM: Stub out the 32 bit Thumb portion of the decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Stub out the 32 bit Thumb portion of the decoder.

14 years agoARM: Add bitfields for 32 bit thumb.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Add bitfields for 32 bit thumb.

14 years agoARM: Decode VFP instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Decode VFP instructions.

14 years agoARM: Stub out the 16 bit thumb decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Stub out the 16 bit thumb decoder.

14 years agoARM: Add thumb bitfields to the ExtMachInst and the isa definition.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Add thumb bitfields to the ExtMachInst and the isa definition.

14 years agoARM: Make the decoder handle thumb instructions separately.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Make the decoder handle thumb instructions separately.

--HG--
rename : src/arch/arm/isa/decoder.isa => src/arch/arm/isa/armdecode.isa
rename : src/arch/arm/isa/decoder.isa => src/arch/arm/isa/thumbdecode.isa

14 years agoARM: Add a thumb bit bitfield.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Add a thumb bit bitfield.

14 years agoARM: Make the predecoder handle Thumb instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Make the predecoder handle Thumb instructions.

14 years agoARM: Make sure ExtMachInst is used consistently instead of regular MachInst.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Make sure ExtMachInst is used consistently instead of regular MachInst.

14 years agoARM: Add a bitfield for setting the regular, inst bits of an ExtMachInst.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Add a bitfield for setting the regular, inst bits of an ExtMachInst.

14 years agoARM: Add a bit to the ExtMachInst to select thumb mode.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Add a bit to the ExtMachInst to select thumb mode.

14 years agoARM: Allow ARM processes to start in Thumb mode.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Allow ARM processes to start in Thumb mode.

14 years agoARM: Detect thumb mode elf images.
Gabe Black [Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)]
ARM: Detect thumb mode elf images.

14 years agoARM: Add a new base class for instructions that can do an interworking branch.
Gabe Black [Wed, 2 Jun 2010 17:57:59 +0000 (12:57 -0500)]
ARM: Add a new base class for instructions that can do an interworking branch.

14 years agoARM: Track the current ISA mode using the PC.
Gabe Black [Wed, 2 Jun 2010 17:57:59 +0000 (12:57 -0500)]
ARM: Track the current ISA mode using the PC.

14 years agoARM: Fix custom writer/reader code for non indexed operands.
Gabe Black [Wed, 2 Jun 2010 17:57:59 +0000 (12:57 -0500)]
ARM: Fix custom writer/reader code for non indexed operands.

14 years agoARM: Remove IsControl from operands that don't imply control transfers.
Gabe Black [Wed, 2 Jun 2010 17:57:59 +0000 (12:57 -0500)]
ARM: Remove IsControl from operands that don't imply control transfers.

Also remove IsInteger from CondCodes.

14 years agoARM: Adjust some copyrights
Ali Saidi [Wed, 2 Jun 2010 17:57:59 +0000 (12:57 -0500)]
ARM: Adjust some copyrights

14 years agostyle: clean up ruby's Set class
Nathan Binkert [Tue, 1 Jun 2010 18:38:56 +0000 (11:38 -0700)]
style: clean up ruby's Set class

Further cleanup should probably be done to make this class be non-Ruby
specific and put it in src/base.

There are probably several cases where this class is used, std::bitset
could be used instead.

14 years agox86: put back code that I accidentally deleted
Nathan Binkert [Wed, 26 May 2010 03:15:44 +0000 (20:15 -0700)]
x86: put back code that I accidentally deleted

14 years agocopyright: Change HP copyright on x86 code to be more friendly
Nathan Binkert [Mon, 24 May 2010 05:44:15 +0000 (22:44 -0700)]
copyright: Change HP copyright on x86 code to be more friendly

14 years agoBPRED: Update one missing regression
Ali Saidi [Wed, 19 May 2010 04:36:05 +0000 (00:36 -0400)]
BPRED: Update one missing regression

14 years agoSPARC: Implement the version of movcc that uses the fp condition codes.
Gabe Black [Fri, 14 May 2010 21:22:51 +0000 (14:22 -0700)]
SPARC: Implement the version of movcc that uses the fp condition codes.

14 years agoAutomated merge with ssh://m5sim.org//repo/m5
Ali Saidi [Fri, 14 May 2010 03:48:06 +0000 (23:48 -0400)]
Automated merge with ssh://m5sim.org//repo/m5

14 years agoBPRED: Update regressions for tournament predictor fix.
Ali Saidi [Fri, 14 May 2010 03:45:59 +0000 (23:45 -0400)]
BPRED: Update regressions for tournament predictor fix.

14 years agoBPRED: Fixed the treshold-bug in the tournament predictor.
Maximilien Breughe [Fri, 14 May 2010 03:45:57 +0000 (23:45 -0400)]
BPRED: Fixed the treshold-bug in the tournament predictor.

Suppose the saturating counters of a branch predictor contain n bits.  When the
counter is between 0 and (2^(n-1) - 1), boundaries included, the branch is
predicted as not taken.  When the counter is between 2^(n-1) and (2^n - 1),
boundaries included, the branch is predicted as taken.

14 years agoX86: Make the cvti2f microop sign extend its integer source correctly.
Gabe Black [Wed, 12 May 2010 07:51:35 +0000 (00:51 -0700)]
X86: Make the cvti2f microop sign extend its integer source correctly.

The code was using the wrong bit as the sign bit. Other similar bits of code
seem to be correct.

14 years agoX86: Actual change that fixes div. How did that happen?
Gabe Black [Wed, 12 May 2010 07:49:12 +0000 (00:49 -0700)]
X86: Actual change that fixes div. How did that happen?

14 years agoX86: The logic that handled the recently fixed corner case for div wasn't quite right.
Gabe Black [Wed, 12 May 2010 07:37:29 +0000 (00:37 -0700)]
X86: The logic that handled the recently fixed corner case for div wasn't quite right.

14 years agoMerge.
Gabe Black [Thu, 6 May 2010 20:41:33 +0000 (13:41 -0700)]
Merge.

14 years agoX86: Update the stats for the new aux vectors in the ruby regression.
Gabe Black [Thu, 6 May 2010 20:41:08 +0000 (13:41 -0700)]
X86: Update the stats for the new aux vectors in the ruby regression.
I forgot to turn on ruby when updating the stats before.

14 years agomacos: MacOS has deprecated getdirentries, so just disable the code.
Nathan Binkert [Thu, 6 May 2010 15:42:21 +0000 (08:42 -0700)]
macos: MacOS has deprecated getdirentries, so just disable the code.
Hopefully it isn't used much

14 years agocompile: don't #include unnecessary stuff
Nathan Binkert [Thu, 6 May 2010 15:42:18 +0000 (08:42 -0700)]
compile: don't #include unnecessary stuff
Time from base/time.hh has a name clash with Time from Ruby's
TypeDefines.hh.  Eventually Ruby's Time should go away, so instead of
fixing this properly just try to avoid the clash.

14 years agoX86: Update stats for the updated auxilliary vectors.
Gabe Black [Mon, 3 May 2010 07:45:01 +0000 (00:45 -0700)]
X86: Update stats for the updated auxilliary vectors.

14 years agoX86: Update the base aux vector X86 processes install.
Gabe Black [Mon, 3 May 2010 07:44:08 +0000 (00:44 -0700)]
X86: Update the base aux vector X86 processes install.

14 years agoX86: Sometimes CPUID depends on ecx, so pass that in.
Gabe Black [Sun, 2 May 2010 07:40:17 +0000 (00:40 -0700)]
X86: Sometimes CPUID depends on ecx, so pass that in.

14 years agoStatetrace: Fix compile problems with the AMD64 version of statetrace.
Gabe Black [Sun, 2 May 2010 07:39:46 +0000 (00:39 -0700)]
Statetrace: Fix compile problems with the AMD64 version of statetrace.

14 years agoX86: Finally fix a division corner case.
Gabe Black [Sun, 2 May 2010 07:39:29 +0000 (00:39 -0700)]
X86: Finally fix a division corner case.

When doing an unsigned 64 bit division with a divisor that has its most
significant bit set, the division code would spill a bit off of the end of a
uint64_t trying to shift the dividend into position. This change adds code
that handles that case specially by purposefully letting it spill and then
going ahead assuming there was a 65th one bit.

14 years agoconfig: fix assertion for x86 in FSConfig.py
Nathan Binkert [Mon, 19 Apr 2010 04:33:59 +0000 (21:33 -0700)]
config: fix assertion for x86 in FSConfig.py

14 years agostats: make simTicks and simFreq accessible from stats.hh
Nathan Binkert [Sun, 18 Apr 2010 20:23:25 +0000 (13:23 -0700)]
stats: make simTicks and simFreq accessible from stats.hh

14 years agocallback: Make helper functions that create callback objects for you
Nathan Binkert [Sun, 18 Apr 2010 20:23:25 +0000 (13:23 -0700)]
callback: Make helper functions that create callback objects for you
clean up callback stuff a little bit while we're at it.

14 years agoevent: Allow EventWrapper to take an object reference
Nathan Binkert [Sun, 18 Apr 2010 20:23:24 +0000 (13:23 -0700)]
event: Allow EventWrapper to take an object reference

14 years agoscons: don't maintain files in sorted order
Nathan Binkert [Thu, 15 Apr 2010 23:25:14 +0000 (16:25 -0700)]
scons: don't maintain files in sorted order
This causes builds to happen in sorted order rather than in
declaration order. This gets annoying when you make a global change
and then you notice that the files that are being compiled are jumping
around the directory hierarchy.

14 years agotick: rename Clock namespace to SimClock
Nathan Binkert [Thu, 15 Apr 2010 23:24:12 +0000 (16:24 -0700)]
tick: rename Clock namespace to SimClock

14 years agoeventq: move EventQueue constructor to cc file
Nathan Binkert [Thu, 15 Apr 2010 23:24:10 +0000 (16:24 -0700)]
eventq: move EventQueue constructor to cc file
Also make copy constructor and assignment operator private.

14 years agoinorder: update regressions for fwd-ing patch
Korey Sewell [Sun, 11 Apr 2010 04:21:49 +0000 (00:21 -0400)]
inorder: update regressions for fwd-ing patch

14 years agoinorder: timing for inst forwarding
Korey Sewell [Sun, 11 Apr 2010 03:31:36 +0000 (23:31 -0400)]
inorder: timing for inst forwarding
when insts execute, they mark the time they finish to be used for subsequent isnts
they may need forwarding of data. However, the regdepmap was using the wrong
value to index into the destination operands of the instruction to be forwarded.
Thus, in some cases, we are checking to see if the 3rd destination register
for an instruction is executed at a certain time, when there is only 1 dest. register
valid. Thus, we get a bad, uninitialized time value that will stall forwarding
causing performance loss but still the correct execution.

14 years agoeventq: allow an implicit cast from an EventManager to an EventQueue *
Nathan Binkert [Fri, 2 Apr 2010 22:28:22 +0000 (15:28 -0700)]
eventq: allow an implicit cast from an EventManager to an EventQueue *

14 years agoeventq: Clean up some flags
Nathan Binkert [Fri, 2 Apr 2010 22:28:22 +0000 (15:28 -0700)]
eventq: Clean up some flags
- Make the initialized flag always available, not just in debug mode.
- Make the Initialized flag actually use several bits so it is very
unlikely that something that's uninitialized accidentally looks
initialized.
- Add an initialized() function that tells you if the current event is
indeed  initialized.
- Clear the flags on delete so it can't be accidentally thought of as
initialized.
- Fix getFlags assert statement.  "How did this ever work?"