A more effective Fence count (as some fences go through as the Nop

iType).
This commit is contained in:
jon
2020-12-04 16:28:19 +00:00
parent 425c2778c0
commit 5665d2e9cd

View File

@@ -1219,8 +1219,8 @@ module mkCommitStage#(CommitInput inIfc)(CommitStage);
if ((opcode == opcOp || opcode == opcOp32) && funct7 == opMULDIV)
muldivCnt = muldivCnt + 1;
end
Fence, FenceI, SFence: fenceCnt = fenceCnt + 1; // Some of these are "System" instructions.
endcase
if (opcode == opcMiscMem && funct3 == fnFENCE) fenceCnt = fenceCnt + 1;
end
end
end