166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	pause
466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pause
566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xf3,0x90]
666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	sfence
766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: sfence
866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0xae,0xf8]
966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lfence
1066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lfence
1166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0xae,0xe8]
1266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	mfence
1366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: mfence
1466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0xae,0xf0]
1566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	monitor
1666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: monitor
1766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x01,0xc8]
1866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	monitor %eax, %ecx, %edx
1966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: monitor
2066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x01,0xc8]
2166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	mwait
2266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: mwait
2366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x01,0xc9]
2466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	mwait %eax, %ecx
2566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: mwait
2666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x01,0xc9]
2766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
2866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	vmcall
2966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: vmcall
3066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x01,0xc1]
3166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	vmlaunch
3266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: vmlaunch
3366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x01,0xc2]
3466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	vmresume
3566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: vmresume
3666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x01,0xc3]
3766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	vmxoff
3866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: vmxoff
3966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x01,0xc4]
4066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	swapgs
4166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: swapgs
4266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x01,0xf8]
4366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
4466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanrdtscp
4566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: rdtscp
4666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x01,0xf9]
4766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
4866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
4966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%eax, 16(%ebp)          # encoding: [0x89,0x45,0x10]
5066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movl	%eax, 16(%ebp)
5166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%eax, -16(%ebp)          # encoding: [0x89,0x45,0xf0]
5266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movl	%eax, -16(%ebp)
5366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
5466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: testb	%bl, %cl                # encoding: [0x84,0xcb]
5566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        testb %bl, %cl
5666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
5766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmpl	%eax, %ebx              # encoding: [0x39,0xc3]
5866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpl %eax, %ebx
5966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
6066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: addw	%ax, %ax                # encoding: [0x66,0x01,0xc0]
6166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        addw %ax, %ax
6266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
6366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: shrl	%eax                    # encoding: [0xd1,0xe8]
6466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        shrl $1, %eax
6566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
6666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: shll	%eax                    # encoding: [0xd1,0xe0]
6766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        sall $1, %eax
6866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: shll	%eax                    # encoding: [0xd1,0xe0]
6966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        sal $1, %eax
7066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
7166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// moffset forms of moves, rdar://7947184
7266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanmovb	0, %al    // CHECK: movb 0, %al  # encoding: [0xa0,A,A,A,A]
7366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanmovw	0, %ax    // CHECK: movw 0, %ax  # encoding: [0x66,0xa1,A,A,A,A]
7466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanmovl	0, %eax   // CHECK: movl 0, %eax  # encoding: [0xa1,A,A,A,A]
7566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
7666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://7973775
7766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumaninto
7866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: into
7966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xce]
8066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanint3
8166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: int3
8266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xcc]
8366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanint $4
8466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: int $4
8566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xcd,0x04]
8666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanint $255
8766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: int $255
8866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xcd,0xff]
8966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
9066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushfl	# encoding: [0x9c]
9166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        pushf
9266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushfl	# encoding: [0x9c]
9366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        pushfl
9466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: popfl	        # encoding: [0x9d]
9566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        popf
9666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: popfl	        # encoding: [0x9d]
9766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        popfl
9866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
9966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://8014869
10066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanretl
10166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: ret
10266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xc3]
10366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
10466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://7973854
10566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmoval	%eax, %edx
10666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x47,0xd0]
10766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmoval	%eax,%edx
10866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
10966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovael	%eax, %edx
11066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x43,0xd0]
11166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovael	%eax,%edx
11266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
11366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovbel	%eax, %edx
11466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x46,0xd0]
11566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovbel	%eax,%edx
11666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
11766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovbl	%eax, %edx
11866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x42,0xd0]
11966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovbl	%eax,%edx
12066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
12166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovbw %bx, %bx
12266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumancmovnae	%bx,%bx
12366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
12466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
12566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovbel	%eax, %edx
12666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x46,0xd0]
12766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovbel	%eax,%edx
12866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
12966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovbl	%eax, %edx
13066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x42,0xd0]
13166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovcl	%eax,%edx
13266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
13366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovel	%eax, %edx
13466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x44,0xd0]
13566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovel	%eax,%edx
13666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
13766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovgl	%eax, %edx
13866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4f,0xd0]
13966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovgl	%eax,%edx
14066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
14166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovgel	%eax, %edx
14266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4d,0xd0]
14366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovgel	%eax,%edx
14466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
14566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovll	%eax, %edx
14666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4c,0xd0]
14766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovll	%eax,%edx
14866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
14966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovlel	%eax, %edx
15066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4e,0xd0]
15166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovlel	%eax,%edx
15266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
15366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovbel	%eax, %edx
15466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x46,0xd0]
15566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnal	%eax,%edx
15666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
15766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovnel	%eax, %edx
15866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x45,0xd0]
15966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnel	%eax,%edx
16066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
16166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovael	%eax, %edx
16266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x43,0xd0]
16366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnbl	%eax,%edx
16466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
16566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmoval	%eax, %edx
16666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x47,0xd0]
16766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnbel	%eax,%edx
16866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
16966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovael	%eax, %edx
17066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x43,0xd0]
17166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovncl	%eax,%edx
17266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
17366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovnel	%eax, %edx
17466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x45,0xd0]
17566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnel	%eax,%edx
17666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
17766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovlel	%eax, %edx
17866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4e,0xd0]
17966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovngl	%eax,%edx
18066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
18166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovgel	%eax, %edx
18266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4d,0xd0]
18366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnl	%eax,%edx
18466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
18566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovnel	%eax, %edx
18666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x45,0xd0]
18766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnel	%eax,%edx
18866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
18966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovlel	%eax, %edx
19066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4e,0xd0]
19166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovngl	%eax,%edx
19266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
19366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovll	%eax, %edx
19466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4c,0xd0]
19566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovngel	%eax,%edx
19666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
19766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovgel	%eax, %edx
19866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4d,0xd0]
19966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnll	%eax,%edx
20066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
20166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovgl	%eax, %edx
20266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4f,0xd0]
20366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnlel	%eax,%edx
20466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
20566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovnol	%eax, %edx
20666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x41,0xd0]
20766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnol	%eax,%edx
20866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
20966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovnpl	%eax, %edx
21066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4b,0xd0]
21166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnpl	%eax,%edx
21266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
21366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovnsl	%eax, %edx
21466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x49,0xd0]
21566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnsl	%eax,%edx
21666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
21766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovnel	%eax, %edx
21866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x45,0xd0]
21966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovnzl	%eax,%edx
22066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
22166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovol	%eax, %edx
22266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x40,0xd0]
22366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovol	%eax,%edx
22466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
22566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovpl	%eax, %edx
22666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x4a,0xd0]
22766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovpl	%eax,%edx
22866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
22966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovsl	%eax, %edx
23066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x48,0xd0]
23166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovsl	%eax,%edx
23266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
23366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmovel	%eax, %edx
23466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x44,0xd0]
23566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	cmovzl	%eax,%edx
23666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
23766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmpps	$0, %xmm0, %xmm1
23866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0xc2,0xc8,0x00]
23966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpps $0, %xmm0, %xmm1
24066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	cmpps	$0, (%eax), %xmm1
24166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0xc2,0x08,0x00]
24266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpps $0, 0(%eax), %xmm1
24366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	cmppd	$0, %xmm0, %xmm1
24466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x0f,0xc2,0xc8,0x00]
24566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmppd $0, %xmm0, %xmm1
24666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	cmppd	$0, (%eax), %xmm1
24766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x0f,0xc2,0x08,0x00]
24866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmppd $0, 0(%eax), %xmm1
24966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	cmpss	$0, %xmm0, %xmm1
25066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xf3,0x0f,0xc2,0xc8,0x00]
25166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpss $0, %xmm0, %xmm1
25266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	cmpss	$0, (%eax), %xmm1
25366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xf3,0x0f,0xc2,0x08,0x00]
25466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpss $0, 0(%eax), %xmm1
25566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	cmpsd	$0, %xmm0, %xmm1
25666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xf2,0x0f,0xc2,0xc8,0x00]
25766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpsd $0, %xmm0, %xmm1
25866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	cmpsd	$0, (%eax), %xmm1
25966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xf2,0x0f,0xc2,0x08,0x00]
26066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpsd $0, 0(%eax), %xmm1
26166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
26266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// Check matching of instructions which embed the SSE comparison code.
26366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
26466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmpps $0, %xmm0, %xmm1
26566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0xc2,0xc8,0x00]
26666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpeqps %xmm0, %xmm1
26766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
26866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmppd $1, %xmm0, %xmm1
26966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x0f,0xc2,0xc8,0x01]
27066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpltpd %xmm0, %xmm1
27166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
27266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmpss $2, %xmm0, %xmm1
27366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xf3,0x0f,0xc2,0xc8,0x02]
27466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpless %xmm0, %xmm1
27566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
27666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmppd $3, %xmm0, %xmm1
27766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x0f,0xc2,0xc8,0x03]
27866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpunordpd %xmm0, %xmm1
27966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
28066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmpps $4, %xmm0, %xmm1
28166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0xc2,0xc8,0x04]
28266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpneqps %xmm0, %xmm1
28366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
28466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmppd $5, %xmm0, %xmm1
28566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x0f,0xc2,0xc8,0x05]
28666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpnltpd %xmm0, %xmm1
28766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
28866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmpss $6, %xmm0, %xmm1
28966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xf3,0x0f,0xc2,0xc8,0x06]
29066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpnless %xmm0, %xmm1
29166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
29266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: cmpsd $7, %xmm0, %xmm1
29366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xf2,0x0f,0xc2,0xc8,0x07]
29466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        cmpordsd %xmm0, %xmm1
29566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
29666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://7995856
29766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fmul	%st(0)
29866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd8,0xc8]
29966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        fmul %st(0), %st
30066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
30166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fadd	%st(0)
30266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd8,0xc0]
30366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        fadd %st(0), %st
30466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
30566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fsub	%st(0)
30666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd8,0xe0]
30766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        fsub %st(0), %st
30866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
30966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fsubr	%st(0)
31066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd8,0xe8]
31166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        fsubr %st(0), %st
31266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
31366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fdivr	%st(0)
31466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd8,0xf8]
31566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        fdivr %st(0), %st
31666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
31766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fdiv	%st(0)
31866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd8,0xf0]
31966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        fdiv %st(0), %st
32066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
32166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// radr://8017519
32266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%cs, %eax
32366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x8c,0xc8]
32466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %cs, %eax
32566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
32666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movw	%cs, %ax
32766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x66,0x8c,0xc8]
32866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movw %cs, %ax
32966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
33066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%cs, (%eax)
33166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x8c,0x08]
33266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %cs, (%eax)
33366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
33466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movw	%cs, (%eax)
33566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x66,0x8c,0x08]
33666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movw %cs, (%eax)
33766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
33866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%eax, %cs
33966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x8e,0xc8]
34066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %eax, %cs
34166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
34266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	(%eax), %cs
34366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x8e,0x08]
34466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl (%eax), %cs
34566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
34666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movw	(%eax), %cs
34766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x66,0x8e,0x08]
34866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movw (%eax), %cs
34966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
35066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// radr://8033374
35166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%cr0, %eax
35266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x20,0xc0]
35366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %cr0,%eax
35466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
35566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%cr1, %eax
35666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x20,0xc8]
35766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %cr1,%eax
35866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
35966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%cr2, %eax
36066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x20,0xd0]
36166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %cr2,%eax
36266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
36366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%cr3, %eax
36466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x20,0xd8]
36566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %cr3,%eax
36666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
36766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%cr4, %eax
36866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x20,0xe0]
36966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %cr4,%eax
37066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
37166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%dr0, %eax
37266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x21,0xc0]
37366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %dr0,%eax
37466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
37566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%dr1, %eax
37666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x21,0xc8]
37766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %dr1,%eax
37866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
37966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%dr1, %eax
38066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x21,0xc8]
38166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %dr1,%eax
38266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
38366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%dr2, %eax
38466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x21,0xd0]
38566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %dr2,%eax
38666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
38766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%dr3, %eax
38866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x21,0xd8]
38966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %dr3,%eax
39066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
39166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%dr4, %eax
39266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x21,0xe0]
39366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %dr4,%eax
39466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
39566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%dr5, %eax
39666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x21,0xe8]
39766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %dr5,%eax
39866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
39966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%dr6, %eax
40066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x21,0xf0]
40166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %dr6,%eax
40266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
40366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movl	%dr7, %eax
40466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x21,0xf8]
40566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl %dr7,%eax
40666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
40766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// radr://8017522
40866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: wait
40966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x9b]
41066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	fwait
41166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
41266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://7873482
41366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: [0x65,0x8b,0x05,0x7c,0x00,0x00,0x00]
41466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// FIXME: This is a correct bug poor encoding: Use 65 a1 7c 00 00 00
41566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        movl	%gs:124, %eax
41666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
41766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pusha
41866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x60]
41966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	pusha
42066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
42166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: popa
42266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x61]
42366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	popa
42466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
42566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushal
42666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x60]
42766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	pushal
42866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
42966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: popal
43066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x61]
43166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	popal
43266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
43366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: jmpl *8(%eax)
43466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:   encoding: [0xff,0x60,0x08]
43566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	jmp	*8(%eax)
43666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
43766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// PR7465
43866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lcalll $2, $4660
43966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:   encoding: [0x9a,0x34,0x12,0x00,0x00,0x02,0x00]
44066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanlcalll $0x2, $0x1234
44166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
44266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
44366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://8061602
44466b8ab22586debccb1f787d4d52b7f042d4ddeb8John BaumanL1:
44566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman  jcxz L1
44666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: jcxz L1
44766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:   encoding: [0x67,0xe3,A]
44866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman  jecxz L1
44966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: jecxz L1
45066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:   encoding: [0xe3,A]
45166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
45266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://8403974
45366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumaniret
45466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: iretl
45566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xcf]
45666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumaniretw
45766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: iretw
45866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0xcf]
45966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumaniretl
46066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: iretl
46166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xcf]
46266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
46366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://8403907
46466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumansysret
46566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: sysretl
46666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x07]
46766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumansysretl
46866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: sysretl
46966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x07]
47066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
47166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://8018260
47266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumantestl	%ecx, -24(%ebp)
47366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: testl	-24(%ebp), %ecx
47466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumantestl	-24(%ebp), %ecx
47566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: testl	-24(%ebp), %ecx
47666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
47766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
47866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://8407242
47966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpush %cs
48066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushl	%cs
48166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0e]
48266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpush %ds
48366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushl	%ds
48466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x1e]
48566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpush %ss
48666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushl	%ss
48766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x16]
48866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpush %es
48966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushl	%es
49066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x06]
49166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpush %fs
49266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushl	%fs
49366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0xa0]
49466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpush %gs
49566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushl	%gs
49666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0xa8]
49766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
49866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpushw %cs
49966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushw	%cs
50066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x0e]
50166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpushw %ds
50266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushw	%ds
50366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x1e]
50466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpushw %ss
50566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushw	%ss
50666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x16]
50766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpushw %es
50866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushw	%es
50966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x06]
51066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpushw %fs
51166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushw	%fs
51266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x0f,0xa0]
51366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpushw %gs
51466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushw	%gs
51566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x0f,0xa8]
51666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
51766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpop %ss
51866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: popl	%ss
51966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x17]
52066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpop %ds
52166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: popl	%ds
52266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x1f]
52366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpop %es
52466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: popl	%es
52566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x07]
52666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
52766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://8408129
52866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpushfd
52966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushfl
53066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpopfd
53166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: popfl
53266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpushfl
53366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pushfl
53466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpopfl
53566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: popfl
53666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
53766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
53866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://8416805
53966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setc	%bl
54066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setnae	%bl
54166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setnb	%bl
54266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setnc	%bl
54366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setna	%bl
54466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setnbe	%bl
54566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setpe	%bl
54666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setpo	%bl
54766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setnge	%bl
54866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setnl	%bl
54966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setng	%bl
55066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setnle	%bl
55166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
55266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// PR8686
55366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        setneb  %cl // CHECK: setne %cl
55466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setcb	%bl // CHECK: setb %bl
55566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	setnaeb	%bl // CHECK: setb %bl
55666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
55766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
55866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lcalll	$31438, $31438
55966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lcalll	$31438, $31438
56066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: ljmpl	$31438, $31438
56166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: ljmpl	$31438, $31438
56266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
56366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumancalll	$0x7ace,$0x7ace
56466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanlcalll	$0x7ace,$0x7ace
56566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanjmpl	$0x7ace,$0x7ace
56666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanljmpl	$0x7ace,$0x7ace
56766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
56866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lcalll	$31438, $31438
56966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lcalll	$31438, $31438
57066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: ljmpl	$31438, $31438
57166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: ljmpl	$31438, $31438
57266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
57366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumancall	$0x7ace,$0x7ace
57466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanlcall	$0x7ace,$0x7ace
57566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanjmp	$0x7ace,$0x7ace
57666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanljmp	$0x7ace,$0x7ace
57766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
57866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://8456370
57966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: calll a
58066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman calll a
58166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
58266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	incb	%al # encoding: [0xfe,0xc0]
58366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	incb %al
58466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
58566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	incw	%ax # encoding: [0x66,0x40]
58666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	incw %ax
58766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
58866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	incl	%eax # encoding: [0x40]
58966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	incl %eax
59066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
59166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	decb	%al # encoding: [0xfe,0xc8]
59266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	decb %al
59366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
59466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	decw	%ax # encoding: [0x66,0x48]
59566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	decw %ax
59666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
59766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:	decl	%eax # encoding: [0x48]
59866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	decl %eax
59966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
60066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pshufw $14, %mm4, %mm0 # encoding: [0x0f,0x70,0xc4,0x0e]
60166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpshufw $14, %mm4, %mm0
60266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
60366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: pshufw $90, %mm4, %mm0 # encoding: [0x0f,0x70,0xc4,0x5a]
60466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// PR8288
60566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanpshufw $90, %mm4, %mm0
60666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
60766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// rdar://8416805
60866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: aaa
60966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x37]
61066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	aaa
61166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
61266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: aad	$1
61366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd5,0x01]
61466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	aad	$1
61566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
61666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: aad
61766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd5,0x0a]
61866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	aad	$0xA
61966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
62066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: aad
62166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd5,0x0a]
62266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	aad
62366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
62466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: aam	$2
62566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd4,0x02]
62666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	aam	$2
62766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
62866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: aam
62966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd4,0x0a]
63066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	aam	$0xA
63166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
63266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: aam
63366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd4,0x0a]
63466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	aam
63566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
63666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: aas
63766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x3f]
63866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	aas
63966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
64066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: daa
64166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x27]
64266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	daa
64366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
64466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: das
64566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x2f]
64666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	das
64766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
64866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: retw	$31438
64966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x66,0xc2,0xce,0x7a]
65066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	retw	$0x7ace
65166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
65266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lretw	$31438
65366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x66,0xca,0xce,0x7a]
65466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	lretw	$0x7ace
65566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
65666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: bound	2(%eax), %bx
65766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x66,0x62,0x58,0x02]
65866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	bound	2(%eax),%bx
65966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
66066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: bound	4(%ebx), %ecx
66166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x62,0x4b,0x04]
66266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	bound	4(%ebx),%ecx
66366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
66466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: arpl	%bx, %bx
66566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x63,0xdb]
66666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	arpl	%bx,%bx
66766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
66866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: arpl	%bx, 6(%ecx)
66966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x63,0x59,0x06]
67066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	arpl	%bx,6(%ecx)
67166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
67266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lgdtw	4(%eax)
67366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x66,0x0f,0x01,0x50,0x04]
67466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	lgdtw	4(%eax)
67566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
67666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lgdt	4(%eax)
67766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x01,0x50,0x04]
67866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	lgdt	4(%eax)
67966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
68066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lgdt	4(%eax)
68166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x01,0x50,0x04]
68266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	lgdtl	4(%eax)
68366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
68466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lidtw	4(%eax)
68566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x66,0x0f,0x01,0x58,0x04]
68666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	lidtw	4(%eax)
68766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
68866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lidt	4(%eax)
68966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x01,0x58,0x04]
69066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	lidt	4(%eax)
69166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
69266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lidt	4(%eax)
69366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x01,0x58,0x04]
69466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	lidtl	4(%eax)
69566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
69666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: sgdtw	4(%eax)
69766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x66,0x0f,0x01,0x40,0x04]
69866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	sgdtw	4(%eax)
69966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
70066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: sgdt	4(%eax)
70166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x01,0x40,0x04]
70266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	sgdt	4(%eax)
70366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
70466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: sgdt	4(%eax)
70566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x01,0x40,0x04]
70666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	sgdtl	4(%eax)
70766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
70866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: sidtw	4(%eax)
70966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x66,0x0f,0x01,0x48,0x04]
71066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	sidtw	4(%eax)
71166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
71266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: sidt	4(%eax)
71366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x01,0x48,0x04]
71466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	sidt	4(%eax)
71566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
71666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: sidt	4(%eax)
71766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x01,0x48,0x04]
71866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	sidtl	4(%eax)
71966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
72066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fcompi	%st(2)
72166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xdf,0xf2]
72266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fcompi	%st(2), %st
72366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
72466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fcompi	%st(2)
72566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xdf,0xf2]
72666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fcompi	%st(2)
72766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
72866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fcompi
72966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xdf,0xf1]
73066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fcompi
73166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
73266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fucompi	%st(2)
73366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xdf,0xea]
73466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fucompi	%st(2),%st
73566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
73666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fucompi	%st(2)
73766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xdf,0xea]
73866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fucompi	%st(2)
73966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
74066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fucompi
74166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xdf,0xe9]
74266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fucompi
74366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
74466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fldcw	32493
74566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd9,0x2d,0xed,0x7e,0x00,0x00]
74666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fldcww	0x7eed
74766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
74866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fldcw	32493
74966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd9,0x2d,0xed,0x7e,0x00,0x00]
75066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fldcw	0x7eed
75166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
75266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fnstcw	32493
75366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd9,0x3d,0xed,0x7e,0x00,0x00]
75466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fnstcww	0x7eed
75566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
75666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fnstcw	32493
75766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xd9,0x3d,0xed,0x7e,0x00,0x00]
75866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fnstcw	0x7eed
75966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
76066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: wait
76166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x9b]
76266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fstcww	0x7eed
76366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
76466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: wait
76566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x9b]
76666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fstcw	0x7eed
76766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
76866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fnstsw	32493
76966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xdd,0x3d,0xed,0x7e,0x00,0x00]
77066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fnstsww	0x7eed
77166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
77266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fnstsw	32493
77366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xdd,0x3d,0xed,0x7e,0x00,0x00]
77466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fnstsw	0x7eed
77566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
77666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: wait
77766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x9b]
77866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fstsww	0x7eed
77966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
78066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: wait
78166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x9b]
78266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fstsw	0x7eed
78366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
78466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: verr	32493
78566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x00,0x25,0xed,0x7e,0x00,0x00]
78666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	verrw	0x7eed
78766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
78866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: verr	32493
78966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x00,0x25,0xed,0x7e,0x00,0x00]
79066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	verr	0x7eed
79166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
79266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: wait
79366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x9b]
79466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fclex
79566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
79666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fnclex
79766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0xdb,0xe2]
79866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	fnclex
79966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
80066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: ud2
80166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x0b]
80266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	ud2
80366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
80466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: ud2
80566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0x0b]
80666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	ud2a
80766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
80866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: ud2b
80966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK:  encoding: [0x0f,0xb9]
81066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman        	ud2b
81166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
81266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: loope 0
81366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xe1,A]
81466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	loopz 0
81566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
81666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: loopne 0
81766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xe0,A]
81866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	loopnz 0
81966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
82066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: outsb # encoding: [0x6e]
82166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: outsb
82266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: outsb
82366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	outsb
82466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	outsb	%ds:(%esi), %dx
82566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	outsb	(%esi), %dx
82666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
82766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: outsw # encoding: [0x66,0x6f]
82866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: outsw
82966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: outsw
83066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	outsw
83166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	outsw	%ds:(%esi), %dx
83266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	outsw	(%esi), %dx
83366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
83466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: outsl # encoding: [0x6f]
83566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: outsl
83666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	outsl
83766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	outsl	%ds:(%esi), %dx
83866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	outsl	(%esi), %dx
83966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
84066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: insb # encoding: [0x6c]
84166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: insb
84266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	insb
84366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	insb	%dx, %es:(%edi)
84466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
84566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: insw # encoding: [0x66,0x6d]
84666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: insw
84766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	insw
84866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	insw	%dx, %es:(%edi)
84966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
85066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: insl # encoding: [0x6d]
85166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: insl
85266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	insl
85366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	insl	%dx, %es:(%edi)
85466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
85566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movsb # encoding: [0xa4]
85666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movsb
85766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movsb
85866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movsb
85966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movsb	%ds:(%esi), %es:(%edi)
86066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movsb	(%esi), %es:(%edi)
86166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
86266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movsw # encoding: [0x66,0xa5]
86366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movsw
86466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movsw
86566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movsw
86666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movsw	%ds:(%esi), %es:(%edi)
86766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movsw	(%esi), %es:(%edi)
86866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
86966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movsd # encoding: [0xa5]
87066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movsd
87166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: movsd
87266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movsl
87366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movsl	%ds:(%esi), %es:(%edi)
87466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	movsl	(%esi), %es:(%edi)
87566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
87666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsb # encoding: [0xac]
87766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsb
87866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsb
87966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsb
88066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsb
88166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lodsb
88266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lodsb	%ds:(%esi), %al
88366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lodsb	(%esi), %al
88466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lods	%ds:(%esi), %al
88566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lods	(%esi), %al
88666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
88766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsw # encoding: [0x66,0xad]
88866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsw
88966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsw
89066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsw
89166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsw
89266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lodsw
89366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lodsw	%ds:(%esi), %ax
89466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lodsw	(%esi), %ax
89566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lods	%ds:(%esi), %ax
89666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lods	(%esi), %ax
89766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
89866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsl # encoding: [0xad]
89966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsl
90066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsl
90166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsl
90266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: lodsl
90366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lodsl
90466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lodsl	%ds:(%esi), %eax
90566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lodsl	(%esi), %eax
90666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lods	%ds:(%esi), %eax
90766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	lods	(%esi), %eax
90866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
90966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: stosb # encoding: [0xaa]
91066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: stosb
91166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: stosb
91266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	stosb
91366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	stosb	%al, %es:(%edi)
91466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	stos	%al, %es:(%edi)
91566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
91666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: stosw # encoding: [0x66,0xab]
91766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: stosw
91866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: stosw
91966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	stosw
92066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	stosw	%ax, %es:(%edi)
92166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	stos	%ax, %es:(%edi)
92266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
92366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: stosl # encoding: [0xab]
92466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: stosl
92566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: stosl
92666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	stosl
92766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	stosl	%eax, %es:(%edi)
92866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	stos	%eax, %es:(%edi)
92966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
93066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: strw
93166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x0f,0x00,0xc8]
93266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	str %ax
93366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
93466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: strl
93566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x0f,0x00,0xc8]
93666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman	str %eax
93766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
93866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
93966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// PR9378
94066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fsubp
94166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xde,0xe1]
94266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanfsubp %st,%st(1)
94366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
94466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// PR9164
94566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: fsubp	%st(2)
94666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0xde,0xe2]
94766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanfsubp   %st, %st(2)
94866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
94966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// PR10345
95066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: xchgl %eax, %eax
95166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x90]
95266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanxchgl %eax, %eax
95366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
95466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: xchgw %ax, %ax
95566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x66,0x90]
95666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanxchgw %ax, %ax
95766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
95866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: xchgl %ecx, %eax
95966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x91]
96066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanxchgl %ecx, %eax
96166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
96266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: xchgl %ecx, %eax
96366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman// CHECK: encoding: [0x91]
96466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanxchgl %eax, %ecx
965