aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/packetmath.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-09-28 16:57:32 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-09-28 16:57:32 +0200
commit626942d9ddcc17c21c2d79a690537e54237275bc (patch)
tree82c20171f9b3a2f1bdaf2e822bf0a67d90e9c67c /test/packetmath.cpp
parente95696acb313a84b33a18cc300de418b05dc58e5 (diff)
fix alignment issue in ploaddup for AVX512
Diffstat (limited to 'test/packetmath.cpp')
-rw-r--r--test/packetmath.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/packetmath.cpp b/test/packetmath.cpp
index 2b0dda573..babb7c20e 100644
--- a/test/packetmath.cpp
+++ b/test/packetmath.cpp
@@ -227,6 +227,7 @@ template<typename Scalar> void packetmath()
if(PacketSize>1)
{
+ // apply different offsets to check that ploaddup is robust to unaligned inputs
for(int offset=0;offset<4;++offset)
{
for(int i=0;i<PacketSize/2;++i)
@@ -238,6 +239,7 @@ template<typename Scalar> void packetmath()
if(PacketSize>2)
{
+ // apply different offsets to check that ploadquad is robust to unaligned inputs
for(int offset=0;offset<4;++offset)
{
for(int i=0;i<PacketSize/4;++i)