cranelift: Use requested ISA Flags in run tests (#4450)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
test run
|
||||
target s390x
|
||||
target s390x has_mie2
|
||||
target aarch64
|
||||
target aarch64 has_lse
|
||||
target x86_64
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
test run
|
||||
target s390x
|
||||
target s390x has_mie2
|
||||
|
||||
; We can't test that these instructions are right regarding atomicity, but we can
|
||||
; test if they perform their operation correctly
|
||||
@@ -457,4 +458,3 @@ block0(v0: i32, v1: i64, v2: i8):
|
||||
; run: %atomic_rmw_xchg_big_i8(0x12345678, 2, 0xff) == 0x1234ff78
|
||||
; run: %atomic_rmw_xchg_big_i8(0x12345678, 3, 0x11) == 0x12345611
|
||||
; run: %atomic_rmw_xchg_big_i8(0x12345678, 3, 0xff) == 0x123456ff
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
test run
|
||||
target s390x
|
||||
target s390x has_mie2
|
||||
target aarch64
|
||||
target aarch64 has_lse
|
||||
target x86_64
|
||||
@@ -456,4 +457,3 @@ block0(v0: i32, v1: i64, v2: i8):
|
||||
; run: %atomic_rmw_xchg_little_i8(0x12345678, 1, 0xff) == 0x1234ff78
|
||||
; run: %atomic_rmw_xchg_little_i8(0x12345678, 0, 0x11) == 0x12345611
|
||||
; run: %atomic_rmw_xchg_little_i8(0x12345678, 0, 0xff) == 0x123456ff
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
test run
|
||||
target aarch64
|
||||
target s390x
|
||||
target s390x has_mie2
|
||||
; target x86_64 TODO: Not yet implemented on x86_64
|
||||
|
||||
function %bnot_band() -> b1 {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
test interpret
|
||||
test run
|
||||
target aarch64
|
||||
target arm
|
||||
target s390x
|
||||
target x86_64
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ test interpret
|
||||
test run
|
||||
target aarch64
|
||||
target x86_64
|
||||
target x86_64 has_lzcnt
|
||||
|
||||
function %clz_i8(i8) -> i8 {
|
||||
block0(v0: i8):
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
test run
|
||||
target aarch64
|
||||
target arm
|
||||
target s390x
|
||||
target x86_64
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ test interpret
|
||||
test run
|
||||
target aarch64
|
||||
target x86_64
|
||||
target x86_64 has_bmi1
|
||||
|
||||
function %ctz_i8(i8) -> i8 {
|
||||
block0(v0: i8):
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
test run
|
||||
target aarch64
|
||||
target arm
|
||||
target s390x
|
||||
set avoid_div_traps=false
|
||||
target x86_64
|
||||
|
||||
@@ -2,7 +2,7 @@ test interpret
|
||||
test run
|
||||
target aarch64
|
||||
target x86_64
|
||||
target x86_64 has_popcnt=1
|
||||
target x86_64 has_popcnt
|
||||
|
||||
function %popcnt_i8(i8) -> i8 {
|
||||
block0(v0: i8):
|
||||
|
||||
Reference in New Issue
Block a user