首页>
外国专利>
Fast vector masking algorithm for conditional data selection in SIMD architectures
Fast vector masking algorithm for conditional data selection in SIMD architectures
展开▼
机译:SIMD体系结构中用于条件数据选择的快速矢量屏蔽算法
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼