mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-11 20:21:11 +00:00
![]() the corresponding LLVM intrinsics' return types are same as their first argument. eg. i64 for llvm.cttz.i64. cf. https://llvm.org/docs/LangRef.html#llvm-cttz-intrinsic this commit changes the return types of our versions of the intrinsics to match llvm versions as our aot compiler, specifically __call_llvm_intrinsic, assumes. strictly speaking, this is a potential AOT ABI change. however, I suppose it isn't a problem for many of 64-bit ABIs out there, where (lower half of) a 64-bit register is used to return a 32-bit value anyway. (for such ABIs, this commit would fix the upper 32-bit value of the register.) |
||
---|---|---|
.. | ||
arch | ||
debug | ||
aot_intrinsic.c | ||
aot_intrinsic.h | ||
aot_loader.c | ||
aot_perf_map.c | ||
aot_perf_map.h | ||
aot_reloc.h | ||
aot_runtime.c | ||
aot_runtime.h | ||
aot_validator.c | ||
aot_validator.h | ||
iwasm_aot.cmake | ||
SConscript |