Skip to content

Commit c07fed2

Browse files
committed
unittests/ASM: Classify unittests with new flags
Necessary for running on old hardware.
1 parent b46a37d commit c07fed2

File tree

159 files changed

+320
-166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+320
-166
lines changed

unittests/ASM/3DNow/86.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"RBX": "1",
55
"MM3": "0xff8000007f800000"
66
},
7-
"HostFeatures": ["3DNOW"]
7+
"HostFeatures": ["3DNOW", "EMMI"]
88
}
99
%endif
1010

@@ -100,4 +100,4 @@ dd -1.0
100100
tolerance:
101101
dd 0x38800000 ; 2^-14 - 14bit accuracy
102102

103-
define_check_data_constants
103+
define_check_data_constants

unittests/ASM/3DNow/87.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"RegData": {
44
"RBX": "1"
55
},
6-
"HostFeatures": ["3DNOW"]
6+
"HostFeatures": ["3DNOW", "EMMI"]
77
}
88
%endif
99

@@ -90,4 +90,4 @@ dd 0x3f800000 ; 1.0
9090
tolerance:
9191
dd 0x38000000 ; 2^-15 - accurate to 15bits
9292

93-
define_check_data_constants
93+
define_check_data_constants

unittests/ASM/3DNow/A6.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"MM0": "0x9192939481828384",
55
"MM1": "0xB1B2B3B4A1A2A3A4"
66
},
7-
"HostFeatures": ["3DNOW"]
7+
"HostFeatures": ["3DNOW", "EMMI"]
88
}
99
%endif
1010

unittests/ASM/3DNow/A7.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"MM0": "0x9192939481828384",
55
"MM1": "0xB1B2B3B4A1A2A3A4"
66
},
7-
"HostFeatures": ["3DNOW"]
7+
"HostFeatures": ["3DNOW", "EMMI"]
88
}
99
%endif
1010

unittests/ASM/3DNow/B6.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"MM0": "0x9192939481828384",
55
"MM1": "0xB1B2B3B4A1A2A3A4"
66
},
7-
"HostFeatures": ["3DNOW"]
7+
"HostFeatures": ["3DNOW", "EMMI"]
88
}
99
%endif
1010

unittests/ASM/DAZTest.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%ifdef CONFIG
22
{
3-
"HostFeatures": ["AFP"],
3+
"HostFeatures": ["AFP", "AVX"],
44
"RegData": {
55
"XMM0": ["0x0108000040e00000", "0xd1d2d3d4d5d6d7d8", "0", "0"],
66
"XMM1": ["0x00cfffff40e00000", "0xd1d2d3d4d5d6d7d8", "0", "0"]

unittests/ASM/FEX_bugs/BZHI_Sign.asm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"RBX": "0xFFFFFFFFFFFFFFF4",
66
"RCX": "0x0",
77
"RDX": "0x1337"
8-
}
8+
},
9+
"HostFeatures": ["BMI2"]
910
}
1011
%endif
1112

unittests/ASM/FEX_bugs/Blake3.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
%ifdef CONFIG
22
{
3+
"HostFeatures": ["AVX"]
34
}
45
%endif
56

unittests/ASM/FEX_bugs/H0F3AREXBug.asm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
%ifdef CONFIG
2-
{}
2+
{
3+
"HostFeatures": ["AES", "SHA", "SSE4.2", "SSE4.1", "PCLMUL", "SSSE3"]
4+
}
35
%endif
46

57
; FEX-Emu had a bug in decoding the H0F3A instruction table.

unittests/ASM/FEX_bugs/MinMaxNaN.asm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"RBX": "0x00000000",
66
"RCX": "0x00000000",
77
"RSI": "0x00000000"
8-
}
8+
},
9+
"HostFeatures": ["AVX"]
910
}
1011
%endif
1112

0 commit comments

Comments
 (0)