FEX/unittests/ASM/H0F38/66_40.asm

42 lines
1.6 KiB
NASM

%ifdef CONFIG
{
"RegData": {
"XMM1": ["0x7a84d3fa541ef1be", "0x5f0d7667e4d8e24a"],
"XMM2": ["0x44683c4ce9ac9780", "0x9da95e9a6f25ef94"],
"XMM3": ["0x4bc94ea0ccb0a64c", "0x3cf36ee04f371510"],
"XMM4": ["0x1ac415407b8ba3db", "0x92cdc300dab0773c"],
"XMM5": ["0x6796b1563f8d578c", "0x4c64f16199291fe4"],
"XMM6": ["0x01a14ef664207dc6", "0x1d3220da400e1027"],
"XMM7": ["0x75ddba582c3dd348", "0xa5141c506d8c60d7"],
"XMM8": ["0x7873ff38fb240e0d", "0x6c154f1adb67cd17"]
}
}
%endif
lea rdx, [rel .data]
movaps xmm1, [rdx + 16 * 0]
movaps xmm2, [rdx + 16 * 1]
movaps xmm3, [rdx + 16 * 2]
movaps xmm4, [rdx + 16 * 3]
movaps xmm5, [rdx + 16 * 4]
movaps xmm6, [rdx + 16 * 5]
movaps xmm7, [rdx + 16 * 6]
movaps xmm8, [rdx + 16 * 7]
pmulld xmm1, [rdx + 16 * 8]
pmulld xmm2, [rdx + 16 * 9]
pmulld xmm3, [rdx + 16 * 10]
pmulld xmm4, [rdx + 16 * 11]
pmulld xmm5, [rdx + 16 * 12]
pmulld xmm6, [rdx + 16 * 13]
pmulld xmm7, [rdx + 16 * 14]
pmulld xmm8, [rdx + 16 * 15]
hlt
align 16
; 256bytes of random data
.data:
dd 655.9708,532.2244,108.0451,512.4019,754.227,586.0859,127.7574,114.8167,764.4266,226.6145,337.864,320.3296,296.5247,480.0057,28.4267,565.9418,265.8255,536.4473,754.3489,460.681,818.7269,43.7204,464.592,847.9381,306.0592,702.7584,887.6473,551.5908,620.9001,520.9829,232.9532,510.3388,204.8474,225.626,564.973,790.5175,836.1953,844.5266,633.5626,501.7409,393.2616,674.4415,244.3265,971.1598,770.8029,746.1836,255.9902,567.7578,187.7175,924.181,466.4362,169.8267,651.7481,462.4206,396.6924,355.8538,6.148,523.1443,989.7004,713.6646,497.5427,657.6965,651.0534,778.5236