<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Great, thanks Yunhai!<div class=""><br class=""></div><div class="">-Chris<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 25, 2020, at 1:54 AM, 尚云海 <<a href="mailto:yunhai.syh@alibaba-inc.com" class="">yunhai.syh@alibaba-inc.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="__aliyun_email_body_block"><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;">Hi Chris,</span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;"><br class=""></span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;">Glad to hear from you. I hope everything goes well.</span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;"><br class=""></span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;">This is also very exciting for us. As mentioned in the previous email of Zeson, C-SKY is a RISC architecture for high-performance and energy-efficient processors. Many Processors based on this architecture have been mass produced in different fields. At present, more than 1 billon have been shipped.</span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;"><br class=""></span></div><div style="clear:both;" class="">The community for C-SKY architecture is mainly composed of ourselves, Chip companies and some university institutions to develop the software ecosystem on this architecture. As shown in the figure below, I will try to briefly introduce the roadmap of this architecture. There are already a series of processors based on this architecture (we call it XuanTie 800 series) have been released, from the smallest cost 801 to high-performance computing 860, the size of the icon on the picture implies the cost of each processor.Each processor has different characteristics and application scenarios, a simple description has been marked on the picture.</div><div style="clear:both;" class=""><br class=""></div><div style="clear:both;" class="">We are planning to develop a processor with higher performance than the 860, which may be called 880, and we are also planning to develop processors for special applications, such as SSD controllers or other special fileds. There are so many things to do.</div><div style="clear:both;" class=""><br class=""></div><div style="clear:both;" class="">Don't hesitate to contact me if you have any questions. Looking forward to your reply!</div><div style="clear:both;" class=""><br class=""></div><div style="clear:both;" class="">Thanks,</div><div style="clear:both;" class="">Yunhai</div><div style="clear:both;" class=""><br class=""></div><div style="clear:both;" class=""><span id="cid:__aliyun159834569819623921"><temp4cj.png></span></div><div style="clear:both;" class=""><br class=""></div><div style="clear:both;" class=""></div><div style="clear:both;" class=""><br class=""></div><blockquote class=""><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;">------------------------------------------------------------------</span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;">发件人:Chris Lattner <<a href="mailto:clattner@nondot.org" class="">clattner@nondot.org</a>></span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;">发送时间:2020年8月21日(星期五) 08:42</span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;">收件人:Zeson <<a href="mailto:zixuan.wu@linux.alibaba.com" class="">zixuan.wu@linux.alibaba.com</a>></span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;">抄 送:llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>>; 尚云海 <<a href="mailto:yunhai.syh@alibaba-inc.com" class="">yunhai.syh@alibaba-inc.com</a>>; 戎杰杰(无音) <<a href="mailto:jiejie.rjj@alibaba-inc.com" class="">jiejie.rjj@alibaba-inc.com</a>>; 瞿仙淼(杯茶) <<a href="mailto:xianmiao.qxm@alibaba-inc.com" class="">xianmiao.qxm@alibaba-inc.com</a>>; 沙钧(钧游) <<a href="mailto:shajun.sj@alibaba-inc.com" class="">shajun.sj@alibaba-inc.com</a>>; 耿旗(丛丰) <<a href="mailto:forrest.gq@alibaba-inc.com" class="">forrest.gq@alibaba-inc.com</a>></span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;">主 题:Re: [llvm-dev] [RFC] Add a new backend called CSKY</span></div><div style="clear:both;" class=""><span class=" __aliyun_node_has_color" style="font-family: Tahoma, Arial, STHeiti, SimSun; font-size: 14px;"><br class=""></span></div>It is always exciting to see new targets! Can you give a sense of the community that supports this and the hardware roadmap for this? Are there active plans to develop new C-SKY cores?<div class=""><br class=""></div><div class="">-Chris<br class=""><div class=""><br class=""><div class="">On Aug 20, 2020, at 2:10 AM, Zeson via llvm-dev <<a class="" href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="clear:both;"><p class=" __aliyun_node_has_bgcolor" style="margin:.0px .0px 12.0px;padding:.0px;border:.0px;font-variant-ligatures:normal;font-variant-caps:normal;text-align:left;text-indent:.0px;widows:2;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;"><span class="" style="font-style:normal;font-weight:400;text-transform:none;font-family:arial;font-size:13.0px;">Hi, All.</span></p><pre class="" style="font-variant-ligatures:normal;font-variant-caps:normal;text-align:start;text-indent:.0px;widows:2;text-decoration-style:initial;text-decoration-color:initial;"><span class="" style="font-family:arial;font-size:13.0px;"><span class="" style="font-size:13.0px;font-family:arial;font-style:normal;font-weight:400;text-transform:none;">I am proposing the integration of a new backend called C-SKY.</span></span></pre><p class=" __aliyun_node_has_bgcolor" style="margin:.0px .0px 12.0px;padding:.0px;border:.0px;font-variant-ligatures:normal;font-variant-caps:normal;text-align:left;text-indent:.0px;widows:2;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;"><span class="" style="font-style:normal;font-weight:400;text-transform:none;font-family:arial;font-size:13.0px;">C-SKY processor is a 32-bit high-performance and low-power embedded processor designed for embedded system or SoC environment. It adopts independently design of architecture and micro architecture with extensible instruction set, which owns great features, e.g. configurable hardware, re-synthesis, easily integration etc. Additionally, it is excellent in power management. It adopts several strategies to reduce power consumption including statically designed and dynamic power supply management, low voltage supply, entering low power mode and closing internal function modules.</span></p><p class=" __aliyun_node_has_bgcolor" style="margin:.0px .0px 12.0px;padding:.0px;border:.0px;font-variant-ligatures:normal;font-variant-caps:normal;text-align:left;text-indent:.0px;widows:2;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;"><span class="" style="font-style:normal;font-weight:400;text-transform:none;font-family:arial;font-size:13.0px;">Now, C-SKY CPU instruction system has two versions: C-SKY V1 and C-SKY V2. You must note that the C-SKY V2.0 instruction sets are not freely exchangeable with V1.0. Conversely, available function provided by V2.0 is identical to V1.0 for most of applications. So that we strongly recommend that you should make sure you are aware of the generated result of specified application when you use them simultaneously. The two instruction sets differ in how instructions are encoded.</span></p><p class=" __aliyun_node_has_bgcolor" style="margin:.0px .0px 12.0px;padding:.0px;border:.0px;font-variant-ligatures:normal;font-variant-caps:normal;text-align:left;text-indent:.0px;widows:2;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;"><span class="" style="font-style:normal;font-weight:400;text-transform:none;font-family:arial;font-size:13.0px;">Basically, we can develop C-SKY V2 as prefer, and the ISA doc and ABI doc can be referred at following links. (The links are not stable, and the address may be changed). The links will be added and updated constantly later at <a class="" href="http://llvm.org/docs/CompilerWriterInfo.html" target="_blank">http://llvm.org/docs/CompilerWriterInfo.html</a>.</span></p><p class=" __aliyun_node_has_bgcolor" style="margin:.0px .0px 12.0px;padding:.0px;border:.0px;font-variant-ligatures:normal;font-variant-caps:normal;text-align:left;text-indent:.0px;widows:2;background-color:#ffffff;text-decoration-style:initial;text-decoration-color:initial;"><span class="" style="font-style:normal;font-weight:400;text-transform:none;font-family:arial;font-size:13.0px;">ISA: </span><a class="__aliyun_node_has_color remarkup-link" href="https://github.com/c-sky/csky-doc/blob/master/CSKY%20Architecture%20user_guide.pdf" target="_blank" style="font-style:normal;font-weight:400;text-transform:none;text-decoration:underline;color:#136cb2;margin-top:.0px;font-family:arial;font-size:13.0px;">https://github.com/c-sky/csky-doc/blob/master/CSKY%20Architecture%20user_guide.pdf</a><br class=""><span class="" style="font-style:normal;font-weight:400;text-transform:none;font-family:arial;font-size:13.0px;">ABI: </span><a class="__aliyun_node_has_color remarkup-link" href="https://github.com/c-sky/csky-doc/blob/master/C-SKY_V2_CPU_Applications_Binary_Interface_Standards_Manual.pdf" target="_blank" style="font-style:normal;font-weight:400;text-transform:none;text-decoration:underline;color:#136cb2;font-family:arial;font-size:13.0px;">https://github.com/c-sky/csky-doc/blob/master/C-SKY_V2_CPU_Applications_Binary_Interface_Standards_Manual.pdf</a></p><div class=" __aliyun_node_has_bgcolor" style="margin:.0px;padding:.0px;border:.0px;font-variant-ligatures:normal;font-variant-caps:normal;text-align:left;text-indent:.0px;widows:2;background-color:#ffffff;"><br class=""></div><div class=" __aliyun_node_has_bgcolor" style="margin:.0px;padding:.0px;border:.0px;font-variant-ligatures:normal;font-variant-caps:normal;text-align:left;text-indent:.0px;widows:2;background-color:#ffffff;"><span class="" style="font-family:arial;font-size:13.0px;"><span class="" style="font-family:arial;font-size:13.0px;font-style:normal;font-weight:400;text-transform:none;">Here is the first patch to </span><span class=" __aliyun_node_has_bgcolor" style="font-family:arial;font-size:13.0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;text-align:left;text-indent:.0px;text-transform:none;widows:2;background-color:#ffffff;float:none;display:inline;">introduce the CSKY target, <a class="" href="https://reviews.llvm.org/D86269" target="_blank">https://reviews.llvm.org/D86269</a>. Feel free to review it if you have interest in. </span></span><span class="" style="font-family:arial;font-size:13.0px;">Of course it's an experimental target now and would not be built as default. </span><span class="" style="font-family:arial;font-size:13.0px;">For now, there is just basic codegen functionality of CSKY target, and there are other parts of work left such as MC layer, compressed instruction and DSP instruction support, etc. The community behind CSKY will support all of the work constantly from now on and the main vendor of CSKY is T-HEAD company of Alibaba group.</span></div><span class="" style="font-family:arial;font-size:13.0px;"><span class=" __aliyun_node_has_bgcolor" style="font-family:arial;font-size:13.0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;text-align:start;text-indent:.0px;text-transform:none;widows:2;background-color:#ffffff;float:none;display:inline;"> <br class=""></span></span></div><div class="" style="clear:both;"><span class="" style="font-family:arial;font-size:13.0px;">All comments are welcome, and please feel free to comment. Thanks.</span></div><div class="" style="clear:both;"><span class="" style="font-family:arial;font-size:13.0px;"><br class=""></span></div><div class="" style="clear:both;"><span class="" style="font-family:arial;font-size:13.0px;">Zi Xuan Wu (Zeson)</span></div>_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a class="" href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br class=""><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class=""></div></div><br class=""></div></blockquote><div class=""><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>