Commit | Line | Data |
---|---|---|
029f3522 GG |
1 | # Test -march= |
2 | .text | |
a9660a6f | 3 | |
029f3522 | 4 | #SMAP feature |
a9660a6f AP |
5 | clac |
6 | stac | |
029f3522 | 7 | #ADCX ADOX |
a9660a6f AP |
8 | adcx %edx, %ecx |
9 | adox %edx, %ecx | |
029f3522 | 10 | #RDSEED |
a9660a6f | 11 | rdseed %eax |
029f3522 | 12 | #CLZERO |
a9660a6f | 13 | clzero |
474da251 JB |
14 | clzero %eax |
15 | clzero %ax | |
029f3522 | 16 | #XSAVEC |
a9660a6f | 17 | xsavec (%ecx) |
029f3522 | 18 | #XSAVES |
a9660a6f | 19 | xsaves (%ecx) |
029f3522 | 20 | #CLFLUSHOPT |
a9660a6f AP |
21 | clflushopt (%ecx) |
22 | monitorx %eax, %ecx, %edx | |
23 | monitorx %ax, %ecx, %edx | |
24 | monitorx | |
25 | mwaitx %eax, %ecx, %ebx | |
26 | mwaitx | |
27 | ||
28 | #CLWB instruction | |
29 | clwb (%ecx) # CLWB | |
30 | clwb -123456(%esp,%esi,8) # CLWB | |
31 | ||
142861df JB |
32 | # mcommit instruction |
33 | mcommit | |
34 | ||
a9660a6f AP |
35 | # rdpid instruction |
36 | rdpid %eax | |
37 | ||
142861df JB |
38 | # rdpru instruction |
39 | rdpru | |
40 | ||
a9660a6f AP |
41 | # wbnoinvd instruction |
42 | wbnoinvd |