summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/sse3.s
blob: 186e4a5053f37ed21cb6d795bb15b77a30cada63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# SSE3 New Instructions

	.text
foo:
	addsubpd	(%ecx),%xmm0
	addsubpd	%xmm2,%xmm1
	addsubps	(%ebx),%xmm2
	addsubps	%xmm4,%xmm3
	fisttps		0x90909090(%eax)
	fisttpl		0x90909090(%eax)
	fisttpll	0x90909090(%eax)
	haddpd		0x0(%ebp),%xmm4
	haddpd		%xmm6,%xmm5
	haddps		(%edi),%xmm6
	haddps		%xmm0,%xmm7
	hsubpd		%xmm1,%xmm0
	hsubpd		(%edx),%xmm1
	hsubps		%xmm2,%xmm2
	hsubps		(%esp,1),%xmm3
	lddqu		(%esi),%xmm5
	monitor
	monitor		%eax,%ecx,%edx
	movddup		%xmm7,%xmm6
	movddup		(%eax),%xmm7
	movshdup	(%ecx),%xmm0
	movshdup	%xmm2,%xmm1
	movsldup	(%ebx),%xmm2
	movsldup	%xmm4,%xmm3
	mwait
	mwait		%eax,%ecx

	monitor		%ax,%ecx,%edx
	addr16 monitor

	.intel_syntax noprefix
	movddup xmm7,[eax]
	movddup xmm7,QWORD PTR [eax]

	monitor		eax, ecx, edx
	monitor		ax, ecx, edx
	mwait		eax, ecx