<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[D1-H RVV指令集优化相关问题]]></title><description><![CDATA[<p dir="auto">我目前尝试对常见的密码学原语使用RVV 0.71进行指令集优化，并在D1-H开发板上测试其性能。然而目前遇到了一些问题：<br />
1.我先后分别使用了全志官方提供的2021版本编译器、平头哥提供的C906 2.6.1版本编译器，以及准备使用的全志官方提供的2020版本编译器。然而，21版本和2.6.1版本启动V扩展并指定为C906后，编译通过的代码在D1-H上运行会出现非法指令的错误。请问如果我想编写能在D1-H开发板上运行的包含V扩展指令的程序，是不是只能使用2020版本的编译器？<br />
2.我在玄铁上获取了RVV 0.71的接口函数说明，基于该文档整理了RVV的相关指令集和接口函数。显然，基于该文档开发的代码可以通过玄铁2.6.1的编译器编译，但使用全志21版编译器编译时会报错。请问全志官方是否为D1-H开发了专门的V扩展指令集和接口函数？且21版和20版对指令集和接口函数的定义也不相同？全志官方有提供D1-H RVV指令集开发的说明文档或接口函数的说明文档吗？我是否只能基于编译器的riscv-vector.h文件进行RVV的相关开发？</p>
]]></description><link>https://bbs.aw-ol.com/topic/6690/d1-h-rvv指令集优化相关问题</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 08:21:06 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/6690.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Oct 2025 04:27:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to D1-H RVV指令集优化相关问题 on Tue, 23 Dec 2025 02:42:48 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1766457756214-c7593a9f-1340-46e7-9c66-16389147bd76-image.png" alt="c7593a9f-1340-46e7-9c66-16389147bd76-image.png" class=" img-responsive img-markdown" width="912" height="407" /><br />
兜兜转转破案了，确实不支持</p>
]]></description><link>https://bbs.aw-ol.com/post/27835</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/27835</guid><dc:creator><![CDATA[zoone]]></dc:creator><pubDate>Tue, 23 Dec 2025 02:42:48 GMT</pubDate></item><item><title><![CDATA[Reply to D1-H RVV指令集优化相关问题 on Mon, 22 Dec 2025 14:31:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/7460">@heresink</a> 请问D1H是否支持64位矢量？我已经进行过D1H的RVV开发，但经过代码测试后发现，这款开发板似乎并不支持64位矢量的计算，一旦通过vsetvli    t0,   t4,   e64,m1类似指令设置后，虽然可以通过编译，但会报非法指令的错误。但我在玄铁提供的C906 CPU版本为R2S1文档里面找到该版本确实支持64位的矢量。是D1H采用的早期版本CPU导致的问题吗？</p>
]]></description><link>https://bbs.aw-ol.com/post/27833</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/27833</guid><dc:creator><![CDATA[zoone]]></dc:creator><pubDate>Mon, 22 Dec 2025 14:31:23 GMT</pubDate></item><item><title><![CDATA[Reply to D1-H RVV指令集优化相关问题 on Wed, 22 Oct 2025 15:50:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/7510">@zoone</a> D1的C906里集成的矢量扩展是比较早期的版本(那个时候RISC-V矢量扩展规范还没定稿)，在玄铁提供的CPU开发指南里应该有提到这个早期版本对应-march选项参数，可以试试修改这个选项后跟的参数看看</p>
]]></description><link>https://bbs.aw-ol.com/post/27371</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/27371</guid><dc:creator><![CDATA[heresink]]></dc:creator><pubDate>Wed, 22 Oct 2025 15:50:09 GMT</pubDate></item></channel></rss>