Remove useless "AVX" tests for AArch64

This commit is contained in:
Dmitry Stogov 2023-04-18 10:14:59 +03:00
parent bcf6c2f152
commit 1f7a2bd243
14 changed files with 0 additions and 274 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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