fix rotl.i16 with i128 shift value. (#5611)

* fix issue 5523.

* fix.

* add missing issue file.

* fix issue.

* fix duplicate shamt_128.

* issue 5523 add test target,and fix some wrong comment.

* fix output file.

* enable llvm_abi_extensions for regression test file.
This commit is contained in:
yuyang
2023-02-01 11:44:13 +08:00
committed by GitHub
parent 268f6bfc1d
commit cb3b6c621f
5 changed files with 133 additions and 103 deletions

View File

@@ -0,0 +1,15 @@
test interpret
test run
set enable_llvm_abi_extensions=true
target riscv64
target aarch64
target s390x
target x86_64
function %a(i16, i128) -> i128 system_v {
block0(v0: i16, v1: i128):
v2 = rotl v1, v0
return v2
}
; run: %a(64, 1095219937288) == 20203241887575960770402119057408