RVV:My two simd_vpu seem to be ineffective #1524
Unanswered
AlutionXian
asked this question in
Q&A
Replies: 1 comment 3 replies
-
What is N? It is possible that N is too small and did not fill all the execution units of the vector. Another possibility is that the issue width of the vector instruction is 1. You can open O3PipeView to check the pipeline |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CPU:O3
ISA:Riscv(Rvv)
config: src/cpu/o3/FuncUnitConfig.py :count of SIMD_Unit =2
I wrote a code to do the multiplication, and the loop part looks like this:
I successfully compiled it and ran it in SE mode with this command:
But I found that "count of SIMD_Unit =2 or 1", the number of cycles is the same.
I don't know what the problem is, whether there is a wrong configuration in my GEM5 or a problem in my code?
Thanks for taking the time to read this.
Beta Was this translation helpful? Give feedback.
All reactions