/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2014,2015,2017, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2017,2018, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
::std::vector<real>
simd4Real2Vector(const Simd4Real simd4)
{
- GMX_ALIGNED(real, GMX_SIMD4_WIDTH) mem[GMX_SIMD4_WIDTH];
+ alignas(GMX_SIMD_ALIGNMENT) real mem[GMX_SIMD4_WIDTH];
store4(mem, simd4);
std::vector<real> v(mem, mem+GMX_SIMD4_WIDTH);
Simd4Real
vector2Simd4Real(const std::vector<real> &v)
{
- GMX_ALIGNED(real, GMX_SIMD4_WIDTH) mem[GMX_SIMD4_WIDTH];
+ alignas(GMX_SIMD_ALIGNMENT) real mem[GMX_SIMD4_WIDTH];
for (int i = 0; i < GMX_SIMD4_WIDTH; i++)
{