mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-26 08:45:14 +00:00
edad24479b
For these unit tests we no longer need to put them in the disabled tests file. Instead it will be skipped if the host doesn't support the feature required.
36 lines
509 B
NASM
36 lines
509 B
NASM
%ifdef CONFIG
|
|
{
|
|
"RegData": {
|
|
"MM0": ["0x9192939481828384", "0x0"],
|
|
"MM1": ["0xB1B2B3B4A1A2A3A4", "0x0"]
|
|
},
|
|
"HostFeatures": ["3DNOW"]
|
|
}
|
|
%endif
|
|
|
|
movq mm0, [rel data1]
|
|
movq mm1, [rel data2]
|
|
|
|
; Legitimate to implement as a move if the rsqrt or recip instruction does the full calculation
|
|
pfrsqit1 mm0, [rel data3]
|
|
pfrsqit1 mm1, [rel data4]
|
|
|
|
hlt
|
|
|
|
align 8
|
|
data1:
|
|
dd 0x41424344
|
|
dd 0x51525354
|
|
|
|
data2:
|
|
dd 0x61626364
|
|
dd 0x71727374
|
|
|
|
data3:
|
|
dd 0x81828384
|
|
dd 0x91929394
|
|
|
|
data4:
|
|
dd 0xA1A2A3A4
|
|
dd 0xB1B2B3B4
|