35 lines · plain
1@ RUN: not llvm-mc -triple armv8-eabi -filetype asm < %s 2> %t | FileCheck %s2@ RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s3@ RUN: not llvm-mc -triple thumbv8-eabi -filetype asm < %s 2> %t | FileCheck %s4@ RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s5 6 .syntax unified7 8 .arch_extension aes9 .arch_extension sha210 11 .type crypto,%function12crypto:13 aesd.8 q0, q114 sha1c.32 q0, q1, q215 16@CHECK-LABEL: crypto:17@CHECK: aesd.8 q0, q118@CHECK: sha1c.32 q0, q1, q219 20 .arch_extension noaes21 .arch_extension nosha222 23 .type nocrypto,%function24nocrypto:25 aesd.8 q0, q126 sha1c.32 q0, q1, q227 28@CHECK-ERROR: error: instruction requires: aes29@CHECK-ERROR: aesd.8 q0, q130@CHECK-ERROR: ^31 32@CHECK-ERROR: error: instruction requires: sha233@CHECK-ERROR: sha1c.32 q0, q1, q234@CHECK-ERROR: ^35