brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 1034ed9 Raw
32 lines · plain
1@ RUN: llvm-mc -triple=thumbv6t2--none-eabi -show-encoding < %s | FileCheck %s2@ RUN: llvm-mc -triple=thumbv7a--none-eabi -show-encoding < %s | FileCheck %s3@ RUN: llvm-mc -triple=thumbv7r--none-eabi -show-encoding < %s | FileCheck %s4@ RUN: llvm-mc -triple=thumbv8a--none-eabi -show-encoding < %s | FileCheck %s5@ RUN: not llvm-mc -triple=thumbv7m--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=UNDEF6@ RUN: not llvm-mc -triple=thumbv6--none-eabi -show-encoding < %s 2>%t | FileCheck %s --check-prefix=V67@ RUN: FileCheck %s < %t --check-prefix=V6-ERRORS8 9  cpsie f10  cpsie i, #311  cps #012 13@ CHECK: cpsie f                         @ encoding: [0x61,0xb6]14@ CHECK: cpsie   i, #3                   @ encoding: [0xaf,0xf3,0x43,0x85]15@ CHECK: cps     #0                      @ encoding: [0xaf,0xf3,0x00,0x81]16 17@ UNDEF-DAG: cpsie f                         @ encoding: [0x61,0xb6]18@ UNDEF-DAG: instruction requires:19@ UNDEF-DAG: error: instruction 'cps' requires effect for M-class20 21@ V6: cpsie f                         @ encoding: [0x61,0xb6]22@ V6-ERRORS: error: invalid instruction, any one of the following would fix this:23@ V6-ERRORS-NEXT: cpsie i, #324@ V6-ERRORS: note: instruction requires: thumb225@ V6-ERRORS: note: instruction requires: arm-mode26@ V6-ERRORS: note: too many operands for instruction27@ V6-ERRORS: error: invalid instruction, any one of the following would fix this:28@ V6-ERRORS: cps #029@ V6-ERRORS: note: instruction requires: arm-mode30@ V6-ERRORS: note: instruction requires: thumb231@ V6-ERRORS: note: too few operands for instruction32