Strip the _lohi suffix from the isplit instructions.

For symmetry with the vector splitting instructions, we now have:

    isplit iconcat
    vsplit vconcat

No functional change.
This commit is contained in:
Jakob Stoklund Olesen
2017-03-21 13:08:17 -07:00
parent dfdc1ed514
commit 2a321f42fb
7 changed files with 45 additions and 45 deletions

View File

@@ -10,39 +10,39 @@ ebb0(v1: i64, v2: i64):
v3 = band v1, v2
return v3
}
; check: $(v1l=$V), $(v1h=$VX) = isplit_lohi
; check: $(v2l=$V), $(v2h=$VX) = isplit_lohi
; check: $(v1l=$V), $(v1h=$VX) = isplit
; check: $(v2l=$V), $(v2h=$VX) = isplit
; check: [R#ec
; sameln: $(v3l=$V) = band $v1l, $v2l
; check: [R#ec
; sameln: $(v3h=$V) = band $v1h, $v2h
; check: $v3 = iconcat_lohi $v3l, $v3h
; check: $v3 = iconcat $v3l, $v3h
function bitwise_or(i64, i64) -> i64 {
ebb0(v1: i64, v2: i64):
v3 = bor v1, v2
return v3
}
; check: $(v1l=$V), $(v1h=$VX) = isplit_lohi
; check: $(v2l=$V), $(v2h=$VX) = isplit_lohi
; check: $(v1l=$V), $(v1h=$VX) = isplit
; check: $(v2l=$V), $(v2h=$VX) = isplit
; check: [R#cc
; sameln: $(v3l=$V) = bor $v1l, $v2l
; check: [R#cc
; sameln: $(v3h=$V) = bor $v1h, $v2h
; check: $v3 = iconcat_lohi $v3l, $v3h
; check: $v3 = iconcat $v3l, $v3h
function bitwise_xor(i64, i64) -> i64 {
ebb0(v1: i64, v2: i64):
v3 = bxor v1, v2
return v3
}
; check: $(v1l=$V), $(v1h=$VX) = isplit_lohi
; check: $(v2l=$V), $(v2h=$VX) = isplit_lohi
; check: $(v1l=$V), $(v1h=$VX) = isplit
; check: $(v2l=$V), $(v2h=$VX) = isplit
; check: [R#8c
; sameln: $(v3l=$V) = bxor $v1l, $v2l
; check: [R#8c
; sameln: $(v3h=$V) = bxor $v1h, $v2h
; check: $v3 = iconcat_lohi $v3l, $v3h
; check: $v3 = iconcat $v3l, $v3h
function arith_add(i64, i64) -> i64 {
; Legalizing iadd.i64 requires two steps:
@@ -52,8 +52,8 @@ ebb0(v1: i64, v2: i64):
v3 = iadd v1, v2
return v3
}
; check: $(v1l=$V), $(v1h=$VX) = isplit_lohi
; check: $(v2l=$V), $(v2h=$VX) = isplit_lohi
; check: $(v1l=$V), $(v1h=$VX) = isplit
; check: $(v2l=$V), $(v2h=$VX) = isplit
; check: [R#0c
; sameln: $(v3l=$V) = iadd $v1l, $v2l
; check: $(c=$V) = icmp ult, $v3l, $v1l
@@ -62,4 +62,4 @@ ebb0(v1: i64, v2: i64):
; TODO: This doesn't typecheck. We need to convert the b1 result to i32.
; check: [R#0c
; sameln: $(v3h=$V) = iadd $v3h1, $c
; check: $v3 = iconcat_lohi $v3l, $v3h
; check: $v3 = iconcat $v3l, $v3h