1 # UNSUPPORTED: system-windows
4 # This checks that lldb's disassembler colors AArch64 disassembly.
6 # RUN: llvm-mc -filetype=obj -triple aarch64-linux-gnueabihf %s -o %t --mattr=+all
7 # RUN: %lldb %t -o "settings set use-color true" -o "disassemble -n fn" -o exit 2>&1 | FileCheck %s
12 // These are in alphabetical order by extension name
13 aesd v0.16
b, v0.16
b // AEK_AES
14 bfadd z23.h
, p3
/m
, z23.h
, z13.h
// AEK_B16B16
15 bfdot v2.2s
, v3.4h
, v4.4h
// AEK_BF16
17 crc32b w0
, w0
, w0
// AEK_CRC
18 // AEK_CRYPTO enables
a combination of other features
19 smin x0
, x0
, #0 // AEK_CSSC
20 sysp
#0, c2, c0, #0, x0, x1 // AEK_D128
21 sdot v0.2s
, v1.8
b, v2.8
b // AEK_DOTPROD
22 fmmla z0.s
, z1.s
, z2.s
// AEK_F32MM
25 # CHECK-NEXT: [0x0] <+0>: aesd \e[0;36mv0\e[0m.16b, \e[0;36mv0\e[0m.16b
26 # CHECK-NEXT: [0x4] <+4>: bfadd \e[0;36mz23\e[0m.h, \e[0;36mp3\e[0m/m, \e[0;36mz23\e[0m.h, \e[0;36mz13\e[0m.h
27 # CHECK-NEXT: [0x8] <+8>: bfdot \e[0;36mv2\e[0m.2s, \e[0;36mv3\e[0m.4h, \e[0;36mv4\e[0m.4h
28 # CHECK-NEXT: [0xc] <+12>: brb iall
29 # CHECK-NEXT: [0x10] <+16>: crc32b \e[0;36mw0\e[0m, \e[0;36mw0\e[0m, \e[0;36mw0\e[0m
30 # CHECK-NEXT: [0x14] <+20>: smin \e[0;36mx0\e[0m, \e[0;36mx0\e[0m, \e[0;31m#0x0\e[0m
31 # CHECK-NEXT: [0x18] <+24>: sysp \e[0;31m#0x0\e[0m, c2, c0, \e[0;31m#0x0\e[0m, \e[0;36mx0\e[0m, \e[0;36mx1\e[0m
32 # CHECK-NEXT: [0x1c] <+28>: sdot \e[0;36mv0\e[0m.2s, \e[0;36mv1\e[0m.8b, \e[0;36mv2\e[0m.8b
33 # CHECK-NEXT: [0x20] <+32>: fmmla \e[0;36mz0\e[0m.s, \e[0;36mz1\e[0m.s, \e[0;36mz2\e[0m.s