[X86] Add assembler and disassembler test cases for clflushopt, clwb, pcommit, xsaves...
[oota-llvm.git] / test / MC / Disassembler / AArch64 / arm64-bitfield.txt
1 # RUN: llvm-mc -triple arm64-apple-darwin --disassemble < %s | FileCheck %s
2
3 #==---------------------------------------------------------------------------==
4 # 5.4.4 Bitfield Operations
5 #==---------------------------------------------------------------------------==
6
7 0x41 0x3c 0x01 0x33
8 0x41 0x3c 0x41 0xb3
9 0x41 0x3c 0x01 0x13
10 0x41 0x3c 0x41 0x93
11 0x41 0x3c 0x01 0x53
12 0x41 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
25 0x41 0x3c 0x83 0x13
26 0x62 0x04 0xc4 0x93
27
28 # CHECK: extr w1, w2, w3, #15
29 # CHECK: extr x2, x3, x4, #1