1// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK: extrq $0, $0, %xmm8
4// CHECK: encoding: [0x66,0x41,0x0f,0x78,0xc0,0x00,0x00]
5extrq $0, $0, %xmm8
6
7// CHECK: extrq %xmm8, %xmm8
8// CHECK: encoding: [0x66,0x45,0x0f,0x79,0xc0]
9extrq %xmm8, %xmm8
10
11// CHECK: insertq $0, $0, %xmm14, %xmm14
12// CHECK: encoding: [0xf2,0x45,0x0f,0x78,0xf6,0x00,0x00]
13insertq $0, $0, %xmm14, %xmm14
14
15// CHECK: insertq %xmm14, %xmm14
16// CHECK: encoding: [0xf2,0x45,0x0f,0x79,0xf6]
17insertq %xmm14, %xmm14
18
19// CHECK: movntsd %xmm6, 485498096
20// CHECK: encoding: [0xf2,0x0f,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
21movntsd %xmm6, 485498096
22
23// CHECK: movntsd %xmm14, 485498096
24// CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
25movntsd %xmm14, 485498096
26
27// CHECK: movntsd %xmm14, 64(%rdx)
28// CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x72,0x40]
29movntsd %xmm14, 64(%rdx)
30
31// CHECK: movntsd %xmm14, 64(%rdx,%rax,4)
32// CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x74,0x82,0x40]
33movntsd %xmm14, 64(%rdx,%rax,4)
34
35// CHECK: movntsd %xmm14, -64(%rdx,%rax,4)
36// CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x74,0x82,0xc0]
37movntsd %xmm14, -64(%rdx,%rax,4)
38
39// CHECK: movntsd %xmm14, 64(%rdx,%rax)
40// CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x74,0x02,0x40]
41movntsd %xmm14, 64(%rdx,%rax)
42
43// CHECK: movntsd %xmm14, (%rdx)
44// CHECK: encoding: [0xf2,0x44,0x0f,0x2b,0x32]
45movntsd %xmm14, (%rdx)
46
47// CHECK: movntss %xmm6, 485498096
48// CHECK: encoding: [0xf3,0x0f,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
49movntss %xmm6, 485498096
50
51// CHECK: movntss %xmm14, 485498096
52// CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
53movntss %xmm14, 485498096
54
55// CHECK: movntss %xmm14, 485498096
56// CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x34,0x25,0xf0,0x1c,0xf0,0x1c]
57movntss %xmm14, 485498096
58
59// CHECK: movntss %xmm14, 64(%rdx)
60// CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x72,0x40]
61movntss %xmm14, 64(%rdx)
62
63// CHECK: movntss %xmm14, 64(%rdx,%rax,4)
64// CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x74,0x82,0x40]
65movntss %xmm14, 64(%rdx,%rax,4)
66
67// CHECK: movntss %xmm14, -64(%rdx,%rax,4)
68// CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x74,0x82,0xc0]
69movntss %xmm14, -64(%rdx,%rax,4)
70
71// CHECK: movntss %xmm14, 64(%rdx,%rax)
72// CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x74,0x02,0x40]
73movntss %xmm14, 64(%rdx,%rax)
74
75// CHECK: movntss %xmm14, (%rdx)
76// CHECK: encoding: [0xf3,0x44,0x0f,0x2b,0x32]
77movntss %xmm14, (%rdx)
78