Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / i386 / x86-64-avx-swap.s
1 # Check 64bit instructions with encoding options
2
3         .allow_index_reg
4         .text
5 _start:
6
7 # Tests for op ymm, ymm
8         vmovapd %ymm8,%ymm6
9         vmovaps %ymm8,%ymm6
10         vmovdqa %ymm8,%ymm6
11         vmovdqu %ymm8,%ymm6
12         vmovupd %ymm8,%ymm6
13         vmovups %ymm8,%ymm6
14
15 # Tests for op xmm, xmm
16         movapd %xmm8,%xmm6
17         movaps %xmm8,%xmm6
18         movdqa %xmm8,%xmm6
19         movdqu %xmm8,%xmm6
20         movq %xmm8,%xmm6
21         movsd %xmm8,%xmm6
22         movss %xmm8,%xmm6
23         movupd %xmm8,%xmm6
24         movups %xmm8,%xmm6
25         vmovapd %xmm8,%xmm6
26         vmovaps %xmm8,%xmm6
27         vmovdqa %xmm8,%xmm6
28         vmovdqu %xmm8,%xmm6
29         vmovq %xmm8,%xmm6
30         vmovupd %xmm8,%xmm6
31         vmovups %xmm8,%xmm6
32
33 # Tests for op xmm, xmm, xmm
34         vmovsd %xmm8,%xmm6,%xmm2
35         vmovss %xmm8,%xmm6,%xmm2
36
37         .intel_syntax noprefix
38
39 # Tests for op ymm, ymm
40         vmovapd ymm6,ymm8
41         vmovaps ymm6,ymm8
42         vmovdqa ymm6,ymm8
43         vmovdqu ymm6,ymm8
44         vmovupd ymm6,ymm8
45         vmovups ymm6,ymm8
46
47 # Tests for op xmm, xmm
48         movapd xmm6,xmm8
49         movaps xmm6,xmm8
50         movdqa xmm6,xmm8
51         movdqu xmm6,xmm8
52         movq xmm6,xmm8
53         movsd xmm6,xmm8
54         movss xmm6,xmm8
55         movupd xmm6,xmm8
56         movups xmm6,xmm8
57         vmovapd xmm6,xmm8
58         vmovaps xmm6,xmm8
59         vmovdqa xmm6,xmm8
60         vmovdqu xmm6,xmm8
61         vmovq xmm6,xmm8
62         vmovupd xmm6,xmm8
63         vmovups xmm6,xmm8
64
65 # Tests for op xmm, xmm, xmm
66         vmovsd xmm2,xmm6,xmm8
67         vmovss xmm2,xmm6,xmm8