FEX/unittests/ASM/OpSize/66_5A_1.asm
2021-06-08 06:54:11 -07:00

66 lines
2.5 KiB
NASM

%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x428b029f42a63326", "0x0000000000000000"],
"XMM1": ["0x4150f0e342241b6c", "0x0000000000000000"],
"XMM2": ["0x41aff21340ab4706", "0x0000000000000000"],
"XMM3": ["0x40aa5bea411ac802", "0x0000000000000000"],
"XMM4": ["0x428500c641e83ad2", "0x0000000000000000"],
"XMM5": ["0x42b6ba02419a760c", "0x0000000000000000"],
"XMM6": ["0x424bd89b4221cdae", "0x0000000000000000"],
"XMM7": ["0x41bfce514202945e", "0x0000000000000000"],
"XMM8": ["0x41c1cdc342b5494c", "0x0000000000000000"],
"XMM9": ["0x42b66f2e42c5e0f9", "0x0000000000000000"],
"XMM10": ["0x42c6f7d842b59a55", "0x0000000000000000"],
"XMM11": ["0x4294cbf84281f1e5", "0x0000000000000000"],
"XMM12": ["0x41cad360420ce913", "0x0000000000000000"],
"XMM13": ["0x42b4662d40bbf141", "0x0000000000000000"],
"XMM14": ["0x42501e3a42042015", "0x0000000000000000"],
"XMM15": ["0x4122ce1242698acb", "0x0000000000000000"]
}
}
%endif
lea rdx, [rel .data]
movapd xmm0, [rdx + 16 * 0]
movapd xmm1, [rdx + 16 * 1]
movapd xmm2, [rdx + 16 * 2]
movapd xmm3, [rdx + 16 * 3]
movapd xmm4, [rdx + 16 * 4]
movapd xmm5, [rdx + 16 * 5]
movapd xmm6, [rdx + 16 * 6]
movapd xmm7, [rdx + 16 * 7]
movapd xmm8, [rdx + 16 * 8]
movapd xmm9, [rdx + 16 * 9]
movapd xmm10, [rdx + 16 * 10]
movapd xmm11, [rdx + 16 * 11]
movapd xmm12, [rdx + 16 * 12]
movapd xmm13, [rdx + 16 * 13]
movapd xmm14, [rdx + 16 * 14]
movapd xmm15, [rdx + 16 * 15]
cvtpd2ps xmm0, [rdx + 16 * 0]
cvtpd2ps xmm1, [rdx + 16 * 1]
cvtpd2ps xmm2, [rdx + 16 * 2]
cvtpd2ps xmm3, [rdx + 16 * 3]
cvtpd2ps xmm4, [rdx + 16 * 4]
cvtpd2ps xmm5, [rdx + 16 * 5]
cvtpd2ps xmm6, [rdx + 16 * 6]
cvtpd2ps xmm7, [rdx + 16 * 7]
cvtpd2ps xmm8, [rdx + 16 * 8]
cvtpd2ps xmm9, [rdx + 16 * 9]
cvtpd2ps xmm10, [rdx + 16 * 10]
cvtpd2ps xmm11, [rdx + 16 * 11]
cvtpd2ps xmm12, [rdx + 16 * 12]
cvtpd2ps xmm13, [rdx + 16 * 13]
cvtpd2ps xmm14, [rdx + 16 * 14]
cvtpd2ps xmm15, [rdx + 16 * 15]
hlt
align 16
; 512bytes of random data
.data:
dq 83.0999,69.50512,41.02678,13.05881,5.35242,21.9932,9.67383,5.32372,29.02872,66.50151,19.30764,91.3633,40.45086,50.96153,32.64489,23.97574,90.64316,24.22547,98.9394,91.21715,90.80143,99.48407,64.97245,74.39838,35.22761,25.35321,5.8732,90.19956,33.03133,52.02952,58.38554,10.17531,47.84703,84.04831,90.02965,65.81329,96.27991,6.64479,25.58971,95.00694,88.1929,37.16964,49.52602,10.27223,77.70605,20.21439,9.8056,41.29389,15.4071,57.54286,9.61117,55.54302,52.90745,4.88086,72.52882,3.0201,56.55091,71.22749,61.84736,88.74295,47.72641,24.17404,33.70564,96.71303