XUANTIE-RV / thead-extension-spec

XuanTie vendor extension Instruction Set spec
Apache License 2.0
30 stars 20 forks source link

Is XTheadVector equal to RVV 0.7.1 ? #51

Closed Du-Chao closed 3 months ago

Du-Chao commented 4 months ago

Could we use the "-march=rv64gc_xtheadvector" GCC parameter for a XuanTie C920 (V1) core ? Thanks.

cmuellner commented 4 months ago

XTheadVector is not equal to RVV 0.7.1. But XTheadVector is very similar to RVV 0.7.1.

Details can be found here: https://github.com/T-head-Semi/thead-extension-spec/blob/master/xtheadvector.adoc

Du-Chao commented 4 months ago

XTheadVector is not equal to RVV 0.7.1. But XTheadVector is very similar to RVV 0.7.1.

Details can be found here: https://github.com/T-head-Semi/thead-extension-spec/blob/master/xtheadvector.adoc

Thanks. So could I use the option '-march=rv64gc_xtheadvector' to build a binary for XuanTie C920 ?

cmuellner commented 4 months ago

XTheadVector is not equal to RVV 0.7.1. But XTheadVector is very similar to RVV 0.7.1. Details can be found here: https://github.com/T-head-Semi/thead-extension-spec/blob/master/xtheadvector.adoc

Thanks. So could I use the option '-march=rv64gc_xtheadvector' to build a binary for XuanTie C920 ?

Yes, but to make this work, you will need a kernel supporting XTheadVector as well.

Du-Chao commented 3 months ago

Thanks.