GCC编译问题请教 #5015
Unanswered
xiaoing11324
asked this question in
Q&A
GCC编译问题请教
#5015
Replies: 1 comment 2 replies
-
|
感谢您的提问!您使用的编译选项没有问题,香山双周报中公布的分数是用GCC12不开启向量测试的分数,使用GCC15.1不开启向量应该也能取得近似的性能分数。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
你好,想请教一下,GCC编译器升级到GCC15.1 w/ vec之后,我使用了如下的编译选项: make ARCH=riscv64 CROSS_COMPILE=riscv64-unknown-linux-gnu- OPTIMIZE="-O3 -flto -march=rv64gcv_zvl128b_zba_zbb_zbc_zbs -ftree-vectorize -mabi=lp64d -mrvv-max-lmul=m4 -mrvv-vector-bits=zvl",对于spec06的子项483.xalancbmk,fpga跑出来分数为6.82,与香山的结果24.18相差非常大,用切片看了波形以后怀疑是因为向量vset/vsegment指令很多,导致大部分时候都在等待清空rob,所以想请教一下,咱这边带向量的483子项跑分是多少,另外想请教下咱用的编译选项是否一致
Beta Was this translation helpful? Give feedback.
All reactions