Invention Grant
US08418154B2 Fast vector masking algorithm for conditional data selection in SIMD architectures 失效
用于SIMD架构中条件数据选择的快速矢量遮蔽算法

Fast vector masking algorithm for conditional data selection in SIMD architectures
Abstract:
Techniques are disclosed for generating fast vector masking SIMD code corresponding to source code having a conditional statement, where the SIMD code replaces the conditional statements with vector SIMD operations. One technique includes performing conditional masking using vector operations, bit masking operations, and bitwise logical operations. The need for conditional statements in SIMD code is thereby removed, allowing SIMD hardware to avoid having to use branch prediction. This reduces the number of pipeline stalls and results in increased utilization of the SIMD computational units.
Information query
Patent Agency Ranking
0/0