From 1f7a2bd243f9a5293fb779b697f1cd38fe2ace9f Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 18 Apr 2023 10:14:59 +0300 Subject: [PATCH] Remove useless "AVX" tests for AArch64 --- tests/aarch64/add_007.irt | 18 ------------------ tests/aarch64/add_008.irt | 18 ------------------ tests/aarch64/add_012.irt | 23 ----------------------- tests/aarch64/eq_005.irt | 20 -------------------- tests/aarch64/ge_005.irt | 20 -------------------- tests/aarch64/gt_005.irt | 20 -------------------- tests/aarch64/le_005.irt | 20 -------------------- tests/aarch64/lt_005.irt | 20 -------------------- tests/aarch64/min_002.irt | 18 ------------------ tests/aarch64/min_004.irt | 18 ------------------ tests/aarch64/ne_005.irt | 20 -------------------- tests/aarch64/sub_007.irt | 18 ------------------ tests/aarch64/sub_008.irt | 18 ------------------ tests/aarch64/sub_012.irt | 23 ----------------------- 14 files changed, 274 deletions(-) delete mode 100644 tests/aarch64/add_007.irt delete mode 100644 tests/aarch64/add_008.irt delete mode 100644 tests/aarch64/add_012.irt delete mode 100644 tests/aarch64/eq_005.irt delete mode 100644 tests/aarch64/ge_005.irt delete mode 100644 tests/aarch64/gt_005.irt delete mode 100644 tests/aarch64/le_005.irt delete mode 100644 tests/aarch64/lt_005.irt delete mode 100644 tests/aarch64/min_002.irt delete mode 100644 tests/aarch64/min_004.irt delete mode 100644 tests/aarch64/ne_005.irt delete mode 100644 tests/aarch64/sub_007.irt delete mode 100644 tests/aarch64/sub_008.irt delete mode 100644 tests/aarch64/sub_012.irt diff --git a/tests/aarch64/add_007.irt b/tests/aarch64/add_007.irt deleted file mode 100644 index a4413df..0000000 --- a/tests/aarch64/add_007.irt +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -007: add function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - double y = PARAM(l_1, "y", 2); - double ret = ADD(x, y); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fadd d0, d1, d0 - ret diff --git a/tests/aarch64/add_008.irt b/tests/aarch64/add_008.irt deleted file mode 100644 index a33b230..0000000 --- a/tests/aarch64/add_008.irt +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -008: add function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - double y = PARAM(l_1, "y", 2); - double ret = ADD(y, x); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fadd d0, d1, d0 - ret diff --git a/tests/aarch64/add_012.irt b/tests/aarch64/add_012.irt deleted file mode 100644 index 555aa21..0000000 --- a/tests/aarch64/add_012.irt +++ /dev/null @@ -1,23 +0,0 @@ ---TEST-- -012: add function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - double c = 0.5; - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - double ret = ADD(x, c); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - ldr d1, .L1 - fadd d0, d0, d1 - ret -.rodata - .db 0x1f, 0x20, 0x03, 0xd5 -.L1: - .db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x3f diff --git a/tests/aarch64/eq_005.irt b/tests/aarch64/eq_005.irt deleted file mode 100644 index 8abc1bb..0000000 --- a/tests/aarch64/eq_005.irt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -005: eq function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - double c = 0; - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - bool ret = EQ(x, c); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fmov d1, xzr - fcmp d0, d1 - cset w0, eq - ret diff --git a/tests/aarch64/ge_005.irt b/tests/aarch64/ge_005.irt deleted file mode 100644 index 991afe4..0000000 --- a/tests/aarch64/ge_005.irt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -005: ge function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - double c = 0; - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - bool ret = GE(x, c); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fmov d1, xzr - fcmp d0, d1 - cset w0, ge - ret diff --git a/tests/aarch64/gt_005.irt b/tests/aarch64/gt_005.irt deleted file mode 100644 index 0658cef..0000000 --- a/tests/aarch64/gt_005.irt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -005: gt function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - double c = 0; - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - bool ret = GT(x, c); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fmov d1, xzr - fcmp d0, d1 - cset w0, gt - ret diff --git a/tests/aarch64/le_005.irt b/tests/aarch64/le_005.irt deleted file mode 100644 index bd99dbd..0000000 --- a/tests/aarch64/le_005.irt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -005: le function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - double c = 0; - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - bool ret = LE(x, c); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fmov d1, xzr - fcmp d1, d0 - cset w0, ge - ret diff --git a/tests/aarch64/lt_005.irt b/tests/aarch64/lt_005.irt deleted file mode 100644 index f3b3f5c..0000000 --- a/tests/aarch64/lt_005.irt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -005: lt function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - double c = 0; - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - bool ret = LT(x, c); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fmov d1, xzr - fcmp d1, d0 - cset w0, gt - ret diff --git a/tests/aarch64/min_002.irt b/tests/aarch64/min_002.irt deleted file mode 100644 index 99f51cd..0000000 --- a/tests/aarch64/min_002.irt +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -002: min function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - l_1 = START(l_4); - float x = PARAM(l_1, "x", 1); - float y = PARAM(l_1, "y", 2); - float ret = MIN(x, y); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fmin s0, s1, s0 - ret diff --git a/tests/aarch64/min_004.irt b/tests/aarch64/min_004.irt deleted file mode 100644 index 8bdb6e2..0000000 --- a/tests/aarch64/min_004.irt +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -004: min function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - double y = PARAM(l_1, "y", 2); - double ret = MIN(x, y); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fmin d0, d1, d0 - ret diff --git a/tests/aarch64/ne_005.irt b/tests/aarch64/ne_005.irt deleted file mode 100644 index a58f711..0000000 --- a/tests/aarch64/ne_005.irt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -005: ne function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - double c = 0; - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - bool ret = NE(x, c); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fmov d1, xzr - fcmp d0, d1 - cset w0, ne - ret diff --git a/tests/aarch64/sub_007.irt b/tests/aarch64/sub_007.irt deleted file mode 100644 index a1633fc..0000000 --- a/tests/aarch64/sub_007.irt +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -007: sub function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - double y = PARAM(l_1, "y", 2); - double ret = SUB(x, y); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fsub d0, d0, d1 - ret diff --git a/tests/aarch64/sub_008.irt b/tests/aarch64/sub_008.irt deleted file mode 100644 index be21f1f..0000000 --- a/tests/aarch64/sub_008.irt +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -008: sub function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - double y = PARAM(l_1, "y", 2); - double ret = SUB(y, x); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - fsub d0, d1, d0 - ret diff --git a/tests/aarch64/sub_012.irt b/tests/aarch64/sub_012.irt deleted file mode 100644 index 31ebbd7..0000000 --- a/tests/aarch64/sub_012.irt +++ /dev/null @@ -1,23 +0,0 @@ ---TEST-- -012: sub function ---TARGET-- -aarch64 ---ARGS-- --S -mavx ---CODE-- -{ - double c = 0.5; - l_1 = START(l_4); - double x = PARAM(l_1, "x", 1); - double ret = SUB(c, x); - l_4 = RETURN(l_1, ret); -} ---EXPECT-- -test: - ldr d1, .L1 - fsub d0, d1, d0 - ret -.rodata - .db 0x1f, 0x20, 0x03, 0xd5 -.L1: - .db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x3f