summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/arch-13.s
blob: 3a8074144063db38a7ea65b969c31c11b078fd0f (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
42
43
44
45
46
# Test -march=
	.text

#SMAP feature
	clac
	stac
#ADCX ADOX 
	adcx    %edx, %ecx
	adox    %edx, %ecx
#RDSEED
	rdseed    %eax
#CLZERO
	clzero
	clzero  %eax
	clzero  %ax
#XSAVEC
	xsavec  (%ecx)
#XSAVES
	xsaves  (%ecx)
#CLFLUSHOPT
	clflushopt      (%ecx)
	monitorx %eax, %ecx, %edx
	monitorx %ax, %ecx, %edx
	monitorx
	mwaitx %eax, %ecx, %ebx
	mwaitx

#CLWB instruction
	clwb	(%ecx)	 # CLWB
	clwb	-123456(%esp,%esi,8)	 # CLWB

# mcommit instruction
	mcommit

# rdpid instruction
	rdpid %eax

# rdpru instruction
	rdpru

# vmgexit instruction
	vmgexit
	repne; vmmcall # vmgexit alternative encoding

# wbnoinvd instruction
	wbnoinvd