94 lines
2.1 KiB
Text
94 lines
2.1 KiB
Text
# RUN: llvm-mc -triple aarch64 -disassemble -mattr=+pauth-lr < %s | FileCheck %s
|
|
# RUN: not llvm-mc -triple aarch64 -disassemble < %s 2>&1 | FileCheck %s --check-prefix=NO-PAUTHLR
|
|
|
|
[0xfe,0xa3,0xc1,0xda]
|
|
# CHECK: paciasppc
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xfe,0xa7,0xc1,0xda]
|
|
# CHECK: pacibsppc
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xfe,0x83,0xc1,0xda]
|
|
# CHECK: pacnbiasppc
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xfe,0x87,0xc1,0xda]
|
|
# CHECK: pacnbibsppc
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0x9f,0x00,0x80,0xf3]
|
|
# CHECK: autiasppc #-16
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xbf,0x00,0xa0,0xf3]
|
|
# CHECK: autibsppc #-20
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0x1f,0x00,0xa0,0xf3]
|
|
# CHECK: autibsppc #0
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xff,0xff,0xbf,0xf3]
|
|
# CHECK: autibsppc #-262140
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0x1e,0x90,0xc1,0xda]
|
|
# CHECK: autiasppc x0
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0x3e,0x94,0xc1,0xda]
|
|
# CHECK: autibsppc x1
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xfe,0x93,0xc1,0xda]
|
|
# CHECK: autiasppc xzr
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xfe,0x97,0xc1,0xda]
|
|
# CHECK: autibsppc xzr
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xfe,0x8b,0xc1,0xda]
|
|
# CHECK: pacia171615
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xfe,0x8f,0xc1,0xda]
|
|
# CHECK: pacib171615
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xfe,0xbb,0xc1,0xda]
|
|
# CHECK: autia171615
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xfe,0xbf,0xc1,0xda]
|
|
# CHECK: autib171615
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xbf,0x01,0x00,0x55]
|
|
# CHECK: retaasppc #-52
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xdf,0x01,0x20,0x55]
|
|
# CHECK: retabsppc #-56
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0x1f,0x00,0x00,0x55]
|
|
# CHECK: retaasppc #0
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xff,0xff,0x1f,0x55]
|
|
# CHECK: retaasppc #-262140
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xe2,0x0b,0x5f,0xd6]
|
|
# CHECK: retaasppc x2
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xe3,0x0f,0x5f,0xd6]
|
|
# CHECK: retabsppc x3
|
|
# NO-PAUTHLR: invalid instruction encoding
|
|
|
|
[0xff,0x24,0x03,0xd5]
|
|
# CHECK: pacm
|
|
# NO-PAUTHLR: hint #39
|