Use a constant instead of sizeof(int) for SSE2 immediate constant.
authorErik Lindahl <erik@kth.se>
Sun, 16 Mar 2014 09:13:11 +0000 (10:13 +0100)
committerErik Lindahl <erik@kth.se>
Sun, 16 Mar 2014 09:13:11 +0000 (10:13 +0100)
commitb4619a45f3643c963c30b295eeec580882dd915a
tree25f03f6bd31acd19cadd9f1bbbb6b5b7f1f0ee3a
parent23d79229d99e4ff53bf9356c22f57727450f01af
Use a constant instead of sizeof(int) for SSE2 immediate constant.

Apparently gcc-4.8.2 was not able to evaluate sizeof(int) to the
constant 4 at compile time, but thought it was either a 64-bit
value or a non-const value. Since the register sizes are fixed
we simply hardcode the value 4 bytes instead.

Change-Id: If739b733727b032eb7e5b7fa0a75e7cd51989a0b
src/gromacs/simd/impl_x86_sse2/impl_x86_sse2.h