avx.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // ======================================================================== //
  2. // Copyright 2009-2017 Intel Corporation //
  3. // //
  4. // Licensed under the Apache License, Version 2.0 (the "License"); //
  5. // you may not use this file except in compliance with the License. //
  6. // You may obtain a copy of the License at //
  7. // //
  8. // http://www.apache.org/licenses/LICENSE-2.0 //
  9. // //
  10. // Unless required by applicable law or agreed to in writing, software //
  11. // distributed under the License is distributed on an "AS IS" BASIS, //
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. //
  13. // See the License for the specific language governing permissions and //
  14. // limitations under the License. //
  15. // ======================================================================== //
  16. #pragma once
  17. #include "sse.h"
  18. #if defined(__AVX512VL__)
  19. #include "vboolf8_avx512.h"
  20. #include "vboold4_avx512.h"
  21. #else
  22. #include "vboolf8_avx.h"
  23. #include "vboold4_avx.h"
  24. #endif
  25. #if defined(__AVX2__)
  26. #include "vint8_avx2.h"
  27. #if defined(__X86_64__)
  28. #include "vllong4_avx2.h"
  29. #endif
  30. #else
  31. #include "vint8_avx.h"
  32. #endif
  33. #include "vfloat8_avx.h"
  34. #if defined(__X86_64__)
  35. #include "vdouble4_avx.h"
  36. #endif
  37. #if defined(__AVX512F__)
  38. #include "avx512.h"
  39. #endif