; RUN: llvm-mc -triple=m68k -show-encoding %s | FileCheck %s
; CHECK: cmpi.b #0, %d1
; CHECK-SAME: encoding:
cmpi.b #0, %d1
; CHECK: cmpi.b #-1, %d0
; CHECK-SAME: encoding:
cmpi.b #-1, %d0
; CHECK: cmpi.w #0, %d3
; CHECK-SAME: encoding:
cmpi.w #0, %d3
; CHECK: cmpi.w #37, %d2
; CHECK-SAME: encoding:
cmpi.w #37, %d2
; CHECK: cmpi.l #13, %d7
; CHECK-SAME: encoding:
cmpi.l #13, %d7
; CHECK: cmpi.l #42, %d1
; CHECK-SAME: encoding:
cmpi.l #42, %d1