Keep clang Address Sanitizer happy
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 28 Jan 2014 01:43:21 +0000 (02:43 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 29 Jan 2014 22:30:29 +0000 (23:30 +0100)
commit049b8574b450eb7f2bc7131d7dabe98af64594dc
tree132550cf0be404b2c06ecd17372881cf6084c2a6
parentfb1349fd1de3e39d3905c9903a09e7ac2c36aa4b
Keep clang Address Sanitizer happy

Allocating 15 bytes with the 8-byte aligned memory at offset 8 of
15, would overflow the buffer, which would be fairly likely to
have no effect. But ASan notices this if you run it on AVX hardware,
unlike the Jenkins build which runs on SSE4.1. The good news is
that this fix is enough to make all the existing tests pass under
ASan on AVX.

Change-Id: I61ff11687709e096c70a162d3514227cb243561d
src/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_outer.h