arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.14067cs.AR
收藏

通过Takum算术简化SIMD ISA扩展:以Intel AVX10.2为例

Streamlining SIMD ISA Extensions with Takum Arithmetic: A Case Study on Intel AVX10.2

University of Cologne(科隆大学)

Laslo Hunhold

AI总结:

本文通过Takum算术替代传统浮点格式,提升SIMD指令集的一致性与灵活性,适用于通用计算场景。

摘要:

现代微处理器通过单指令多数据(SIMD)操作扩展其指令集架构(ISA)以提高性能。Intel高级向量扩展(AVX)增强了x86 ISA,并在Intel和AMD处理器中得到广泛支持。最新版本AVX10.2强调低精度、非标准浮点格式,包括bfloat16和E4M3/E5M2 float8(OCP 8位浮点,OFP8),主要面向深度学习应用而非通用算术。然而,这些格式仍处于IEEE 754框架内,继承其局限性,引入了ISA中的不一致性和额外复杂性。本文研究了最近提出的渐进精度Takum浮点格式,该格式在作为通用数字格式时比IEEE 754及其衍生格式具有显著优势。以AVX10.2为例,本文探讨了用Takum替代多种浮点格式作为统一基础的潜在好处。结果表明,这将带来更一致的指令集,提高可读性和灵活性,并为8位和16位通用SIMD算术提供可能。

英文摘要:

Modern microprocessors extend their instruction set architecture (ISA) with Single Instruction, Multiple Data (SIMD) operations to improve performance. The Intel Advanced Vector Extensions (AVX) enhance the x86 ISA and are widely supported in Intel and AMD processors. The latest version, AVX10.2, places a strong emphasis on low-precision, non-standard floating-point formats, including bfloat16 and E4M3/E5M2 float8 (OCP 8-bit Floating Point, OFP8), primarily catering to deep learning applications rather than general-purpose arithmetic. However, as these formats remain within the IEEE 754 framework, they inherit its limitations, introducing inconsistencies and added complexity into the ISA. This paper examines the recently proposed tapered-precision takum floating-point format, which has been shown to offer significant advantages over IEEE 754 and its derivatives as a general-purpose number format. Using AVX10.2 as a case study, the paper explores the potential benefits of replacing the multitude of floating-point formats with takum as a uniform basis. The results indicate a more consistent instruction set, improving readability and flexibility while offering potential for 8- and 16-bit general-purpose SIMD arithmetic.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑