This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm/compilation
Wenyong Huang 177aa4fc79
Fix aot rotl/rotr 0 issue (#1285)
Fix the issue reported in #1282.
When i32/i64 rotate (rotl/rotr) with 0, the LLVM IRs translated are:
left<<0 | left>>64 and left >>0 | left<<64
The value of left >> 64 and left <<64 in LLVM are treated as poison,
which causes invalid result when executing the aot function.

Directly return left when right is 0 to fix the issue.
2022-07-12 13:43:56 +08:00
..
debug Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
simd Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_compiler.c Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_compiler.h Support integrate 3rd-party toolchains into wamrc (#1237) 2022-06-20 13:13:41 +08:00
aot_emit_aot_file.c Support integrate 3rd-party toolchains into wamrc (#1237) 2022-06-20 13:13:41 +08:00
aot_emit_compare.c Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_compare.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_const.c Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_emit_const.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_control.c Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_emit_control.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_conversion.c xip: Lookup float constants from table to reduce relocations (#894) 2021-12-16 21:39:23 +08:00
aot_emit_conversion.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_exception.c Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_emit_exception.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_function.c Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_emit_function.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_memory.c Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_emit_memory.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_numberic.c Fix aot rotl/rotr 0 issue (#1285) 2022-07-12 13:43:56 +08:00
aot_emit_numberic.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_parametric.c Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_parametric.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_table.c Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_emit_table.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_emit_variable.c Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_emit_variable.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
aot_llvm_extra.cpp Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_llvm.c Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot_llvm.h Enable aot compiler with llvm-14/15 (#1252) 2022-06-28 14:53:01 +08:00
aot.c Enable emitting custom name section to aot file (#794) 2021-10-26 16:32:52 +08:00
aot.h Support integrate 3rd-party toolchains into wamrc (#1237) 2022-06-20 13:13:41 +08:00
iwasm_compl.cmake Implement atomic and memset/memmove/memcpy intrinsic for riscv (#841) 2021-11-30 17:10:14 +08:00