arXiv:2611.12435cs.ARNov 2026

Manuscript Offprint

arXiv:2611.12435

To SIMD or Not to SIMD: Comparing RVV vs. CGRA SoCs for Non-Linear Functions in AI

Sameer Deshmukh, Naoya Mizuki, Takumi Honda

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Sameer Deshmukh

Fujitsu Research of Japan

Fujitsu Limited

Kawasaki, Japan

deshmukh.sameer@fujitsu.com

Naoya Mizuki

Fujitsu Research of Japan

Fujitsu Limited

Kawasaki, Japan

mizuki.naoya@fujitsu.com

Takumi Honda

Fujitsu Research of Japan

Fujitsu Limited

Kawasaki, Japan

honda.takumi@fujitsu.com

Abstract—Non-linear functions are an important class of operations in modern large language models. However, chip vendors building for AI have so far relied on traditional vector or scalar processing units for non-linear functions. The performance of these units has not kept pace with matrix multiplication units (MMUs), which can be found in both high-performance and edge-computing devices from almost every vendor. Reconfigurable units such as FPGAs and CGRAs have been proposed in the literature, but have not been systematically compared with traditional units backed by MMUs. In this paper, we build two SoCs: one using an RVV vector processor and the other using a latency-insensitive (elastic) CGRA, both coupled with an MMU and driven by a single-core CPU. We then propose mappings for common feed-forward networks on our SoCs and find that the CGRA reaches a maximum speedup in clock cycles of 7.12x over RVV on the activation stage of simple point-wise non-linear functions like SiLU, whereas the RVV reaches a maximum speedup of 9.8x over the CGRA on complex non-linear functions such as softmax. Over the enclosing feed-forward block the corresponding maxima are 3.16x and 4.24x.

I. INTRODUCTION

The death of Moore's law has opened up new frontiers for computer architects to build designs for improved power and efficiency to serve the growing demands of artificial intelligence (AI) and scientific computing. AI models such as LLMs and CNNs are dominated by the dense general matrix multiplication (GEMM), which has led an increasing number of hardware vendors to include dedicated matrix multiplication units on their hardware [2], [6], [28], [55], [58].

While GEMM is the most dominant routine in common AI models [35], [38], [71], non-linear functions such as SiLU [19] and softmax [70] play a pivotal role in their accuracy. These non-linear functions and others like them [8], [15], [24], [54], [80] require the application of functions such as exponential, logarithm, division, inequalities, extrema and trigonometric functions, which the design of a typical matrix multiplication unit [20], [35], [43] is not able to support. Therefore, a non-linear function must be computed by a separate compute unit such as a vector or scalar processing unit. Examples of such complementary designs include SFU units [56] on Nvidia GPUs and SIMD vector processing units on Intel Granite Rapids [4], [29].

GEMM performance has seen a significant increase over the past decade compared to non-GEMM performance [52], especially for low precision data types such as fp8 [53] and bfloat16 [37]. The computation of the non-linearity, on the other hand, is still typically performed in single-precision 32-bit floating-point data types [53]. The gap between matrix multiplication units using low precision and other arithmetic units on modern GPUs has become so significant that FlashAttention 4 [79] simulates the exponential in software because of the performance difference between the tensor cores and the SMs. Clearly, there is a need for a hardware unit for non-linear function computation that is able to stay in step with advances in matrix multiplication performance.

Reconfigurable hardware units such as FPGAs [25], [26], [31], [47], [48], [51] and CGRAs [45], [59], [63] have been proposed as alternative ways to compute non-linear functions by taking advantage of their superior pipelining. PICACHU [59] combines a CGRA with a matrix multiplication unit to test deep learning workloads, showing improved performance compared to just a CGRA. However, a proper comparison showing the pros and cons of a CGRA coupled with a matrix multiplication unit vs. a traditional vector or scalar processing unit combined with a matrix multiplication unit is lacking in the literature. A fair comparison against existing computer architectures can show the specific strengths and weaknesses of a CGRA companion in terms of achieved performance, programmability and mapping effort. Comparing against an existing architecture from a major vendor does not allow for a fair comparison due to barriers posed by vendor-specific proprietary IP and the highly complex nature of commercially available hardware. Moreover, one cannot easily compare implementations of equivalent functionality in the CGRA and in a traditional vector or scalar processing unit to deeply understand the advantages or disadvantages of either.

This paper aims to fill this gap by proposing two SoCs: Matrix Engine-Vector Engine (ME-VE) and Matrix Engine-Reconfigurable Engine (ME-RE). The ME-VE combines a Saturn [81] RISC-V vector processor [22] with a Gemmini matrix multiplication [20] unit, whereas the ME-RE combines an elastic RIKEN CGRA [1] with the same Gemmini matrix multiplication unit. Both SoCs are driven by a single-core, in-order RISC-V Rocket CPU [7] and feature exactly the same

SC26 Workshops, November 15-20, 2026, Chicago, Illinois, USA 979-8-3195-1221-5/26/$31.00 ©2026 IEEE

TABLE I COMBINATIONS OF LINEAR AND NON-LINEAR OPERATORS THAT WE TEST.

NameEquation
SwiGLU [21], [66], [78](SiLU(XWgate) ⊙ XWup)Wdown
Attention [21], [42], [73]softmax((XWQ)(XWK)†) XWV

memory hierarchy. Both SoCs make use of fully open-source hardware stacks — CGRA-ME [60] for building interfaces to the CGRA and Chipyard [3] for building all other SoC components such as memory controllers, CPU and buses.

In this paper, we compare commonly used feed-forward network (FFN) blocks from the latest model architectures [21], [42], [78] that combine a linear function (matrix multiplication) with a non-linear function on our proposed SoCs. Specifically, we make the following contributions:

  1. Build two SoCs using identical memory hierarchies and CPU drivers, differing only in their use of a vector processing unit or a reconfigurable unit for a fair comparison between a vector processor and a CGRA.

  2. Show that on the non-linear stage in isolation the CGRA reaches a maximum speedup of 7.12x over the vector processor for SiLU(), whereas the vector processor reaches a maximum speedup of 9.8x over the CGRA for softmax. Amortised over the enclosing FFN block, which also contains the matrix multiplications, these maxima become 3.16x and 4.24x respectively.

  3. Provide detailed benchmarks of the SoCs to study the trade-offs between a vector processor and a CGRA.

References (79)