114 lines · plain
1@ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \2@ RUN: | FileCheck %s -check-prefix CHECK-V73@ RUN: not llvm-mc -triple armv8-eabi -filetype asm -o /dev/null 2>&1 %s \4@ RUN: | FileCheck %s -check-prefix CHECK-V85@ RUN: not llvm-mc -triple thumbv7-eabi -filetype asm -o /dev/null 2>&1 %s \6@ RUN: | FileCheck %s -check-prefix CHECK-V77@ RUN: not llvm-mc -triple thumbv8-eabi -filetype asm -o /dev/null 2>&1 %s \8@ RUN: | FileCheck %s -check-prefix CHECK-V89 10 .syntax unified11 12 .arch_extension crypto13@ CHECK-V7: architectural extension 'crypto' is not allowed for the current base architecture14@ CHECK-V7-NEXT: .arch_extension crypto15@ CHECK-V7-NEXT: ^16 17 .type crypto,%function18crypto:19 vmull.p64 q0, d0, d120@ CHECK-V7: error: invalid instruction, any one of the following would fix this:21@ CHECK-V7: note: invalid operand for instruction22@ CHECK-V7: note: instruction requires: aes armv823 aesd.8 q0, q124@ CHECK-V7: error: instruction requires: aes armv825 aese.8 q0, q126@ CHECK-V7: error: instruction requires: aes armv827 aesimc.8 q0, q128@ CHECK-V7: error: instruction requires: aes armv829 aesmc.8 q0, q130@ CHECK-V7: error: instruction requires: aes armv831 32 sha1h.32 q0, q133@ CHECK-V7: error: instruction requires: sha2 armv834 sha1su1.32 q0, q135@ CHECK-V7: error: instruction requires: sha2 armv836 sha256su0.32 q0, q137@ CHECK-V7: error: instruction requires: sha2 armv838 39 sha1c.32 q0, q1, q240@ CHECK-V7: error: instruction requires: sha2 armv841 sha1m.32 q0, q1, q242@ CHECK-V7: error: instruction requires: sha2 armv843 sha1p.32 q0, q1, q244@ CHECK-V7: error: instruction requires: sha2 armv845 sha1su0.32 q0, q1, q246@ CHECK-V7: error: instruction requires: sha2 armv847 sha256h.32 q0, q1, q248@ CHECK-V7: error: instruction requires: sha2 armv849 sha256h2.32 q0, q1, q250@ CHECK-V7: error: instruction requires: sha2 armv851 sha256su1.32 q0, q1, q252@ CHECK-V7: error: instruction requires: sha2 armv853 54 .arch_extension nocrypto55@ CHECK-V7: error: architectural extension 'sha2' is not allowed for the current base architecture56@ CHECK-V7: error: architectural extension 'aes' is not allowed for the current base architecture57@ CHECK-V7: error: architectural extension 'crypto' is not allowed for the current base architecture58@ CHECK-V7-NEXT: .arch_extension nocrypto59@ CHECK-V7-NEXT: ^60 61 .type nocrypto,%function62nocrypto:63 vmull.p64 q0, d0, d164@ CHECK-V7: error: invalid instruction, any one of the following65@ CHECK-V7: note: invalid operand for instruction66@ CHECK-V7: note: instruction requires: aes armv867@ CHECK-V8: error: instruction requires: aes68 69 aesd.8 q0, q170@ CHECK-V7: error: instruction requires: aes armv871@ CHECK-V8: error: instruction requires: aes72 aese.8 q0, q173@ CHECK-V7: error: instruction requires: aes armv874@ CHECK-V8: error: instruction requires: aes75 aesimc.8 q0, q176@ CHECK-V7: error: instruction requires: aes armv877@ CHECK-V8: error: instruction requires: aes78 aesmc.8 q0, q179@ CHECK-V7: error: instruction requires: aes armv880@ CHECK-V8: error: instruction requires: aes81 82 sha1h.32 q0, q183@ CHECK-V7: error: instruction requires: sha2 armv884@ CHECK-V8: error: instruction requires: sha285 sha1su1.32 q0, q186@ CHECK-V7: error: instruction requires: sha2 armv887@ CHECK-V8: error: instruction requires: sha288 sha256su0.32 q0, q189@ CHECK-V7: error: instruction requires: sha2 armv890@ CHECK-V8: error: instruction requires: sha291 92 sha1c.32 q0, q1, q293@ CHECK-V7: error: instruction requires: sha2 armv894@ CHECK-V8: error: instruction requires: sha295 sha1m.32 q0, q1, q296@ CHECK-V7: error: instruction requires: sha2 armv897@ CHECK-V8: error: instruction requires: sha298 sha1p.32 q0, q1, q299@ CHECK-V7: error: instruction requires: sha2 armv8100@ CHECK-V8: error: instruction requires: sha2101 sha1su0.32 q0, q1, q2102@ CHECK-V7: error: instruction requires: sha2 armv8103@ CHECK-V8: error: instruction requires: sha2104 sha256h.32 q0, q1, q2105@ CHECK-V7: error: instruction requires: sha2 armv8106@ CHECK-V8: error: instruction requires: sha2107 sha256h2.32 q0, q1, q2108@ CHECK-V7: error: instruction requires: sha2 armv8109@ CHECK-V8: error: instruction requires: sha2110 sha256su1.32 q0, q1, q2111@ CHECK-V7: error: instruction requires: sha2 armv8112@ CHECK-V8: error: instruction requires: sha2113 114