• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK: cmovael %eax, %eax
4// CHECK: encoding: [0x0f,0x43,0xc0]
5cmovael %eax, %eax
6
7// CHECK: cmoval %eax, %eax
8// CHECK: encoding: [0x0f,0x47,0xc0]
9cmoval %eax, %eax
10
11// CHECK: cmovbel %eax, %eax
12// CHECK: encoding: [0x0f,0x46,0xc0]
13cmovbel %eax, %eax
14
15// CHECK: cmovbl %eax, %eax
16// CHECK: encoding: [0x0f,0x42,0xc0]
17cmovbl %eax, %eax
18
19// CHECK: cmovel %eax, %eax
20// CHECK: encoding: [0x0f,0x44,0xc0]
21cmovel %eax, %eax
22
23// CHECK: cmovgel %eax, %eax
24// CHECK: encoding: [0x0f,0x4d,0xc0]
25cmovgel %eax, %eax
26
27// CHECK: cmovgl %eax, %eax
28// CHECK: encoding: [0x0f,0x4f,0xc0]
29cmovgl %eax, %eax
30
31// CHECK: cmovlel %eax, %eax
32// CHECK: encoding: [0x0f,0x4e,0xc0]
33cmovlel %eax, %eax
34
35// CHECK: cmovll %eax, %eax
36// CHECK: encoding: [0x0f,0x4c,0xc0]
37cmovll %eax, %eax
38
39// CHECK: cmovnel %eax, %eax
40// CHECK: encoding: [0x0f,0x45,0xc0]
41cmovnel %eax, %eax
42
43// CHECK: cmovnol %eax, %eax
44// CHECK: encoding: [0x0f,0x41,0xc0]
45cmovnol %eax, %eax
46
47// CHECK: cmovnpl %eax, %eax
48// CHECK: encoding: [0x0f,0x4b,0xc0]
49cmovnpl %eax, %eax
50
51// CHECK: cmovnsl %eax, %eax
52// CHECK: encoding: [0x0f,0x49,0xc0]
53cmovnsl %eax, %eax
54
55// CHECK: cmovol %eax, %eax
56// CHECK: encoding: [0x0f,0x40,0xc0]
57cmovol %eax, %eax
58
59// CHECK: cmovpl %eax, %eax
60// CHECK: encoding: [0x0f,0x4a,0xc0]
61cmovpl %eax, %eax
62
63// CHECK: cmovsl %eax, %eax
64// CHECK: encoding: [0x0f,0x48,0xc0]
65cmovsl %eax, %eax
66
67// CHECK: fcmovbe %st(4), %st(0)
68// CHECK: encoding: [0xda,0xd4]
69fcmovbe %st(4), %st(0)
70
71// CHECK: fcmovb %st(4), %st(0)
72// CHECK: encoding: [0xda,0xc4]
73fcmovb %st(4), %st(0)
74
75// CHECK: fcmove %st(4), %st(0)
76// CHECK: encoding: [0xda,0xcc]
77fcmove %st(4), %st(0)
78
79// CHECK: fcmovnbe %st(4), %st(0)
80// CHECK: encoding: [0xdb,0xd4]
81fcmovnbe %st(4), %st(0)
82
83// CHECK: fcmovnb %st(4), %st(0)
84// CHECK: encoding: [0xdb,0xc4]
85fcmovnb %st(4), %st(0)
86
87// CHECK: fcmovne %st(4), %st(0)
88// CHECK: encoding: [0xdb,0xcc]
89fcmovne %st(4), %st(0)
90
91// CHECK: fcmovnu %st(4), %st(0)
92// CHECK: encoding: [0xdb,0xdc]
93fcmovnu %st(4), %st(0)
94
95// CHECK: fcmovu %st(4), %st(0)
96// CHECK: encoding: [0xda,0xdc]
97fcmovu %st(4), %st(0)
98
99// CHECK: fcomi %st(4)
100// CHECK: encoding: [0xdb,0xf4]
101fcomi %st(4)
102
103// CHECK: fcompi %st(4)
104// CHECK: encoding: [0xdf,0xf4]
105fcompi %st(4)
106
107// CHECK: fucomi %st(4)
108// CHECK: encoding: [0xdb,0xec]
109fucomi %st(4)
110
111// CHECK: fucompi %st(4)
112// CHECK: encoding: [0xdf,0xec]
113fucompi %st(4)
114
115// CHECK: sysenter
116// CHECK: encoding: [0x0f,0x34]
117sysenter
118
119// CHECK: sysexitl
120// CHECK: encoding: [0x0f,0x35]
121sysexitl
122
123// CHECK: ud2
124// CHECK: encoding: [0x0f,0x0b]
125ud2
126
127