diff --git a/src/intel/compiler/brw_fs_bank_conflicts.cpp b/src/intel/compiler/brw_fs_bank_conflicts.cpp index 0cd880d44f2d..2843bdb45815 100644 --- a/src/intel/compiler/brw_fs_bank_conflicts.cpp +++ b/src/intel/compiler/brw_fs_bank_conflicts.cpp @@ -71,6 +71,19 @@ namespace { */ struct vector_type { __m128i v[2]; + + static void *operator new(size_t size) + { + void *ptr; + posix_memalign(&ptr, 16, size); + return ptr; + } + static void *operator new[](size_t size) + { + void *ptr; + posix_memalign(&ptr, 16, size); + return ptr; + } }; /**