SimdBool8x16Operation.h 865 B

12345678910111213141516171819202122232425
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. namespace Js {
  7. struct SIMDBool8x16Operation
  8. {
  9. // following are operation wrappers of SIMD.Bool8x16 general implementation
  10. static SIMDValue OpBool8x16(bool b[]);
  11. static SIMDValue OpBool8x16(const SIMDValue& v);
  12. static SIMDValue OpSplat(bool x);
  13. static SIMDValue OpSplat(const SIMDValue& v);
  14. // Unary Ops
  15. // Done via Int8x16 and Bool32x4
  16. // Binary Ops
  17. // Done via Int8x16 ops
  18. };
  19. } // namespace Js