[PATCH] D44659: [libcxx] Optimize <experimental/simd> -O0 performance for operators

Tim Shen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 19 17:46:33 PDT 2018


timshen created this revision.
timshen added a reviewer: mclow.lists.
Herald added subscribers: christof, sanjoy.
Herald added a reviewer: EricWF.

When vector extension (__attribute__((vector_size(...)))) is available
use its operators, instead of generating loops of scalar operations.


https://reviews.llvm.org/D44659

Files:
  libcxx/include/experimental/simd
  libcxx/test/std/experimental/simd/simd.elementwise/operators.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44659.139051.patch
Type: text/x-patch
Size: 29201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180320/db0d0e03/attachment-0001.bin>


More information about the cfe-commits mailing list