Bug #1469
sizeof call generates compilation error in src/gromacs/simd/impl_x86_sse2/impl_x86_sse2.h
Description
The statement
#define gmx_simd_extract_fi(x, i) _mm_cvtsi128_si32(_mm_srli_si128((x), sizeof(int) * (i)))
generates a compilation error with gcc 4.8.2 probably due to the sizeof function returning an 8 byte value. Changing the sizeof(int) to 4 makes it compile.
History
#1 Updated by Erik Lindahl almost 7 years ago
- Status changed from New to Resolved
Fix was merged into git already on March 16 - see https://gerrit.gromacs.org/#/c/3272/ .
#2 Updated by Roland Schulz almost 7 years ago
- Status changed from Resolved to Closed