Enable more CLIF tests on AArch64
The tests for the SIMD floating-point maximum and minimum operations require particular care because the handling of the NaN values is non-deterministic and may vary between platforms. There is no way to match several NaN values in a test, so the solution is to extract the non-deterministic test cases into a separate file that is subsequently replicated for every backend under test, with adjustments made to the expected results. Copyright (c) 2021, Arm Limited.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target x86_64
|
||||
|
||||
;; Test replacement of bitselect with vselect for special masks
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target x86_64
|
||||
|
||||
function %icmp_to_brz_fold(i32) -> i32 {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target x86_64 baseline
|
||||
|
||||
; Cases where the denominator is created by an iconst
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target i686 baseline
|
||||
|
||||
; -------- U32 --------
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target i686 baseline
|
||||
|
||||
; -------- U32 --------
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target x86_64
|
||||
|
||||
;; Test that although v5 can be replaced with v1, we don't transplant `load.i32
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target x86_64
|
||||
|
||||
function %wraparound(i64 vmctx) -> f32 system_v {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target i686 baseline
|
||||
|
||||
; -------- U32 --------
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target i686 baseline
|
||||
|
||||
; -------- U32 --------
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target x86_64
|
||||
|
||||
function u0:2(i64 , i64) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target x86_64
|
||||
|
||||
;; Tests for sign-extending immediates.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target i686
|
||||
|
||||
;; 32-bits platforms.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target x86_64
|
||||
|
||||
;; 64-bits platforms.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
test simple_preopt
|
||||
target aarch64
|
||||
target x86_64
|
||||
|
||||
;; The `isub` is a no-op, but we can't replace the whole `isub` instruction with
|
||||
|
||||
Reference in New Issue
Block a user