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:
Anton Kirilov
2021-07-06 13:22:11 +01:00
parent fb32e49ed7
commit a1b39276e1
78 changed files with 258 additions and 77 deletions

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target x86_64
;; Test replacement of bitselect with vselect for special masks

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target x86_64
function %icmp_to_brz_fold(i32) -> i32 {

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target x86_64 baseline
; Cases where the denominator is created by an iconst

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target i686 baseline
; -------- U32 --------

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target i686 baseline
; -------- U32 --------

View File

@@ -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

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target x86_64
function %wraparound(i64 vmctx) -> f32 system_v {

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target i686 baseline
; -------- U32 --------

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target i686 baseline
; -------- U32 --------

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target x86_64
function u0:2(i64 , i64) {

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target x86_64
;; Tests for sign-extending immediates.

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target i686
;; 32-bits platforms.

View File

@@ -1,4 +1,5 @@
test simple_preopt
target aarch64
target x86_64
;; 64-bits platforms.

View File

@@ -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