Commit | Line | Data |
---|---|---|
daf50ae7 L |
1 | # Check SSE instructions |
2 | ||
3 | .text | |
4 | _start: | |
5 | ||
6 | # SSE instruction | |
7 | addps %xmm2,%xmm1 | |
8 | ||
9 | # SSE2 instruction | |
10 | addpd %xmm2,%xmm1 | |
11 | ||
12 | # SSE3 instruction | |
13 | addsubpd %xmm2,%xmm1 | |
14 | ||
15 | # SSSE3 instruction | |
16 | phaddw %xmm2,%xmm1 | |
17 | ||
18 | # SSE4 instructions | |
19 | blendvpd %xmm0,%xmm1,%xmm0 | |
20 | pcmpgtq %xmm1,%xmm0 |