17.01.2013 Views

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Coprocessor 0 271<br />

Event 14 for Counter 0: Functional Unit Completion Cycles<br />

This counter is incremented once on the cycle after at least one of the functional<br />

units — ALU1, ALU2, FPU1, or FPU2 — marks an instruction as done.<br />

Event 14 for Counter 1: Stores, or Prefetches with Store Hint to Clean Exclusive Secondary<br />

Cache Blocks.<br />

This counter is incremented on the cycle after a request to change the Clean<br />

Exclusive state of the targeted secondary cache line to Dirty Exclusive is sent to the<br />

SCTP logic.<br />

Event 15 for Counter 0: Instruction Graduation.<br />

This counter is incremented by the number of instructions that were graduated on<br />

the previous cycle. When an integer multiply or divide instruction graduates, it is<br />

counted as two graduated instructions.<br />

Event 15 for Counter 1: Stores or Prefetches with Store Hint to Shared Secondary Cache<br />

Blocks.<br />

This counter is incremented on the cycle after a request to change the Shared state<br />

of the targeted secondary cache line to Dirty Exclusive is sent to the SCTP logic.<br />

The performance counters and associated control registers are written by using an<br />

MTC0 instruction, as shown in Table 14-19.<br />

Table 14-19 Writing Performance Registers Using MTC0<br />

Opcode[15:11] Opcode[1:0] Operation<br />

11001 00 Move to Performance Control 0<br />

11001 01 Move to Performance Counter 0<br />

11001 10 Move to Performance Control 1<br />

11001 11 Move to Performance Counter 1<br />

The performance counters and associated control registers are read by using a<br />

MFC0 instruction, as shown in Table 14-20.<br />

Table 14-20 Reading Performance Registers Using MFC0<br />

Opcode[15:11] Opcode[1:0] Operation<br />

11001 00 Move from Performance Control 0<br />

11001 01 Move from Performance Counter 0<br />

11001 10 Move from Performance Control 1<br />

11001 11 Move from Performance Counter 1<br />

<strong>MIPS</strong> <strong>R10000</strong> <strong>Microprocessor</strong> <strong>User's</strong> <strong>Manual</strong> Version 2.0 of January 29, 1997

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!