Skip to content

[MIPS] Reland Scheduling model for MIPS i6400 and i6500 CPUs (#132704) #137984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

mgoudar
Copy link
Contributor

@mgoudar mgoudar commented Apr 30, 2025

Relands #132704 with a fix in the testcase:
Add llvm/test/tools/llvm-mca/Mips/lit.local.cfg

Add scheduling model for the MIPS i6400 and i6500, an in-order MIPS64R6 processor.

i6400 and i6500 share same instruction latencies.

CPU has following pipelines

  • Two ALUs
  • Multiply and Divide unit (MDU)
  • Branch Unit (CTU)
  • Load/Store Unit (LSU)
  • Short Floating-point Unit and
  • Long Floating-point Unit

Latency information is available at:
https://mips.com/wp-content/uploads/2025/03/MIPS_I6500-F_Data_Sheet_Rev1.10_3-17-2025.pdf

…2704)

Relands llvm#132704 with a fix in the testcase:
Add llvm/test/tools/llvm-mca/Mips/lit.local.cfg

Add scheduling model for the MIPS i6400 and i6500, an in-order MIPS64R6
processor.

i6400 and i6500 share same instruction latencies.

CPU has following pipelines
  - Two ALUs
  - Multiply and Divide unit (MDU)
  - Branch Unit (CTU)
  - Load/Store Unit (LSU)
  - Short Floating-point Unit and
  - Long Floating-point Unit

Latency information is available at:
https://mips.com/wp-content/uploads/2025/03/MIPS_I6500-F_Data_Sheet_Rev1.10_3-17-2025.pdf
@mshockwave mshockwave self-requested a review April 30, 2025 16:16
Copy link
Member

@mshockwave mshockwave left a comment

Choose a reason for hiding this comment

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

LGTM

@mgoudar
Copy link
Contributor Author

mgoudar commented May 2, 2025

LGTM

Thank you.

@brad0 brad0 merged commit c22bc21 into llvm:main May 4, 2025
12 checks passed
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
…2704) (llvm#137984)

Relands llvm#132704 with a fix in the testcase:
Add llvm/test/tools/llvm-mca/Mips/lit.local.cfg

Add scheduling model for the MIPS i6400 and i6500, an in-order MIPS64R6
processor.

i6400 and i6500 share same instruction latencies.

CPU has following pipelines
  - Two ALUs
  - Multiply and Divide unit (MDU)
  - Branch Unit (CTU)
  - Load/Store Unit (LSU)
  - Short Floating-point Unit and
  - Long Floating-point Unit

Latency information is available at:

https://mips.com/wp-content/uploads/2025/03/MIPS_I6500-F_Data_Sheet_Rev1.10_3-17-2025.pdf
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
…2704) (llvm#137984)

Relands llvm#132704 with a fix in the testcase:
Add llvm/test/tools/llvm-mca/Mips/lit.local.cfg

Add scheduling model for the MIPS i6400 and i6500, an in-order MIPS64R6
processor.

i6400 and i6500 share same instruction latencies.

CPU has following pipelines
  - Two ALUs
  - Multiply and Divide unit (MDU)
  - Branch Unit (CTU)
  - Load/Store Unit (LSU)
  - Short Floating-point Unit and
  - Long Floating-point Unit

Latency information is available at:

https://mips.com/wp-content/uploads/2025/03/MIPS_I6500-F_Data_Sheet_Rev1.10_3-17-2025.pdf
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
…2704) (llvm#137984)

Relands llvm#132704 with a fix in the testcase:
Add llvm/test/tools/llvm-mca/Mips/lit.local.cfg

Add scheduling model for the MIPS i6400 and i6500, an in-order MIPS64R6
processor.

i6400 and i6500 share same instruction latencies.

CPU has following pipelines
  - Two ALUs
  - Multiply and Divide unit (MDU)
  - Branch Unit (CTU)
  - Load/Store Unit (LSU)
  - Short Floating-point Unit and
  - Long Floating-point Unit

Latency information is available at:

https://mips.com/wp-content/uploads/2025/03/MIPS_I6500-F_Data_Sheet_Rev1.10_3-17-2025.pdf
GeorgeARM pushed a commit to GeorgeARM/llvm-project that referenced this pull request May 7, 2025
…2704) (llvm#137984)

Relands llvm#132704 with a fix in the testcase:
Add llvm/test/tools/llvm-mca/Mips/lit.local.cfg

Add scheduling model for the MIPS i6400 and i6500, an in-order MIPS64R6
processor.

i6400 and i6500 share same instruction latencies.

CPU has following pipelines
  - Two ALUs
  - Multiply and Divide unit (MDU)
  - Branch Unit (CTU)
  - Load/Store Unit (LSU)
  - Short Floating-point Unit and
  - Long Floating-point Unit

Latency information is available at:

https://mips.com/wp-content/uploads/2025/03/MIPS_I6500-F_Data_Sheet_Rev1.10_3-17-2025.pdf
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.

3 participants