simd_construct_values.h 682 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _SIMD_CONSTRUCT_VALUES_H_
  6. #define _SIMD_CONSTRUCT_VALUES_H_
  7. #include "../aot_compiler.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. bool
  12. aot_compile_simd_v128_const(AOTCompContext *comp_ctx,
  13. AOTFuncContext *func_ctx,
  14. const uint8 *imm_bytes);
  15. bool
  16. aot_compile_simd_splat(AOTCompContext *comp_ctx,
  17. AOTFuncContext *func_ctx,
  18. uint8 splat_opcode);
  19. #ifdef __cplusplus
  20. } /* end of extern "C" */
  21. #endif
  22. #endif /* end of _SIMD_CONSTRUCT_VALUES_H_ */