mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-09 05:06:17 +00:00

Apply patches which were fixed in branch main to branch `release/1.3.x`: - aot debug: Fix a few NULL dereferences on errors (#3273) - aot debug: Fix a NULL dereference (#3274) - aot debug: Process lldb_function_to_function_dbi only for C (#3278) - Revert "lldb_function_to_function_dbi: A hack to avoid crashing on C++ methods (#3190)" (#3281) - Fix warnings/issues reported in Windows and by CodeQL/Coverity (#3275) - thread mgr: Free aux stack only when it was allocated (#3282) - interp: Restore context from prev_frame after tail calling a native f unction (#3283) - Sync simd opcode definitions spec (#3290) - Add more checks in wasm loader (#3300) - Fix posix_fadvise error handling (#3323) - Fix readdir for posix (#3339) - wasm loader: Fix checks for opcode ref.func and opcode else (#3340) - Enhance wasm loader checks for opcode br_table (#3352) - CI: Use macos-13 instead of macos-latest (#3366)
87 lines
3.0 KiB
C
87 lines
3.0 KiB
C
/*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
*/
|
|
|
|
#ifndef _SIMD_CONVERSIONS_H_
|
|
#define _SIMD_CONVERSIONS_H_
|
|
|
|
#include "../aot_compiler.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
bool
|
|
aot_compile_simd_i8x16_narrow_i16x8(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx, bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_i16x8_narrow_i32x4(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx, bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_i16x8_extend_i8x16(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx, bool is_low,
|
|
bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_i32x4_extend_i16x8(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx, bool is_low,
|
|
bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_i64x2_extend_i32x4(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx, bool lower_half,
|
|
bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_i32x4_trunc_sat_f32x4(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx,
|
|
bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_i32x4_trunc_sat_f64x2(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx,
|
|
bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_f32x4_convert_i32x4(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx, bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_f64x2_convert_i32x4(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx, bool is_signed);
|
|
bool
|
|
aot_compile_simd_i16x8_extadd_pairwise_i8x16(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx,
|
|
bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_i32x4_extadd_pairwise_i16x8(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx,
|
|
bool is_signed);
|
|
bool
|
|
aot_compile_simd_i16x8_q15mulr_sat(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx);
|
|
|
|
bool
|
|
aot_compile_simd_i16x8_extmul_i8x16(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx, bool is_low,
|
|
bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_i32x4_extmul_i16x8(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx, bool is_low,
|
|
bool is_signed);
|
|
|
|
bool
|
|
aot_compile_simd_i64x2_extmul_i32x4(AOTCompContext *comp_ctx,
|
|
AOTFuncContext *func_ctx, bool lower_half,
|
|
bool is_signed);
|
|
#ifdef __cplusplus
|
|
} /* end of extern "C" */
|
|
#endif
|
|
|
|
#endif /* end of _SIMD_CONVERSIONS_H_ */
|