; RUN: llvm-mc -triple arm64-apple-darwin -show-encoding < %s | FileCheck %s
foo:
;==---------------------------------------------------------------------------==
; 5.4.4 Bitfield Operations
;==---------------------------------------------------------------------------==
bfm w1, w2, bfm x1, x2, sbfm w1, w2, sbfm x1, x2, ubfm w1, w2, ubfm x1, x2, sbfiz wzr, w0, sbfiz xzr, x0, ubfiz wzr, w0, ubfiz xzr, x0,
; CHECK: bfxil w1, w2, ; CHECK: bfxil x1, x2, ; CHECK: sbfx w1, w2, ; CHECK: sbfx x1, x2, ; CHECK: ubfx w1, w2, ; CHECK: ubfx x1, x2, ; CHECK: sbfiz wzr, w0, ; CHECK: sbfiz xzr, x0, ; CHECK: lsl wzr, w0, ; CHECK: ubfiz xzr, x0,
;==---------------------------------------------------------------------------==
; 5.4.5 Extract (immediate)
;==---------------------------------------------------------------------------==
extr w1, w2, w3, extr x2, x3, x4,
; CHECK: extr w1, w2, w3, ; CHECK: extr x2, x3, x4,