Page MenuHomePhabricator

[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
use its operators, instead of generating loops of scalar operations.

Also use memcpy() when possible.