1# RUN: llvm-mc -triple arm64-apple-darwin --disassemble < %s | FileCheck %s 2 3#==---------------------------------------------------------------------------== 4# 5.4.4 Bitfield Operations 5#==---------------------------------------------------------------------------== 6 70x41 0x3c 0x01 0x33 80x41 0x3c 0x41 0xb3 90x41 0x3c 0x01 0x13 100x41 0x3c 0x41 0x93 110x41 0x3c 0x01 0x53 120x41 0x3c 0x41 0xd3 13 14# CHECK: bfxil w1, w2, #1, #15 15# CHECK: bfxil x1, x2, #1, #15 16# CHECK: sbfx w1, w2, #1, #15 17# CHECK: sbfx x1, x2, #1, #15 18# CHECK: ubfx w1, w2, #1, #15 19# CHECK: ubfx x1, x2, #1, #15 20 21#==---------------------------------------------------------------------------== 22# 5.4.5 Extract (immediate) 23#==---------------------------------------------------------------------------== 24 250x41 0x3c 0x83 0x13 260x62 0x04 0xc4 0x93 27 28# CHECK: extr w1, w2, w3, #15 29# CHECK: extr x2, x3, x4, #1 30