CNN Specific ISA Extensions Based on RISC-V Processors

Xiang Yu, Zhijie Yang, LingHui Peng, Bo Lin, Wenjing Yang, Lei Wang
{"title":"CNN Specific ISA Extensions Based on RISC-V Processors","authors":"Xiang Yu, Zhijie Yang, LingHui Peng, Bo Lin, Wenjing Yang, Lei Wang","doi":"10.1109/iccss55260.2022.9802445","DOIUrl":null,"url":null,"abstract":"The CNNs have achieved excellent performance in pattern recognition and target detection, which have a wide range of applications in industrial control, medical imaging, autonomous driving, and other fields. However, it is very inefficient to execute data-intensive CNN applications on edge devices with limited computing and power resources. It is necessary to add a domain-specific acceleration module on the edge devices to improve the performance when performing intensive calculations. In this work, we present ISA extensions based on the RISC-V ISA, including data operation instruction and data transfer instruction, aimed at boosting the computational efficiency of CNNs on edge devices. The microarchitecture supporting our proposed extensions is built on top of an open-source RISC-V core. In addition, extended instructions have been added to the GCC Binutils toolchain. To evaluate the effect of our extended instructions, we performed a set of workloads on the baseline and extended core, our proposed ISA extensions have a speed-up ratio of 1.5$\\times$ when executing a CNN, and reaches 2.48$\\times-2.82\\times$ when only performing convolution calculations. The results show that our proposed ISA extensions can effectively improve the performance of CNNs.","PeriodicalId":254992,"journal":{"name":"2022 5th International Conference on Circuits, Systems and Simulation (ICCSS)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 5th International Conference on Circuits, Systems and Simulation (ICCSS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/iccss55260.2022.9802445","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

The CNNs have achieved excellent performance in pattern recognition and target detection, which have a wide range of applications in industrial control, medical imaging, autonomous driving, and other fields. However, it is very inefficient to execute data-intensive CNN applications on edge devices with limited computing and power resources. It is necessary to add a domain-specific acceleration module on the edge devices to improve the performance when performing intensive calculations. In this work, we present ISA extensions based on the RISC-V ISA, including data operation instruction and data transfer instruction, aimed at boosting the computational efficiency of CNNs on edge devices. The microarchitecture supporting our proposed extensions is built on top of an open-source RISC-V core. In addition, extended instructions have been added to the GCC Binutils toolchain. To evaluate the effect of our extended instructions, we performed a set of workloads on the baseline and extended core, our proposed ISA extensions have a speed-up ratio of 1.5$\times$ when executing a CNN, and reaches 2.48$\times-2.82\times$ when only performing convolution calculations. The results show that our proposed ISA extensions can effectively improve the performance of CNNs.
基于RISC-V处理器的CNN专用ISA扩展
cnn在模式识别和目标检测方面取得了优异的成绩,在工业控制、医学成像、自动驾驶等领域有着广泛的应用。然而,在计算和电力资源有限的边缘设备上执行数据密集型CNN应用程序是非常低效的。在进行密集计算时,有必要在边缘设备上添加特定领域的加速模块,以提高性能。在这项工作中,我们提出了基于RISC-V ISA的ISA扩展,包括数据操作指令和数据传输指令,旨在提高边缘设备上cnn的计算效率。支持我们提出的扩展的微架构是建立在一个开源的RISC-V内核之上的。此外,扩展指令已添加到GCC Binutils工具链中。为了评估我们的扩展指令的效果,我们在基线和扩展核心上执行了一组工作负载,我们提出的ISA扩展在执行CNN时具有1.5$\times$的加速比,并且在仅执行卷积计算时达到2.48$\times-2.82\times$。结果表明,我们提出的ISA扩展可以有效地提高cnn的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信