Skip to content

Alex/rmx500 fusion p10019563 81217 - #190

Closed
Alexehv77 wants to merge 2 commits into
arc-2026.03from
alex/rmx500-fusion-P10019563-81217
Closed

Alex/rmx500 fusion p10019563 81217#190
Alexehv77 wants to merge 2 commits into
arc-2026.03from
alex/rmx500-fusion-P10019563-81217

Conversation

@Alexehv77

Copy link
Copy Markdown
Contributor

No description provided.

added pipeline support for rmx500 to be taken
into account while doing instruction fusion

it is enabled by -mtune=arc-v-rmx-500-series

Signed-off-by: Alex Turjan <turjan@synopsys.com>

@MichielDerhaeg MichielDerhaeg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please clean up the PR, there are old, already merged, commits in there.
Can you come up with a better commit title? Don't forget prefixing with arcv: and using --signoff.

Comment thread gcc/config/riscv/riscv.cc Outdated
&& !SCHED_GROUP_P (ready[*n_readyp - i])
&& (!next_insn (ready[*n_readyp - i])
|| !NONDEBUG_INSN_P (next_insn (ready[*n_readyp - i]))
// || !NONDEBUG_INSN_P (next_insn (ready[*n_readyp - i]))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Don't just comment these out. Remove the lines if they need to be removed.
Also, don't we need something like next_non_dbg_insn? That keeps invoking next_insn in a loop until it finds either a non-debug insn or null?

during scheduling (before ira/fusion/after ira) certain
conditions that enable fusion (thus sequence ordering)
take into account the presence of debug instructions.
But debug instructions shouldnt influence instruction
order.
@Alexehv77
Alexehv77 force-pushed the alex/rmx500-fusion-P10019563-81217 branch from fd6e819 to 185aa3b Compare December 5, 2025 12:10
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.

2 participants