When vector extension (attribute((vector_size(...)))) is available
use its operators, instead of generating loops of scalar operations.
Also use memcpy() when possible.
Paths
| Differential D44659
[libcxx] Optimize <experimental/simd> -O0 performance for operators Needs ReviewPublic Authored by timshen on Mar 19 2018, 5:44 PM.
Details
Summary When vector extension (attribute((vector_size(...)))) is available Also use memcpy() when possible.
Diff Detail
Revision Contents
Diff 139051 libcxx/include/experimental/simd
libcxx/test/std/experimental/simd/simd.elementwise/operators.pass.cpp
|