Fix extend test for AArch64

This commit is contained in:
bjorn3
2021-09-29 19:45:49 +02:00
parent 3fae9e5fa9
commit 4b6d20d03f

View File

@@ -2,17 +2,14 @@ test run
target aarch64 target aarch64
target arm target arm
target s390x target s390x
; target x86_64 TODO: Not yet implemented on x86_64 target x86_64
function %uextend() -> b1 { function %uextend() -> b1 {
block0: block0:
v0 = iconst.i32 0xffff_ee00 v0 = iconst.i32 0xffff_ee00
v1 = uextend.i64 v0 v1 = uextend.i64 v0
v2, v3 = isplit v1 v2 = icmp_imm eq v1, 0xffff_ee00
v4 = icmp_imm eq v2, 0xffff_ee00 return v2
v5 = icmp_imm eq v3, 0
v6 = band v4, v5
return v6
} }
; run ; run
@@ -20,10 +17,7 @@ function %sextend() -> b1 {
block0: block0:
v0 = iconst.i32 0xffff_ee00 v0 = iconst.i32 0xffff_ee00
v1 = sextend.i64 v0 v1 = sextend.i64 v0
v2, v3 = isplit v1 v2 = icmp_imm eq v1, 0xffff_ffff_ffff_ee00
v4 = icmp_imm eq v2, 0xffff_ee00 return v2
v5 = icmp_imm eq v3, 0xffff_ffff
v6 = band v4, v5
return v6
} }
; run ; run