simd_comparisons.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _SIMD_COMPARISONS_H_
  6. #define _SIMD_COMPARISONS_H_
  7. #include "../aot_compiler.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. bool
  12. aot_compile_simd_i8x16_compare(AOTCompContext *comp_ctx,
  13. AOTFuncContext *func_ctx,
  14. IntCond cond);
  15. bool
  16. aot_compile_simd_i16x8_compare(AOTCompContext *comp_ctx,
  17. AOTFuncContext *func_ctx,
  18. IntCond cond);
  19. bool
  20. aot_compile_simd_i32x4_compare(AOTCompContext *comp_ctx,
  21. AOTFuncContext *func_ctx,
  22. IntCond cond);
  23. bool
  24. aot_compile_simd_f32x4_compare(AOTCompContext *comp_ctx,
  25. AOTFuncContext *func_ctx,
  26. FloatCond cond);
  27. bool
  28. aot_compile_simd_f64x2_compare(AOTCompContext *comp_ctx,
  29. AOTFuncContext *func_ctx,
  30. FloatCond cond);
  31. #ifdef __cplusplus
  32. } /* end of extern "C" */
  33. #endif
  34. #endif /* end of _SIMD_COMPARISONS_H_ */