wasm-micro-runtime/core/iwasm
YAMAMOTO Takashi 4735956eeb
fix return types of our 64-bit clz/ctz/popcount intrinsics (#4238)
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.)
2025-05-06 10:15:00 +08:00
..
aot fix return types of our 64-bit clz/ctz/popcount intrinsics (#4238) 2025-05-06 10:15:00 +08:00
common Merge dev/simd for fast-interp (#4131) 2025-03-20 14:23:20 +08:00
compilation Use --target to pass a triple in wamrc (#4199) 2025-05-06 06:56:06 +08:00
doc Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
fast-jit Keep fix the CMake compatibility issue (#4180) 2025-04-15 12:51:19 +08:00
include wamrc: add --disable-llvm-jump-tables option (#4224) 2025-04-28 16:43:53 +08:00
interpreter Merge pull request #4203 from jammar1/jammar1/fix-br-v128 2025-04-22 14:47:08 +01:00
libraries fix potential memory leak (#4205) 2025-04-22 12:08:25 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00