1# RUN: llvm-mc -triple arm64-apple-darwin --disassemble < %s | FileCheck %s 2 3 4#----------------------------------------------------------------------------- 5# Hint encodings 6#----------------------------------------------------------------------------- 7 8 0x1f 0x20 0x03 0xd5 9# CHECK: nop 10 0x9f 0x20 0x03 0xd5 11# CHECK: sev 12 0xbf 0x20 0x03 0xd5 13# CHECK: sevl 14 0x5f 0x20 0x03 0xd5 15# CHECK: wfe 16 0x7f 0x20 0x03 0xd5 17# CHECK: wfi 18 0x3f 0x20 0x03 0xd5 19# CHECK: yield 20 21#----------------------------------------------------------------------------- 22# Single-immediate operand instructions 23#----------------------------------------------------------------------------- 24 25 0x5f 0x3a 0x03 0xd5 26# CHECK: clrex #10 27 0xdf 0x3f 0x03 0xd5 28# CHECK: isb{{$}} 29 0xdf 0x31 0x03 0xd5 30# CHECK: isb #1 31 0xbf 0x33 0x03 0xd5 32# CHECK: dmb osh 33 0x9f 0x37 0x03 0xd5 34# CHECK: dsb nsh 35 0x3f 0x76 0x08 0xd5 36# CHECK: dc ivac 37 38#----------------------------------------------------------------------------- 39# Generic system instructions 40#----------------------------------------------------------------------------- 41 0xff 0x05 0x0a 0xd5 42 0xe7 0x6a 0x0f 0xd5 43 0xf4 0x3f 0x2e 0xd5 44 0xbf 0x40 0x00 0xd5 45 0x00 0xb0 0x18 0xd5 46 0x00 0xb0 0x38 0xd5 47 48# CHECK: sys #2, c0, c5, #7 49# CHECK: sys #7, c6, c10, #7, x7 50# CHECK: sysl x20, #6, c3, c15, #7 51# CHECK: msr SPSel, #0 52# CHECK: msr S3_0_C11_C0_0, x0 53# CHECK: mrs x0, S3_0_C11_C0_0 54 55 0x40 0xc0 0x1e 0xd5 56 0x40 0xc0 0x1c 0xd5 57 0x40 0xc0 0x18 0xd5 58 59# CHECK: msr RMR_EL3, x0 60# CHECK: msr RMR_EL2, x0 61# CHECK: msr RMR_EL1, x0 62 63