93 lines · plain
1# REQUIRES: arm-registered-target2# RUN: not %clang -c -target arm-none-none-eabi -march=armv8-m.main -o /dev/null %s 2>%t3# RUN: FileCheck --check-prefix=ERROR-V8M < %t %s4# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main -o /dev/null %s 2>%t5# RUN: FileCheck --check-prefix=ERROR-V81M < %t %s6# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main+dsp -o /dev/null %s 2>%t7# RUN: FileCheck --check-prefix=ERROR-V81M_DSP < %t %s8# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main+fp -o /dev/null %s 2>%t9# RUN: FileCheck --check-prefix=ERROR-V81M_FP < %t %s10# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main+nofp -o /dev/null %s 2>%t11# RUN: FileCheck --check-prefix=ERROR-V81M_NOFP < %t %s12# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main+fp.dp -o /dev/null %s 2>%t13# RUN: FileCheck --check-prefix=ERROR-V81M_FPDP < %t %s14# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main+nofp.dp -o /dev/null %s 2>%t15# RUN: FileCheck --check-prefix=ERROR-V81M_NOFPDP < %t %s16# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main+mve -o /dev/null %s 2>%t17# RUN: FileCheck --check-prefix=ERROR-V81M_MVE < %t %s18# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main+nomve -o /dev/null %s 2>%t19# RUN: FileCheck --check-prefix=ERROR-V81M_NOMVE < %t %s20# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main+mve+fp -o /dev/null %s 2>%t21# RUN: FileCheck --check-prefix=ERROR-V81M_MVE_FP < %t %s22# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main+mve.fp -o /dev/null %s 2>%t23# RUN: FileCheck --check-prefix=ERROR-V81M_MVEFP < %t %s24# RUN: not %clang -c -target arm-none-none-eabi -march=armv8.1-m.main+nomve.fp -o /dev/null %s 2>%t25# RUN: FileCheck --check-prefix=ERROR-V81M_NOMVEFP < %t %s26 27.syntax unified28.thumb29.text30 31csinc r0, r1, r2, eq32# ERROR-V8M: :[[@LINE-1]]:1: error33 34qadd r0, r1, r235# ERROR-V8M: :[[@LINE-1]]:1: error36# ERROR-V81M: :[[@LINE-2]]:1: error37# ERROR-V81M_FP: :[[@LINE-3]]:1: error38# ERROR-V81M_NOFP: :[[@LINE-4]]:1: error39# ERROR-V81M_FPDP: :[[@LINE-5]]:1: error40# ERROR-V81M_NOFPDP: :[[@LINE-6]]:1: error41# ERROR-V81M_NOMVE: :[[@LINE-7]]:1: error42# ERROR-V81M_NOMVEFP: :[[@LINE-8]]:1: error43 44vadd.f16 s0, s1, s245# ERROR-V8M: :[[@LINE-1]]:1: error46# ERROR-V81M_NOFP: :[[@LINE-2]]:1: error47 48vabs.f32 s0, s149# ERROR-V81M_NOFP: :[[@LINE-1]]:1: error50 51vabs.s32 q0, q152# ERROR-V8M: :[[@LINE-1]]:1: error53# ERROR-V81M: :[[@LINE-2]]:1: error54# ERROR-V81M_DSP: :[[@LINE-3]]:1: error55# ERROR-V81M_FP: :[[@LINE-4]]:1: error56# ERROR-V81M_NOFP: :[[@LINE-5]]:1: error57# ERROR-V81M_FPDP: :[[@LINE-6]]:1: error58# ERROR-V81M_NOFPDP: :[[@LINE-7]]:1: error59# ERROR-V81M_NOMVE: :[[@LINE-8]]:1: error60# ERROR-V81M_NOMVEFP: :[[@LINE-9]]:1: error61 62vcmp.f64 d0,d163# ERROR-V81M: :[[@LINE-1]]:1: error64# ERROR-V81M_DSP: :[[@LINE-2]]:1: error65# ERROR-V81M_FP: :[[@LINE-3]]:1: error66# ERROR-V81M_NOFP: :[[@LINE-4]]:1: error67# ERROR-V81M_NOFPDP: :[[@LINE-5]]:1: error68# ERROR-V81M_MVE: :[[@LINE-6]]:1: error69# ERROR-V81M_NOMVE: :[[@LINE-7]]:1: error70# ERROR-V81M_MVE_FP: :[[@LINE-8]]:1: error71# ERROR-V81M_MVEFP: :[[@LINE-9]]:1: error72# ERROR-V81M_NOMVEFP: :[[@LINE-10]]:1: error73 74asrl r0, r1, r275# ERROR-V8M: :[[@LINE-1]]:1: error76# ERROR-V81M: :[[@LINE-2]]:1: error77# ERROR-V81M_DSP: :[[@LINE-3]]:1: error78# ERROR-V81M_FP: :[[@LINE-4]]:1: error79# ERROR-V81M_FPDP: :[[@LINE-5]]:1: error80# ERROR-V81M_NOFPDP: :[[@LINE-6]]:1: error81# ERROR-V81M_NOMVE: :[[@LINE-7]]:1: error82# ERROR-V81M_NOMVEFP: :[[@LINE-8]]:1: error83 84vcadd.i8 q0, q1, q2, #9085# ERROR-V8M: :[[@LINE-1]]:1: error86# ERROR-V81M: :[[@LINE-2]]:1: error87# ERROR-V81M_DSP: :[[@LINE-3]]:1: error88# ERROR-V81M_FP: :[[@LINE-4]]:1: error89# ERROR-V81M_FPDP: :[[@LINE-5]]:1: error90# ERROR-V81M_NOFPDP: :[[@LINE-6]]:1: error91# ERROR-V81M_NOMVE: :[[@LINE-7]]:1: error92# ERROR-V81M_NOMVEFP: :[[@LINE-8]]:1: error93