; RUN: llvm-mc -triple=m68k -show-encoding %s | FileCheck %s
; CHECK: cmpi.b ; CHECK-SAME: encoding: [0x0c,0x3b,0x00,0x00,0x18,0xff]
cmpi.b ; CHECK: cmpi.b ; CHECK-SAME: encoding: [0x0c,0x3b,0x00,0xff,0x08,0x00]
cmpi.b ; CHECK: cmpi.w ; CHECK-SAME: encoding: [0x0c,0x7b,0x00,0x00,0x38,0xff]
cmpi.w ; CHECK: cmpi.w ; CHECK-SAME: encoding: [0x0c,0x7b,0x00,0x25,0x28,0xfe]
cmpi.w ; CHECK: cmpi.l ; CHECK-SAME: encoding: [0x0c,0xbb,0xff,0xff,0xff,0xff,0x78,0x00]
cmpi.l ; CHECK: cmpi.l ; CHECK-SAME: encoding: [0x0c,0xbb,0x00,0x00,0x00,0x2a,0x18,0xff]
cmpi.l
; CHECK: cmpi.b ; CHECK-SAME: encoding: [0x0c,0x3a,0x00,0x00,0x00,0x00]
cmpi.b ; CHECK: cmpi.b ; CHECK-SAME: encoding: [0x0c,0x3a,0x00,0xff,0xff,0xff]
cmpi.b ; CHECK: cmpi.w ; CHECK-SAME: encoding: [0x0c,0x7a,0x00,0x00,0xff,0xff]
cmpi.w ; CHECK: cmpi.w ; CHECK-SAME: encoding: [0x0c,0x7a,0x00,0x25,0xff,0xfe]
cmpi.w ; CHECK: cmpi.l ; CHECK-SAME: encoding: [0x0c,0xba,0xff,0xff,0xff,0xff,0x00,0x00]
cmpi.l ; CHECK: cmpi.l ; CHECK-SAME: encoding: [0x0c,0xba,0x00,0x00,0x00,0x2a,0x00,0x00]
cmpi.l
; CHECK: cmpi.b ; CHECK-SAME: encoding: [0x0c,0x31,0x00,0x00,0x88,0xff]
cmpi.b ; CHECK: cmpi.b ; CHECK-SAME: encoding: [0x0c,0x30,0x00,0xff,0x88,0x00]
cmpi.b ; CHECK: cmpi.w ; CHECK-SAME: encoding: [0x0c,0x71,0x00,0x00,0x88,0xff]
cmpi.w ; CHECK: cmpi.w ; CHECK-SAME: encoding: [0x0c,0x70,0x00,0x25,0x88,0xfe]
cmpi.w ; CHECK: cmpi.l ; CHECK-SAME: encoding: [0x0c,0xb6,0xff,0xff,0xff,0xff,0x88,0x00]
cmpi.l ; CHECK: cmpi.l ; CHECK-SAME: encoding: [0x0c,0xb1,0x00,0x00,0x00,0x2a,0x88,0xff]
cmpi.l
; CHECK: cmpi.b ; CHECK-SAME: encoding: [0x0c,0x29,0x00,0x00,0xff,0xff]
cmpi.b ; CHECK: cmpi.b ; CHECK-SAME: encoding: [0x0c,0x28,0x00,0xff,0x00,0x00]
cmpi.b ; CHECK: cmpi.w ; CHECK-SAME: encoding: [0x0c,0x69,0x00,0x00,0xff,0xff]
cmpi.w ; CHECK: cmpi.w ; CHECK-SAME: encoding: [0x0c,0x68,0x00,0x25,0xff,0xfe]
cmpi.w ; CHECK: cmpi.l ; CHECK-SAME: encoding: [0x0c,0xae,0xff,0xff,0xff,0xff,0x00,0x00]
cmpi.l ; CHECK: cmpi.l ; CHECK-SAME: encoding: [0x0c,0xa9,0x00,0x00,0x00,0x2a,0xff,0xff]
cmpi.l
; CHECK: cmpi.b ; CHECK-SAME: encoding: [0x0c,0x11,0x00,0x00]
cmpi.b ; CHECK: cmpi.b ; CHECK-SAME: encoding: [0x0c,0x10,0x00,0xff]
cmpi.b ; CHECK: cmpi.w ; CHECK-SAME: encoding: [0x0c,0x51,0x00,0x00]
cmpi.w ; CHECK: cmpi.w ; CHECK-SAME: encoding: [0x0c,0x50,0x00,0x25]
cmpi.w ; CHECK: cmpi.l ; CHECK-SAME: encoding: [0x0c,0x96,0xff,0xff,0xff,0xff]
cmpi.l ; CHECK: cmpi.l ; CHECK-SAME: encoding: [0x0c,0x91,0x00,0x00,0x00,0x2a]
cmpi.l