Overview
ABSTRACT
SIMD extensions are present in many instruction sets. While Intel has continued to expand to 512-bit the size of the SIMD registers with the corresponding SIMD instructions, ARM has stopped the evolution of its SIMD Neon and opted for the SVE vector extension. RISC-V favors the vector extension. The differences between SIMD and vector extensions are presented, as well as the latest developments in Intel SIMD and the vector extensions SVE and RISC-V.
Read this article from a comprehensive knowledge base, updated and supplemented with articles reviewed by scientific committees.
Read the articleAUTHORS
-
Daniel ETIEMBLE: Engineer from INSA Lyon - Professor Emeritus, Université Paris Saclay
-
Lionel LACASSAGNE: EPITA engineer - Professor at Sorbonne University
INTRODUCTION
Since the second half of the 1990s, the main instruction sets (Intel IA32 and Intel 64, ARM, IBM, etc.) have introduced SIMD extensions. The essential features were presented in the article
We present the difference between SIMD and vector extensions. In a SIMD extension, for a given operation, there is a different instruction for each SIMD register size, for each size (8, 16, 32, 64 bits) and each data type (signed or unsigned integers, floats). In a vector extension, there is only one instruction per operation: vector length and configuration registers define the length of the vector registers, the nature of the elements and the number of elements covered by the operation defined by the instruction. On the DAXPY benchmark, the number of instructions in the benchmark (static code) and the number of instructions executed are compared.
The evolution of SIMD extensions is examined. In addition to increasing register size (256 bits for AVX in 2008, 512 bits for AVX-512 in 2013), Intel extensions saw the introduction of vector features found in vector machines such as the Cray-1 (1976). AVX-2 introduces gather and scatter instructions, which allow memory access with non-unitary steps, whereas pure SIMD only allows access to successive memory words. AVX-512 introduces mask instructions, meaning that the instruction operates according to a mask register, enabling selection of the elements to be operated on. The evolution of Intel SIMD extensions results in a huge increase in the number of instructions. The variable size of Intel instructions makes this possible, at the cost of an increase in the number of instruction bytes (2 to 3 for AVX, 4 for AVX-512). On the other hand, this is a problem for fixed-size instruction sets, such as ARM, where the number of opcodes is limited.
The two main vector extensions are presented: ARM's SVE extension and the vector extension of the RISC-V open source instruction set. The organization of vector registers and configuration registers, as well as the major instruction classes, are detailed.
The vector approach uses far fewer instructions. Another advantage...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
KEYWORDS
instruction sets | RISC-V | SIMD extension | vector extension
This article is included in
Software technologies and System architectures
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Instruction sets: SIMD and vector extensions
Bibliography
- (1) - PATERSON (D.), WATERMAN (A.) - SIMD instructions considered harmful, - ACM Sigarch, Computer Architecture To-day, Sep 18, (2017). https://www.sigarch.org/csimd-instructions-considered-harmful/
- ...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference