diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-09-28 16:57:32 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-09-28 16:57:32 +0200 |
commit | 626942d9ddcc17c21c2d79a690537e54237275bc (patch) | |
tree | 82c20171f9b3a2f1bdaf2e822bf0a67d90e9c67c /test/packetmath.cpp | |
parent | e95696acb313a84b33a18cc300de418b05dc58e5 (diff) |
fix alignment issue in ploaddup for AVX512
Diffstat (limited to 'test/packetmath.cpp')
-rw-r--r-- | test/packetmath.cpp | 2 |
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) |