Custom Instruction Design for Image Preprocessing in RISC-V

In the context of the digital and intelligent era, image processing has been extensively applied in fields such as computer vision and machine learning. As the foundation of image processing, image preprocessing plays a crucial role. However, image preprocessing involves a large number of intensive operations, traditional processors and instruction sets are difficult to deliver optimal performance. Therefore, this paper based on the processor and instruction set architecture of RISC-V, decomposes the gamma correction algorithm into a suitable way for processor implementation, designs a simple and efficient custom instruction, designs the architecture of the RISC-V processor, and extends the RISC-V GNU toolchain to achieve compiler support for custom instruction. The circuit architecture and custom instruction designed in this paper compress multiple instructions into a single instruction, which reduces the average computation time by 58% and the code size by about 77.26%, improves the compilation efficiency of the compiler and the running speed of the program.

Authors

Institutions

Publication Details

Published
2024-09-20
DOI
https://doi.org/10.1145/3703935.3704100
Primary Topic
Radiation Effects in Electronics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Custom Instruction Design for Image Preprocessing in RISC-V

Xihu Wang, Gang Cai, Zhihong Huang, Yang Liu et al.
Radiation Effects in Electronics
article

Custom Instruction Design for Image Preprocessing in RISC-V

Xihu Wang, Gang Cai, Zhihong Huang, Yang Liu, Juan Liu
article en

Abstract

In the context of the digital and intelligent era, image processing has been extensively applied in fields such as computer vision and machine learning. As the foundation of image processing, image preprocessing plays a crucial role. However, image preprocessing involves a large number of intensive operations, traditional processors and instruction sets are difficult to deliver optimal performance. Therefore, this paper based on the processor and instruction set architecture of RISC-V, decomposes the gamma correction algorithm into a suitable way for processor implementation, designs a simple and efficient custom instruction, designs the architecture of the RISC-V processor, and extends the RISC-V GNU toolchain to achieve compiler support for custom instruction. The circuit architecture and custom instruction designed in this paper compress multiple instructions into a single instruction, which reduces the average computation time by 58% and the code size by about 77.26%, improves the compilation efficiency of the compiler and the running speed of the program.

Chinese Academy of Sciences (CN), Beijing Microelectronics Technology Institute (CN), Xi’an University of Posts and Telecommunications (CN), Aerospace Information Research Institute (CN)
Openalex Percentile: Top 72%
Radiation Effects in Electronics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Custom Instruction Design for Image Preprocessing in RISC-V — Xihu Wang, Gang Cai, et al. · (2024) | TGRS Research Map | TGRS