Skip to content

cpu-o3: change intel fewops from 4 to 8#758

Open
jensen-yan wants to merge 1 commit intoxs-devfrom
fix-topdown-uops
Open

cpu-o3: change intel fewops from 4 to 8#758
jensen-yan wants to merge 1 commit intoxs-devfrom
fix-topdown-uops

Conversation

@jensen-yan
Copy link
Collaborator

Change-Id: I12e721be649c85ce8adfd0b21eedf9a9dced7108

Change-Id: I12e721be649c85ce8adfd0b21eedf9a9dced7108
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f1101dcddb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

MemDepUnit* memDepUnit;
LSQ* lsq;
const int intel_fewops = 4;
const int intel_fewops = 8;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep FEW-op threshold aligned with configured issue width

Raising intel_fewops to a hardcoded 8 makes exec_stall_cycle count cycles as “few uops” even when narrower cores are fully utilized, which skews the Topdown breakdown (coreBound/memoryBound) that is derived from these counters in src/cpu/o3/cpu.cc (lines 503-521) and normalized by cpu->issueWidth (lines 479-490). This is a regression for any config with issue width below 8 (for example, the decodeWidth = 4 Xiangshan ECore configs), where full-issue cycles will now be misclassified as stalls.

Useful? React with 👍 / 👎.

@github-actions
Copy link

🚀 Coremark Smoke Test Results

Branch IPC Change
Base (xs-dev) 2.1727 -
This PR 2.1727 ➡️ 0.0000 (0.00%)

✅ Difftest smoke test passed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant