Cranelift: Implement 'iabs' for scalar types on x86_64 (#5527)

* Implement 'iabs' for scalar types on x86_64

* Small fix
This commit is contained in:
uint256_t
2023-01-06 14:33:12 +09:00
committed by GitHub
parent c50bdf600e
commit b00455135e
5 changed files with 84 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ target aarch64
target s390x
target riscv64 has_zbb=false
target riscv64 has_zbb=true
; x86_64 only supports vector iabs
target x86_64
function %iabs_i8(i8) -> i8 {
block0(v0: i8):