39 lines · plain
1@ RUN: not llvm-mc -triple armv6-eabi -filetype asm -o /dev/null 2>&1 %s \2@ RUN: | FileCheck %s -check-prefix CHECK-V63@ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \4@ RUN: | FileCheck %s -check-prefix CHECK-V75@ RUN: not llvm-mc -triple armv7m-eabi -filetype asm -o /dev/null 2>&1 %s \6@ RUN: | FileCheck %s -check-prefix CHECK-V7M7@ RUN: not llvm-mc -triple thumbv6-eabi -filetype asm -o /dev/null 2>&1 %s \8@ RUN: | FileCheck %s -check-prefix CHECK-V69@ RUN: not llvm-mc -triple thumbv7-eabi -filetype asm -o /dev/null 2>&1 %s \10@ RUN: | FileCheck %s -check-prefix CHECK-V711@ RUN: not llvm-mc -triple thumbv7m-eabi -filetype asm -o /dev/null 2>&1 %s \12@ RUN: | FileCheck %s -check-prefix CHECK-V7M13 14 .syntax unified15 16 .arch_extension mp17@ CHECK-V6: error: architectural extension 'mp' is not allowed for the current base architecture18@ CHECK-V6-NEXT: .arch_extension mp19@ CHECK-V6-NEXT: ^20 21 .type mp,%function22mp:23 pldw [r0]24@ CHECK-V6: error: instruction requires: mp-extensions armv725@ CHECK-V7M: error: instruction requires: mp-extensions26 27 .arch_extension nomp28@ CHECK-V6: error: architectural extension 'mp' is not allowed for the current base architecture29@ CHECK-V6-NEXT: .arch_extension nomp30@ CHECK-V6-NEXT: ^31 32 .type nomp,%function33nomp:34 pldw [r0]35@ CHECK-V6: error: instruction requires: mp-extensions armv736@ CHECK-V7: error: instruction requires: mp-extensions37@ CHECK-V7M: error: instruction requires: mp-extensions38 39