Commit e9ced458 authored by Marius Wachtler's avatar Marius Wachtler Committed by GitHub

Merge pull request #1333 from undingen/prefetch

switch from the SSE prefetch to __builtin_prefetch
parents f74e9ee6 aa5fa65a
...@@ -424,7 +424,7 @@ template <bool Nullable = false> inline void decrefArray(Box** array, int size) ...@@ -424,7 +424,7 @@ template <bool Nullable = false> inline void decrefArray(Box** array, int size)
for (int i = 0; i < size - 1; i++) { for (int i = 0; i < size - 1; i++) {
Box* cur = next; Box* cur = next;
next = array[i + 1]; next = array[i + 1];
_mm_prefetch(next, _MM_HINT_T0); __builtin_prefetch(next);
if (Nullable) if (Nullable)
Py_XDECREF(cur); Py_XDECREF(cur);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment