brintos

brintos / llvm-project-archived public Read only

0
0
Text · 958 B · 7fc29bc Raw
21 lines · plain
1// RUN: llvm-mc -triple arm -mattr=+v8.4a -show-encoding < %s | FileCheck %s  --check-prefix=CHECK-A322// RUN: llvm-mc -triple thumb -mattr=+v8.4a -show-encoding < %s | FileCheck %s  --check-prefix=CHECK-T323// RUN: not llvm-mc -triple arm -mattr=-v8.4a -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NO-V844 5// RUN: llvm-mc -filetype=obj -triple arm -mattr=+v8.4a < %s \6// RUN: | llvm-objdump --triple=arm --mattr=+v8.4a -r -d - \7// RUN: | FileCheck -check-prefixes=CHECK-OBJDUMP %s8// RUN: llvm-mc -filetype=obj -triple thumb -mattr=+v8.4a < %s \9// RUN: | llvm-objdump --triple=thumb --mattr=+v8.4a -r -d - \10// RUN: | FileCheck -check-prefixes=CHECK-OBJDUMP %s11 12tsb csync13 14//CHECK-A32: tsb csync                   @ encoding: [0x12,0xf0,0x20,0xe3]15//CHECK-T32: tsb csync                   @ encoding: [0xaf,0xf3,0x12,0x80]16//CHECK-OBJDUMP: tsb csync17 18//CHECK-NO-V84: error: invalid instruction19//CHECK-NO-V84: tsb csync20//CHECK-NO-V84: ^21