1 # RUN: llvm-mc -triple aarch64 -disassemble -mattr=+pauth-lr < %s | FileCheck %s
2 # RUN: not llvm-mc -triple aarch64 -disassemble < %s 2>&1 | FileCheck %s --check-prefix=NO-PAUTHLR
6 # NO-PAUTHLR: invalid instruction encoding
10 # NO-PAUTHLR: invalid instruction encoding
14 # NO-PAUTHLR: invalid instruction encoding
18 # NO-PAUTHLR: invalid instruction encoding
21 # CHECK: autiasppc #-16
22 # NO-PAUTHLR: invalid instruction encoding
25 # CHECK: autibsppc #-20
26 # NO-PAUTHLR: invalid instruction encoding
30 # NO-PAUTHLR: invalid instruction encoding
33 # CHECK: autibsppc #-262140
34 # NO-PAUTHLR: invalid instruction encoding
37 # CHECK: autiasppcr x0
38 # NO-PAUTHLR: invalid instruction encoding
41 # CHECK: autibsppcr x1
42 # NO-PAUTHLR: invalid instruction encoding
45 # CHECK: autiasppcr xzr
46 # NO-PAUTHLR: invalid instruction encoding
49 # CHECK: autibsppcr xzr
50 # NO-PAUTHLR: invalid instruction encoding
54 # NO-PAUTHLR: invalid instruction encoding
58 # NO-PAUTHLR: invalid instruction encoding
62 # NO-PAUTHLR: invalid instruction encoding
66 # NO-PAUTHLR: invalid instruction encoding
69 # CHECK: retaasppc #-52
70 # NO-PAUTHLR: invalid instruction encoding
73 # CHECK: retabsppc #-56
74 # NO-PAUTHLR: invalid instruction encoding
78 # NO-PAUTHLR: invalid instruction encoding
81 # CHECK: retaasppc #-262140
82 # NO-PAUTHLR: invalid instruction encoding
85 # CHECK: retaasppcr x2
86 # NO-PAUTHLR: invalid instruction encoding
89 # CHECK: retabsppcr x3
90 # NO-PAUTHLR: invalid instruction encoding
94 # NO-PAUTHLR: hint #39