simd_bit_shifts.h 893 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _SIMD_BIT_SHIFTS_H_
  6. #define _SIMD_BIT_SHIFTS_H_
  7. #include "../aot_compiler.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. bool
  12. aot_compile_simd_i8x16_shift(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
  13. IntShift shift_op);
  14. bool
  15. aot_compile_simd_i16x8_shift(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
  16. IntShift shift_op);
  17. bool
  18. aot_compile_simd_i32x4_shift(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
  19. IntShift shift_op);
  20. bool
  21. aot_compile_simd_i64x2_shift(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
  22. IntShift shift_op);
  23. #ifdef __cplusplus
  24. } /* end of extern "C" */
  25. #endif
  26. #endif /* end of _SIMD_BIT_SHIFTS_H_ */