diff options
author | 2019-05-02 14:52:58 -0700 | |
---|---|---|
committer | 2019-05-02 14:52:58 -0700 | |
commit | e9f0eb8a5e6c5b17d85cff6ea45fe9aec35a0248 (patch) | |
tree | 6aa1ec005ad5b2314023bde6d21dcfce3a641b1e /test/packetmath.cpp | |
parent | 96e30e936a32fdb44ec519403031a56e5fc501fd (diff) |
Add masked_store_available to unpacket_traits
Diffstat (limited to 'test/packetmath.cpp')
-rw-r--r-- | test/packetmath.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/packetmath.cpp b/test/packetmath.cpp index e704a53ea..d018aaeb0 100644 --- a/test/packetmath.cpp +++ b/test/packetmath.cpp @@ -228,6 +228,12 @@ template<typename Scalar,typename Packet> void packetmath() VERIFY(areApprox(data3, data2, PacketSize) && "internal::ploadu masked"); } } + } + + if (internal::unpacket_traits<Packet>::masked_store_available) + { + packet_helper<internal::unpacket_traits<Packet>::masked_store_available, Packet> h; + unsigned long long max_umask = (0x1ull << PacketSize); for (int offset=0; offset<PacketSize; ++offset) { |