Lune

ISCA2026Top-tier venue

XtraMAC: An Efficient MAC Architecture for Mixed-Precision LLM Inference on FPGA

Feng Yu, Hongshi Tan, Yao Chen, Weng-Fai Wong, Bingsheng He

2026Year

Abstract

The widespread adoption of mixed-precision quantization in large language models (LLMs) has created demand for hardware that can efficiently perform multiply-accumulate (MAC) operations across mixed datatypes and switch datatypes at runtime. Existing FPGA-based MAC solutions fall short due to limitations in fixed-datatype design, inefficient spatial or temporal resource sharing, and poor support for mixed-precision execution. These limitations collectively lead to under-utilization of DSP resources, limiting achievable parallelism and throughput. In this work, we present XtraMAC, a novel MAC architecture that unifies integer, floating-point, and mixed-precision operations within a single, datatype-adaptive microarchitecture. XtraMAC decomposes all supported MAC formats into a shared integer mantissa product with lightweight sign and exponent handling, enabling dynamic operand packing and efficient DSP resource sharing with constant latency and initiation interval of one across all datatypes. Evaluated on an AMD Xilinx U55c FPGA, XtraMAC achieves 1.4-2.0× higher compute density, reduces per-operation LUT, FF, and DSP consumption by 27-51%, and delivers up to 1.9×\mathbf{1. 9} \times greater energy efficiency and 1.2×\mathbf{1. 2} \times speedup on representative mixed-precision LLM workloads. The implementation of XtraMAC is open-sourced at https://github.com/XtraComputing/XtraMAC.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext c87a4fd7-d495-4485-a330-da475cfd77a4

Builds on4

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines