Also adds a predicate for matching the `eq` IntCC code (TODO this should be replaced by something more general)
25 lines
426 B
Plaintext
25 lines
426 B
Plaintext
test run
|
|
set enable_simd
|
|
|
|
function %run_icmp_i8x16() -> b8 {
|
|
ebb0:
|
|
v0 = vconst.i8x16 0x00
|
|
v1 = vconst.i8x16 0x00
|
|
v2 = icmp eq v0, v1
|
|
v3 = extractlane v2, 0
|
|
return v3
|
|
}
|
|
|
|
; run
|
|
|
|
function %run_icmp_i64x2() -> b64 {
|
|
ebb0:
|
|
v0 = vconst.i64x2 0xffffffffffffffffffffffffffffffff
|
|
v1 = vconst.i64x2 0xffffffffffffffffffffffffffffffff
|
|
v2 = icmp eq v0, v1
|
|
v3 = extractlane v2, 1
|
|
return v3
|
|
}
|
|
|
|
; run
|