Steve Reinhardt [Sun, 6 Jun 2010 05:22:14 +0000 (01:22 -0400)]
stats: fix stats diff script
Previously the return value ignored missing/added stats,
making the regressions not tell you when you needed to
update the reference stats because of these changes.
Also stop filtering distributions when reporting these;
not sure why we did that in the first place.
Also get rid of obsolete hacks for the "fetch-loss" stats
that have been gone for a long time.
Steve Reinhardt [Fri, 4 Jun 2010 02:41:34 +0000 (19:41 -0700)]
More minor gdb-related cleanup.
Found several more stale includes and forward decls.
Steve Reinhardt [Thu, 3 Jun 2010 23:54:28 +0000 (16:54 -0700)]
Act like enabling CPUs is no big deal,
rather than a scary thing that might not work.
Steve Reinhardt [Thu, 3 Jun 2010 23:54:26 +0000 (16:54 -0700)]
Minor remote GDB cleanup.
Expand the help text on the --remote-gdb-port option so
people know you can use it to disable remote gdb without
reading the source code, and thus don't waste any time
trying to add a separate option to do that.
Clean up some gdb-related cruft I found while looking
for where one would add a gdb disable option, before
I found the comment that told me that I didn't need
to do that.
Lisa Hsu [Thu, 3 Jun 2010 18:06:12 +0000 (11:06 -0700)]
Stats: fix dist stat and enable VectorDistStat
Lisa Hsu [Thu, 3 Jun 2010 17:34:40 +0000 (10:34 -0700)]
utils: checkpoint aggregator: some physmem files are too big to read at once,
break it up into reading one page at a time. Also, avoid redoing a aggregating a checkpoint that's
already done.
--HG--
rename : util/checkpoint-aggregator.py => util/checkpoint_aggregator.py
Ali Saidi [Thu, 3 Jun 2010 16:20:49 +0000 (12:20 -0400)]
ARM: Fix issue with m5.fast and ARM
Ali Saidi [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Fix SPEC2000 benchmarks in SE mode. With this patch all
Spec2k benchmarks seem to run with atomic or timing mode simple
CPUs. Fixed up some constants, handling of 64 bit arguments,
and marked a few more syscalls ignoreFunc.
Min Kyu Jeong [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Fix IT state not updating when an instruction memory instruction faults.
Dam Sunwoo [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Allow multiple outstanding TLB walks to queue.
Ali Saidi [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM TLB: Fix bug in memAttrs getting a bogus thread context
Dam Sunwoo [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Support table walks in timing mode.
Dam Sunwoo [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Added support for Access Flag and some CP15 regs (V2PCWPR, V2PCWPW, V2PCWUR, V2PCWUW,...)
Gabe Black [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Decode the neon instruction space.
Gabe Black [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Add a comment to vfp.cc that explains the asm statements.
Gabe Black [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Move some case values out of ##included files.
This will help keep the high level decode together and not have it spread into
the subordinate decode stuff. The ##include lines still need to be on a line
by themselves, though.
Gabe Black [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Combine some redundant cases in one of the data decode functions.
Gabe Black [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Add comments to the classes in macromem.hh.
Gabe Black [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Move code from vfp.hh to vfp.cc.
Ali Saidi [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Make some of the trace code more compact
Gabe Black [Wed, 2 Jun 2010 17:58:18 +0000 (12:58 -0500)]
ARM: Move the longer MemoryReg::printoffset function in mem.hh into the cc file.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Move the ISA "clear" function into isa.cc.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Get rid of the binary dumping function in utility.hh.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Get rid of the empty branch.cc.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Mark some ARM static inst functions as inline.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Move some predecoder stuff into a .cc file.
--HG--
rename : src/arch/arm/predecoder.hh => src/arch/arm/predecoder.cc
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Decode to specialized conditional/unconditional versions of instructions.
This is to avoid condition code based dependences from effectively serializing
instructions when the instruction doesn't actually use them.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Make sure undefined unconditional ARM instructions decode as such.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Implement a version of mcr and mrc that works in user mode.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Hook the misc instructions into the thumb decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Move some miscellaneous instructions out of the decoder to share with thumb.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Treat LDRD in ARM with an odd index as an undefined instruction.
Ali Saidi [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: fix sizes of structs for ARM Linux
Ali Saidi [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Updated regressions for changes in SE mode stack
Ali Saidi [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Fixup native trace support and add some v7/recent stack code
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Detect a bad offset field for the VFP Ldm/Stm instructions in the decoder.
Gabe Black [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Make sure the upc is zeroed when vectoring to a fault.
Ali Saidi [Wed, 2 Jun 2010 17:58:17 +0000 (12:58 -0500)]
ARM: Implement the getrusage syscall.
Gabe Black [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Implement the bkpt instruction.
Gabe Black [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Make undefined instructions obey predication.
Gabe Black [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Implement support for the IT instruction and the ITSTATE bits of CPSR.
Gabe Black [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Get rid of some of the old FP implementation.
Ali Saidi [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Some TLB bug fixes.
Ali Saidi [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Move Miscreg functions out of isa.hh
Ali Saidi [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Implement the ARM TLB/Tablewalker. Needs performance improvements.
Ali Saidi [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
DMA: Make DmaPort generic enough to be used other places
Ali Saidi [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: SE needs a definition for PageTable::serialize/unserialize
Ali Saidi [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Add BKPT instruction
--HG--
rename : src/arch/arm/isa/formats/unknown.isa => src/arch/arm/isa/formats/breakpoint.isa
Ali Saidi [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Implement ARM CPU interrupts
Ali Saidi [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Start over with translation from Alpha code as opposed to something that has cruft from 4 different ISAs.
Gabe Black [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Implement conversion to/from half precision.
Gabe Black [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Clean up VFP
Gabe Black [Wed, 2 Jun 2010 17:58:16 +0000 (12:58 -0500)]
ARM: Clean up the implementation of the VFP instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Fix double precision load/store multiple decrement.
When decrementing, the higher addressed half of a double word is at a 4 byte
smaller displacement.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Even though writes to MVFR0/1 should be unpredictable, we need to make them to do nothing.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Make various bits of the FP control registers read only.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Implement the version of VMRS that writes to the APSR.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Ignore reads and writes to DCIMVAC.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Make MPIDR return 0 and ignore writes.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Implement the VCMPE instruction.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Fix vcvtr so that it uses the rounding mode in the FPSCR.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Fix saturation of VCVT from fp to integer.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Compensate for ARM's underflow coming from -before- rounding, but x86's after.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Implement flush to zero for destinations as well.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Fix up nans to match ARM's expected behavior.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Set the value of the MVFR0 and MVFR1 registers.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Implement flush to zero mode for VFP, and clean up some corner cases.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Add barriers that make sure FP operations happen where they're supposed to.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Implement the version of VCVT float to int that rounds towards zero.
Gabe Black [Wed, 2 Jun 2010 17:58:15 +0000 (12:58 -0500)]
ARM: Implement the floating/fixed point VCVT instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Add code to extract and record VFP exceptions.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement the VFP version of VCMP.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Add support for VFP vector mode.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Introduce new VFP base classes that are optionally microops.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement VCVT between double and single width FP.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement vcvt between int and fp. Ignore rounding.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Consolidate the VFP register index computation code.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement the VFP negated multiplies.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement the VFP versions of VMLA and VMLS.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement the VFP version of vdiv and vsqrt.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement the VFP version of vsub.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement the VFP version of vadd.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement the VFP version of vabs.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement the VFP version of vneg.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement the VFP version of vmul.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Move the VFP data operation decode into a function.
Gabe Black [Wed, 2 Jun 2010 17:58:14 +0000 (12:58 -0500)]
ARM: Implement and update the DFSR and IFSR registers on faults.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Make integer division by zero return a fault.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Add in some missing SCTLR fields.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Decode ARM unconditional MRC and MCR instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Move the CP15 decode block into a function.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Decode the unconditional version of ARM fp instructions.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Move the FP decode blocks into functions.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Warn/ignore when TLB maintenance operations are performed.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Handle accesses to TLBTR.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Handle accesses to the DACR.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Handle accesses to TTBR0 and TTBR1.
Gabe Black [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Convert the CP15 registers from MPU to MMU.
Ali Saidi [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Add some support for wfi/wfe/yield/etc
Ali Saidi [Wed, 2 Jun 2010 17:58:13 +0000 (12:58 -0500)]
ARM: Move PC mode bits around so they can be used for exectrace