— Jojo 在 2021年7月22日 +0800 AM4:53,Jim Wilson <j...@sifive.com>,写道: > On Tue, Jul 13, 2021 at 11:06 AM Palmer Dabbelt <pal...@dabbelt.com> wrote: > > Is there are documentation as to what this "theadc" extension is? > > The best doc I know of is https://github.com/isrc-cas/c910-llvmThe README > is in Chinese, but google translate does a decent job on it. If you want > more details, you have to read the llvm sources to see exactly what each > instruction does. They have mentioned that they are working on English > language docs, but I don't know when they will be available. > There are quite a few T-Head specific instructions here. This patch is only > adding support for a few of them, probably as a trial to see how it goes > before they try to add the rest. Hi,
Please let me feed more details for this patch, There are about ~100+ instructions in our ISA spec, and we put the RFC[1] to ask guide how to commit vendor extension ISAs, we want to commit one type instruction every time, it’s helpful for reviewing. Some Chinese T-HEAD ISA Specs have been on the our web page [2] already, and we are converting these docs to english version to help your reading :) it will be out in the next week, including binutils. Thanks for your suggestion of the patch [1] https://github.com/riscv/riscv-gcc/issues/278 [2] https://www.t-head.cn/technology > Jim >