SimdBool16x8Operation.h 869 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 SIMDBool16x8Operation
  8. {
  9. // following are operation wrappers of SIMD.Bool16x8 general implementation
  10. static SIMDValue OpBool16x8(bool b[]);
  11. static SIMDValue OpBool16x8(const SIMDValue& v);
  12. static SIMDValue OpSplat(bool x);
  13. static SIMDValue OpSplat(const SIMDValue& v);
  14. // Unary Ops
  15. // Done via Int16x8 ops and Bool32x4
  16. // Binary Ops
  17. // Done via Int16x8 ops
  18. };
  19. } // namespace Js