cranelift: Remove duplicated clz/ctz tests (#4304)
These were interpreter only since none of the architectures supported them but we added support for these instructions when moving to ISLE (#72e2b7fe)
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
test interpret
|
|
||||||
|
|
||||||
function %clz_i8(i8) -> i8 {
|
|
||||||
block0(v0: i8):
|
|
||||||
v1 = clz v0
|
|
||||||
return v1
|
|
||||||
}
|
|
||||||
; run: %clz_i8(1) == 7
|
|
||||||
; run: %clz_i8(0x40) == 1
|
|
||||||
; run: %clz_i8(-1) == 0
|
|
||||||
|
|
||||||
function %clz_i16(i16) -> i16 {
|
|
||||||
block0(v0: i16):
|
|
||||||
v1 = clz v0
|
|
||||||
return v1
|
|
||||||
}
|
|
||||||
; run: %clz_i16(1) == 15
|
|
||||||
; run: %clz_i16(0x4000) == 1
|
|
||||||
; run: %clz_i16(-1) == 0
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
test interpret
|
|
||||||
|
|
||||||
function %ctz_i8(i8) -> i8 {
|
|
||||||
block0(v0: i8):
|
|
||||||
v1 = ctz v0
|
|
||||||
return v1
|
|
||||||
}
|
|
||||||
; run: %ctz_i8(1) == 0
|
|
||||||
; run: %ctz_i8(0x40) == 6
|
|
||||||
; run: %ctz_i8(-1) == 0
|
|
||||||
|
|
||||||
function %ctz_i16(i16) -> i16 {
|
|
||||||
block0(v0: i16):
|
|
||||||
v1 = ctz v0
|
|
||||||
return v1
|
|
||||||
}
|
|
||||||
; run: %ctz_i16(1) == 0
|
|
||||||
; run: %ctz_i16(0x4000) == 14
|
|
||||||
; run: %ctz_i16(-1) == 0
|
|
||||||
Reference in New Issue
Block a user