[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / SSE4a-64.s
blobeb21404ebeba4c4ce3abc2313e54afd4e69ba5b2
1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: extrq $0, $0, %xmm8
4 // CHECK: encoding: [0x66,0x41,0x0f,0x78,0xc0,0x00,0x00]
5 extrq $0, $0, %xmm8
7 // CHECK: extrq %xmm8, %xmm8
8 // CHECK: encoding: [0x66,0x45,0x0f,0x79,0xc0]
9 extrq %xmm8, %xmm8
11 // CHECK: insertq $0, $0, %xmm14, %xmm14
12 // CHECK: encoding: [0xf2,0x45,0x0f,0x78,0xf6,0x00,0x00]
13 insertq $0, $0, %xmm14, %xmm14
15 // CHECK: insertq %xmm14, %xmm14
16 // CHECK: encoding: [0xf2,0x45,0x0f,0x79,0xf6]
17 insertq %xmm14, %xmm14
19 // CHECK: movntsd %xmm6, 485498096
20 // CHECK: encoding: [0xf2,0x0f,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
21 movntsd %xmm6, 485498096
23 // CHECK: movntsd %xmm14, 485498096
24 // CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
25 movntsd %xmm14, 485498096
27 // CHECK: movntsd %xmm14, 64(%rdx)
28 // CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x72,0x40]
29 movntsd %xmm14, 64(%rdx)
31 // CHECK: movntsd %xmm14, 64(%rdx,%rax,4)
32 // CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x74,0x82,0x40]
33 movntsd %xmm14, 64(%rdx,%rax,4)
35 // CHECK: movntsd %xmm14, -64(%rdx,%rax,4)
36 // CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x74,0x82,0xc0]
37 movntsd %xmm14, -64(%rdx,%rax,4)
39 // CHECK: movntsd %xmm14, 64(%rdx,%rax)
40 // CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x74,0x02,0x40]
41 movntsd %xmm14, 64(%rdx,%rax)
43 // CHECK: movntsd %xmm14, (%rdx)
44 // CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x32]
45 movntsd %xmm14, (%rdx)
47 // CHECK: movntss %xmm6, 485498096
48 // CHECK: encoding: [0xf3,0x0f,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
49 movntss %xmm6, 485498096
51 // CHECK: movntss %xmm14, 485498096
52 // CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
53 movntss %xmm14, 485498096
55 // CHECK: movntss %xmm14, 485498096
56 // CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
57 movntss %xmm14, 485498096
59 // CHECK: movntss %xmm14, 64(%rdx)
60 // CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x72,0x40]
61 movntss %xmm14, 64(%rdx)
63 // CHECK: movntss %xmm14, 64(%rdx,%rax,4)
64 // CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x74,0x82,0x40]
65 movntss %xmm14, 64(%rdx,%rax,4)
67 // CHECK: movntss %xmm14, -64(%rdx,%rax,4)
68 // CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x74,0x82,0xc0]
69 movntss %xmm14, -64(%rdx,%rax,4)
71 // CHECK: movntss %xmm14, 64(%rdx,%rax)
72 // CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x74,0x02,0x40]
73 movntss %xmm14, 64(%rdx,%rax)
75 // CHECK: movntss %xmm14, (%rdx)
76 // CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x32]
77 movntss %xmm14, (%rdx)