<div class="__aliyun_email_body_block"><div  style="clear:both;"><p  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  style="color:#000000;font-style:normal;font-weight:400;text-transform:none;font-family:arial;font-size:13.0px;">Hi, All.</span></p><pre  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  style="font-family:arial;font-size:13.0px;"><span  style="font-size:13.0px;font-family:arial;color:#000000;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  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  style="color:#000000;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  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  style="color:#000000;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  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  style="color:#000000;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  href="http://llvm.org/docs/CompilerWriterInfo.html">http://llvm.org/docs/CompilerWriterInfo.html</a>.</span></p><p  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  style="color:#000000;font-style:normal;font-weight:400;text-transform:none;font-family:arial;font-size:13.0px;">ISA: </span><a  class="remarkup-link" href="https://github.com/c-sky/csky-doc/blob/master/CSKY%20Architecture%20user_guide.pdf" rel="noreferrer" 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 ><span  style="color:#000000;font-style:normal;font-weight:400;text-transform:none;font-family:arial;font-size:13.0px;">ABI: </span><a  class="remarkup-link" href="https://github.com/c-sky/csky-doc/blob/master/C-SKY_V2_CPU_Applications_Binary_Interface_Standards_Manual.pdf" rel="noreferrer" 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><p  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;text-decoration-style:initial;text-decoration-color:initial;"><br ></p><p  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;text-decoration-style:initial;text-decoration-color:initial;"><span  style="font-family:arial;font-size:13.0px;"><span  style="color:#000000;font-family:arial;font-size:13.0px;font-style:normal;font-weight:400;text-transform:none;">Here is the first patch to </span><span  style="color:#000000;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;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline;">introduce the CSKY target, <a  href="https://reviews.llvm.org/D86269">https://reviews.llvm.org/D86269</a>. Feel free to review it if you have interest in. </span></span><span  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  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></p><span  style="color:#000000;font-family:arial;font-size:13.0px;"><span  style="color:#000000;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;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline;"> <br ></span></span></div><div  style="clear:both;"><span  style="color:#000000;font-family:arial;font-size:13.0px;">All comments are welcome, and please feel free to comment. Thanks.</span></div><div  style="clear:both;"><span  style="color:#000000;font-family:arial;font-size:13.0px;"><br ></span></div><div  style="clear:both;"><span  style="color:#000000;font-family:arial;font-size:13.0px;">Zi Xuan Wu (Zeson)</span></div></div>