提交 bb991791 编写于 作者: B Behdad Esfahbod

[set] Disable vectorization

Fixes clang "non-const reference cannot bind to vector element" error.
上级 221ce6c1
......@@ -136,7 +136,9 @@ struct hb_set_t
typedef uint64_t elt_t;
#if HAVE_VECTOR_SIZE
#if 0 && HAVE_VECTOR_SIZE
/* The vectorized version does not work with clang as non-const
* elt() errs /*non-const reference cannot bind to vector element". */
typedef elt_t vector_t __attribute__((vector_size (PAGE_BITS / 8)));
#else
typedef hb_vector_size_t<elt_t, PAGE_BITS / 8> vector_t;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册