Modify ISA and staticInst to support a IsFirstMicroOp flag
authorAli Saidi <saidi@eecs.umich.edu>
Wed, 17 Jan 2007 00:06:05 +0000 (19:06 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Wed, 17 Jan 2007 00:06:05 +0000 (19:06 -0500)
commitecfd628ecd394f8e7df654ffc7c342d959e12e15
treed8d7740c4472718cea0f93bb4cbf04eff9e71421
parent9d04510869fe66d59a168660925a8387c0fba1b8
Modify ISA and staticInst to support a IsFirstMicroOp flag
Increment instruction count on first micro-op instead of last

src/arch/sparc/isa/decoder.isa:
    Implement a twin load for ASI_LDTX_P(0xe2)
src/arch/sparc/isa/formats/mem/blockmem.isa:
    set the new flag IsFirstMicroOp when needed
src/cpu/simple/atomic.cc:
    Increment instruction count on first micro-op instead of last (because if we take a fault on a micro coded instruction it should be counted twice acording to legion)
src/cpu/static_inst.hh:
    Add IsFirstMicroop flag to static insts

--HG--
extra : convert_revision : 02bea93d38c03bbafe4570665eb4c01c11caa2fc
src/arch/sparc/isa/decoder.isa
src/arch/sparc/isa/formats/mem/blockmem.isa
src/cpu/simple/atomic.cc
src/cpu/static_inst.hh